crash [@ nsXPLookAndFeel::GetColor(nsILookAndFeel::nsColorID, unsigned int&)]

RESOLVED WORKSFORME

Status

()

Core
Widget
--
critical
RESOLVED WORKSFORME
8 years ago
3 years ago

People

(Reporter: wsmwk, Unassigned)

Tracking

({crash})

Trunk
x86
All
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

8 years ago
crash [@ nsXPLookAndFeel::GetColor(nsILookAndFeel::nsColorID, unsigned int&)]
Mac and windows, but 90% Mac. I didn't check thoroughly, but windows crash may be a different stack

reported by bp-282d74df-56f5-40a1-8d8a-c35662101115 (brian) Mac v3.1.6 in http://getsatisfaction.com/mozilla_messaging/topics/tb_constantly_crashing_after_hard_drive_upgrade?utm_content=topic_link&utm_medium=email&utm_source=reply_notification

bp-e6925270-4793-48e8-9e87-9ec002101108 Mac v3.1.6
EXC_BAD_ACCESS / 0x0000000d
0x0
0	thunderbird-bin	nsXPLookAndFeel::GetColor	widget/src/xpwidgets/nsXPLookAndFeel.cpp:646
1		@0x1ae8629f	
2	thunderbird-bin	nsIFrame::BuildDisplayListForChild	layout/generic/nsFrame.cpp:1545
3	thunderbird-bin	nsContainerFrame::BuildDisplayListForNonBlockChildren	layout/generic/nsContainerFrame.cpp:391
4	thunderbird-bin	nsHTMLContainerFrame::DisplayTextDecorationsAndChildren	layout/generic/nsHTMLContainerFrame.cpp:378
5	thunderbird-bin	nsInlineFrame::BuildDisplayList	layout/generic/nsInlineFrame.cpp:200
6	thunderbird-bin	nsIFrame::BuildDisplayListForChild	layout/generic/nsFrame.cpp:1503
7	thunderbird-bin	DisplayLine	layout/generic/nsBlockFrame.cpp:6193
8	thunderbird-bin	nsBlockFrame::BuildDisplayList	layout/generic/nsBlockFrame.cpp:6273
9	thunderbird-bin	nsIFrame::BuildDisplayListForChild	layout/generic/nsFrame.cpp:1503
10	thunderbird-bin	nsTableCellFrame::BuildDisplayList	layout/tables/nsTableCellFrame.cpp:518
11	thunderbird-bin	nsIFrame::BuildDisplayListForChild	layout/generic/nsFrame.cpp:1503
12	thunderbird-bin	nsTableFrame::GenericTraversal	layout/tables/nsTableFrame.cpp:1255
13	thunderbird-bin	nsTableFrame::DisplayGenericTablePart	layout/tables/nsTableFrame.cpp:1315
14	thunderbird-bin	nsTableRowFrame::BuildDisplayList	layout/tables/nsTableRowFrame.cpp:626 

bp-50642b70-93cb-455a-b9da-d8cb42101106
every time I touch an email, it crashes -- I have re-set the preferences and deleted the plist but it still crashes since your last update

bp-fd3d5abb-b64a-4812-8e33-9f51e2101026 v3.1.5 windows
(Reporter)

Comment 1

8 years ago
firefox trunk crash, last seen in v4.0b6
bp-92c6c52f-30f7-469f-a02c-c4e192101002
Component: General → Widget
Product: Thunderbird → Core
QA Contact: general → general

Comment 2

8 years ago
81 #define CACHE_COLOR(x, y)  nsXPLookAndFeel::sCachedColors[(x)] = y; \
82               nsXPLookAndFeel::sCachedColorBits[CACHE_BLOCK(x)] |= CACHE_BIT(x);

513 nsXPLookAndFeel::GetColor(const nsColorID aID, nscolor &aColor)
515   if (!sInitialized)
516     Init();

646     CACHE_COLOR(aID, aColor);

437 nsXPLookAndFeel::Init()
438 {
439   // Say we're already initialized, and take the chance that it might fail;
440   // protects against some other process writing to our static variables.
441   sInitialized = PR_TRUE;

The first one had:
Processor Notes 	This dump is too long and has triggered the automatic truncation routine

But the one from comment 1 doesn't seem to be that. It also *isn't* a null pointer crash:

UUID	92c6c52f-30f7-469f-a02c-c4e192101002
Crash Reason	EXCEPTION_ACCESS_VIOLATION_READ
Crash Address	0x6ff7e3f4
(Assignee)

Updated

7 years ago
Crash Signature: [@ nsXPLookAndFeel::GetColor(nsILookAndFeel::nsColorID, unsigned int&)]
(Reporter)

Comment 3

5 years ago
most Thunderbird bp-24f2b838-4c41-4c01-8122-b10db2130504 are still long stacks.  Has it gone off the rails?
Processor Notes 	sp-processor08.phx1.mozilla.com_28140:2012; MDSW emitted too many frames, triggering truncation
0	xul.dll	nsXPLookAndFeel::GetColorImpl	widget/xpwidgets/nsXPLookAndFeel.cpp:620
1	xul.dll	mozilla::LookAndFeel::GetColor	widget/xpwidgets/nsXPLookAndFeel.cpp:696
2	xul.dll	SetColor	layout/style/nsRuleNode.cpp:749
3	xul.dll	nsRuleNode::ComputeBorderData	layout/style/nsRuleNode.cpp:5951
4	xul.dll	nsRuleNode::WalkRuleTree	layout/style/nsStyleStructList.h:112
5	xul.dll	nsRuleNode::GetStyleBorder	layout/style/nsStyleStructList.h:112
6	xul.dll	nsStyleContext::DoGetStyleBorder	layout/style/nsStyleStructList.h:112
7	xul.dll	nsStyleContext::CalcStyleDifference	layout/style/nsStyleContext.cpp:447
8	xul.dll	CaptureChange	layout/base/nsFrameManager.cpp:980
9	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1300
10	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
11	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
12	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
13	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
14	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
15	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
16	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
17	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
18	xul.dll	nsFrameManager::ReResolveStyleContext	layout/base/nsFrameManager.cpp:1595
19	xul.dll	nsFrameManager::ComputeStyleChangeFor	layout/base/nsFrameManager.cpp:1686
20	xul.dll	nsCSSFrameConstructor::RestyleElement	layout/base/nsCSSFrameConstructor.cpp:8225
21	xul.dll	mozilla::css::RestyleTracker::ProcessOneRestyle	layout/base/RestyleTracker.cpp:124
22	xul.dll	mozilla::css::RestyleTracker::DoProcessRestyles	layout/base/RestyleTracker.cpp:209
23	xul.dll	nsCSSFrameConstructor::ProcessPendingRestyles	layout/base/nsCSSFrameConstructor.cpp:12067
24	xul.dll	PresShell::FlushPendingNotifications	layout/base/nsPresShell.cpp:3864
25	xul.dll	nsDocument::FlushPendingNotifications	content/base/src/nsDocument.cpp:6381
26	xul.dll	nsFocusManager::CheckIfFocusable	dom/base/nsFocusManager.cpp:1453
27	xul.dll	nsFocusManager::Focus	dom/base/nsFocusManager.cpp:1781
28	xul.dll	nsFocusManager::WindowRaised	dom/base/nsFocusManager.cpp:739
29	xul.dll	nsWebShellWindow::WindowActivated	xpfe/appshell/src/nsWebShellWindow.cpp:398
30	xul.dll	nsWindow::DispatchFocusToTopLevelWindow	widget/windows/nsWindow.cpp:4032
31	xul.dll	nsWindow::ProcessMessage	widget/windows/nsWindow.cpp:5075
32	xul.dll	nsWindow::WindowProcInternal	widget/windows/nsWindow.cpp:4336
33	xul.dll	CallWindowProcCrashProtected	xpcom/base/nsCrashOnException.cpp:32
34	xul.dll	nsWindow::WindowProc	widget/windows/nsWindow.cpp:4278
35	user32.dll	InternalCallWinProc	
36	user32.dll	UserCallWinProcCheckWow	
37	user32.dll	DispatchClientMessage	
...
52	user32.dll	UserCallWinProcCheckWow	
53	user32.dll	DispatchClientMessage	
54	user32.dll	__fnDWORD	
55	ntdll.dll	KiUserCallbackDispatcher	
56	xul.dll	nsTArray<mozilla::widget::WindowHook::MessageData,nsTArrayDefaultAllocator>::Des	objdir-tb/mozilla/dist/include/nsTArray.h:1227
57	user32.dll	TestWindowProcess	
58	xul.dll	nsXULWindow::Destroy	xpfe/appshell/src/nsXULWindow.cpp:512
59	xul.dll	nsWebShellWindow::Destroy	xpfe/appshell/src/nsWebShellWindow.cpp:751
60	xul.dll	nsChromeTreeOwner::Destroy	xpfe/appshell/src/nsChromeTreeOwner.cpp:350
61	xul.dll	nsMsgCompose::CloseWindow	mailnews/compose/src/nsMsgCompose.cpp:1524
62	xul.dll	nsMsgComposeSendListener::OnStopCopy	mailnews/compose/src/nsMsgCompose.cpp:3772 


bp-3a1991d3-18cf-419a-a8b0-4bd352130531 Thunderbird has just a tiny stack. but it's also startup. And most of the Firefox crashes are small stacks. Like startup bp-1b889c1d-7ac5-4165-a2bf-581fa2130522
0		@0xfe3d7683	
1	xul.dll	nsXPLookAndFeel::GetColorImpl	widget/xpwidgets/nsXPLookAndFeel.cpp:606
2	xul.dll	mozilla::LookAndFeel::GetColor	obj-firefox/dist/include/mozilla/LookAndFeel.h:462
3	xul.dll	nsDocShell::QueryInterface	docshell/base/nsDocShell.cpp:918
4	xul.dll	nsSupportsWeakReference::GetWeakReference	obj-firefox/xpcom/build/nsWeakReference.cpp:106
5	xul.dll	nsPresContext::SetContainer	layout/base/nsPresContext.cpp:1443
6	xul.dll	nsDocumentViewer::Init	layout/base/nsDocumentViewer.cpp:685
7	xul.dll	nsDocShell::SetupNewViewer	docshell/base/nsDocShell.cpp:8135
8	xul.dll	nsDocShell::Embed	docshell/base/nsDocShell.cpp:6192
9	xul.dll	nsDocShell::CreateAboutBlankContentViewer	docshell/base/nsDocShell.cpp:6930
10	xul.dll	nsDocShell::CreateAboutBlankContentViewer	docshell/base/nsDocShell.cpp:6948 

masayuki@78132 606  if (sUseNativeColors && NS_SUCCEEDED(NativeGetColor(aID, aResult))) {

Updated

3 years ago
Crash Signature: [@ nsXPLookAndFeel::GetColor(nsILookAndFeel::nsColorID, unsigned int&)] → [@ nsXPLookAndFeel::GetColor(nsILookAndFeel::nsColorID, unsigned int&)] [@ nsXPLookAndFeel::GetColor]
(Reporter)

Comment 4

3 years ago
zero examples  in the past 3 week for any version
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.