startup crash [@ GetNormalLineHeight]

RESOLVED WORKSFORME

Status

()

Core
Graphics
--
critical
RESOLVED WORKSFORME
7 years ago
6 years ago

People

(Reporter: wsmwk, Unassigned)

Tracking

({crash, qawanted})

1.9.2 Branch
x86
Windows Vista
crash, qawanted
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [tbird crash][gs][gssolved], crash signature, URL)

(Reporter)

Description

7 years ago
crash [@ GetNormalLineHeight]
top100 thunderbird v3.1.4 crash 

~80% look to be startup crashes. oddly, all the ones I checked list the extensions installed, which is unexpected. like the two below

bp-3a1c6a4d-1880-47f0-a1e8-62d2e2101001 (ron)
0	thunderbird.exe	GetNormalLineHeight	 layout/generic/nsHTMLReflowState.cpp:2072
1	thunderbird.exe	ComputeLineHeight	layout/generic/nsHTMLReflowState.cpp:2122
2	thunderbird.exe	nsHTMLReflowState::CalcLineHeight	layout/generic/nsHTMLReflowState.cpp:2132
3	thunderbird.exe	nsBlockReflowState::nsBlockReflowState	layout/generic/nsBlockReflowState.cpp:142
4	thunderbird.exe	nsBlockFrame::Reflow	layout/generic/nsBlockFrame.cpp:949
5	thunderbird.exe	nsContainerFrame::ReflowChild	layout/generic/nsContainerFrame.cpp:800
6	thunderbird.exe	CanvasFrame::Reflow	layout/generic/nsHTMLFrame.cpp:549
7	thunderbird.exe	nsContainerFrame::ReflowChild	layout/generic/nsContainerFrame.cpp:800
8	thunderbird.exe	nsHTMLScrollFrame::ReflowScrolledFrame	layout/generic/nsGfxScrollFrame.cpp:545
9	thunderbird.exe	nsHTMLScrollFrame::ReflowContents
10	thunderbird.exe	nsHTMLScrollFrame::Reflow
11	thunderbird.exe	nsContainerFrame::ReflowChild
12	thunderbird.exe	ViewportFrame::Reflow	layout/generic/nsViewportFrame.cpp:284 

bp-495601a8-2392-4926-93bd-c70c92101012 (sjgraphicts)
(Reporter)

Comment 1

7 years ago
also firefox crashes, again, high percentage of startup crashes, no correlations - https://crash-stats.mozilla.com/report/list?product=Firefox&build_id=&query_search=signature&query_type=exact&query=GetNormalLineHeight&date=10/14/2010%2014:44:10&range_value=4&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&signature=GetNormalLineHeight&missing_sig=&page=1 - like startup crash bp-e7f981a7-ab8c-4bfa-ab36-93dba2100926

however, this non-startup firefox crash has a different stack
bp-270c02ac-85db-4c34-95c3-be81a2101010

Frame	Module	Signature [Expand]	Source
0	xul.dll	GetNormalLineHeight	layout/generic/nsHTMLReflowState.cpp:2085
1	xul.dll	mozilla::layers::BasicThebesLayer::Paint	gfx/layers/basic/BasicLayers.cpp:428
2	xul.dll	mozilla::layers::BasicLayerManager::PaintLayer	gfx/layers/basic/BasicLayers.cpp:1069
3	xul.dll	mozilla::layers::BasicLayerManager::PaintLayer	gfx/layers/basic/BasicLayers.cpp:1077
4	xul.dll	mozilla::layers::BasicLayerManager::PaintLayer	gfx/layers/basic/BasicLayers.cpp:1077
5	xul.dll	mozilla::layers::BasicLayerManager::EndTransaction	gfx/layers/basic/BasicLayers.cpp:977
6	xul.dll	nsDisplayList::PaintForFrame	layout/base/nsDisplayList.cpp:410
7	xul.dll	nsLayoutUtils::PaintFrame	layout/base/nsLayoutUtils.cpp:1409
8	xul.dll	PresShell::Paint	layout/base/nsPresShell.cpp:5934
9	xul.dll	nsViewManager::RenderViews	view/src/nsViewManager.cpp:459
10	xul.dll	nsViewManager::Refresh	view/src/nsViewManager.cpp:425
Component: General → General
Product: Thunderbird → Core
QA Contact: general → general
Version: 3.1 → Trunk
(Reporter)

Updated

7 years ago
Component: General → Layout: Text
QA Contact: general → layout.fonts-and-text
(Reporter)

Comment 2

7 years ago
most crashes are startup and the people who see this are STUCK with repeated crashes. I PMed 5 people who crashed in the past couple months, but no response yet. no Correlations listed.

bp-49017940-ee9f-40f1-b50d-f60c72110415
uptime 3.6 weeks
EXCEPTION_ACCESS_VIOLATION_READ
0x0
0	thunderbird.exe	GetNormalLineHeight	layout/generic/nsHTMLReflowState.cpp:2072
1	thunderbird.exe	ComputeLineHeight	layout/generic/nsHTMLReflowState.cpp:2122
2	thunderbird.exe	nsHTMLReflowState::CalcLineHeight	layout/generic/nsHTMLReflowState.cpp:2132
3	thunderbird.exe	nsBlockReflowState::nsBlockReflowState	layout/generic/nsBlockReflowState.cpp:142
4	thunderbird.exe	nsBlockFrame::Reflow	layout/generic/nsBlockFrame.cpp:949
5	thunderbird.exe	nsFrame::BoxReflow	layout/generic/nsFrame.cpp:6587
6	thunderbird.exe	nsFrame::RefreshSizeCache	layout/generic/nsFrame.cpp:6179
7	thunderbird.exe	nsFrame::GetPrefSize	layout/generic/nsFrame.cpp:6263
8	thunderbird.exe	nsSprocketLayout::GetPrefSize	layout/xul/base/src/nsSprocketLayout.cpp:1366
9	thunderbird.exe	nsBoxFrame::GetPrefSize	layout/xul/base/src/nsBoxFrame.cpp:809
10	thunderbird.exe	nsSprocketLayout::GetPrefSize	layout/xul/base/src/nsSprocketLayout.cpp:1366
11	thunderbird.exe	nsBoxFrame::GetPrefSize	layout/xul/base/src/nsBoxFrame.cpp:809
12	thunderbird.exe	nsStackLayout::GetPrefSize	layout/xul/base/src/nsStackLayout.cpp:95
13	thunderbird.exe	nsBoxFrame::GetPrefSize	layout/xul/base/src/nsBoxFrame.cpp:809
14	thunderbird.exe	nsSprocketLayout::PopulateBoxSizes	layout/xul/base/src/nsSprocketLayout.cpp:783
15	thunderbird.exe	nsSprocketLayout::Layout	layout/xul/base/src/nsSprocketLayout.cpp:247
16	thunderbird.exe	nsBoxFrame::DoLayout	layout/xul/base/src/nsBoxFrame.cpp:939
17	thunderbird.exe	nsIFrame::Layout	layout/xul/base/src/nsBox.cpp:543
18	thunderbird.exe	nsStackLayout::Layout	layout/xul/base/src/nsStackLayout.cpp:295
19	thunderbird.exe	nsBoxFrame::DoLayout	layout/xul/base/src/nsBoxFrame.cpp:939
20	thunderbird.exe	nsIFrame::Layout	layout/xul/base/src/nsBox.cpp:543
21	thunderbird.exe	nsBoxFrame::Reflow	layout/xul/base/src/nsBoxFrame.cpp:749
22	thunderbird.exe	nsContainerFrame::ReflowChild	layout/generic/nsContainerFrame.cpp:800
23	thunderbird.exe	ViewportFrame::Reflow	layout/generic/nsViewportFrame.cpp:284
24	thunderbird.exe	PresShell::DoReflow	layout/base/nsPresShell.cpp:7296
25	thunderbird.exe	PresShell::ProcessReflowCommands	layout/base/nsPresShell.cpp:7432
26	thunderbird.exe	PresShell::FlushPendingNotifications	layout/base/nsPresShell.cpp:4910
27	thunderbird.exe	nsDocument::FlushPendingNotifications	content/base/src/nsDocument.cpp:6392
28	thunderbird.exe	nsDocLoader::DocLoaderIsEmpty	uriloader/base/nsDocLoader.cpp:756
29	thunderbird.exe	nsDocLoader::OnStopRequest	uriloader/base/nsDocLoader.cpp:697
30	thunderbird.exe	nsLoadGroup::RemoveRequest	netwerk/base/src/nsLoadGroup.cpp:680
31	thunderbird.exe	nsDocument::DoUnblockOnload	content/base/src/nsDocument.cpp:7175
32	thunderbird.exe	nsDocument::UnblockOnload	content/base/src/nsDocument.cpp:7117
33	thunderbird.exe	nsBindingManager::DoProcessAttachedQueue	content/xbl/src/nsBindingManager.cpp:995 


For firefox this crash virtually stopped in the v3.6.x releases (perhaps with 3.6) and so it might be helpful to identify what fixed this for firefox, but I'm not finding a FIXED bug which describes it.
Keywords: qawanted
Summary: crash [@ GetNormalLineHeight] → startup crash [@ GetNormalLineHeight]
(Reporter)

Comment 3

7 years ago
c/with repeated crashes/with repeated STARTUP crashes/ ...

so a workaround is needed for these users.
(Reporter)

Updated

7 years ago
Whiteboard: [tbird crash] → [tbird crash][gs]
(Reporter)

Updated

7 years ago

Comment 4

7 years ago
the precondition is failing...
If the precondition is failing, then nsDeviceContext::GetMetricsFor is returning NULL, and by code inspection, that can only happen if on the very first call to GetMetricsFor, both calls to nsFontMetrics::Init fail; the only way nsFontMetrics::Init fails is if CreateFontGroup returns an empty font group, which is never supposed to happen.  Moving to gfx, ccing the font people.
Component: Layout: Text → Graphics
QA Contact: layout.fonts-and-text → thebes
(Reporter)

Comment 6

7 years ago
(In reply to comment #5)
>=the only way nsFontMetrics::Init fails is if CreateFontGroup returns an empty font
> group, which is never supposed to happen.  Moving to gfx, ccing the font  people.

jdaggett, Is there something a user who is seeing this problem can try?

Comment 7

7 years ago
I encountered this problem 3 weeks ago, and still no concrete suggestions.   I use Bitstream Font Navigator to add or remove installed fonts from the catalog. For what it is worth, there were two fonts in the catalog that throw an error condition when trying to view them. The error is 'ATM ERROR -1' the fonts are AdobeSanMM and AdobeSerMM.  I've deleted them from the font cagtalog, but still no change in crash condition.  What constitutes a 'font group' and how can I find/remove?
(Reporter)

Comment 8

7 years ago
glen is the only one from crash-stats reports who can reproduce.
(Assignee)

Updated

7 years ago
Crash Signature: [@ GetNormalLineHeight]
(Reporter)

Comment 9

6 years ago
There are currently no crashes for this with version 5 or newer. 
If future testing reproduces this on a current version of thunderbird then we can reopen
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
Whiteboard: [tbird crash][gs] → [tbird crash][gs][gssolved]
Version: Trunk → 1.9.2 Branch
You need to log in before you can comment on or make changes to this bug.