Closed Bug 466021 Opened 13 years ago Closed 13 years ago

top crash [@ nsStyleSet::AddImportantRules(nsRuleNode*, nsRuleNode*) ]

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 466024

People

(Reporter: samuel.sidler+old, Unassigned)

Details

(Keywords: crash, topcrash)

Crash Data

We currently have a topcrash (#12, previously #8 in 3.0.3) that's happening at nsStyleSet::AddImportantRules(nsRuleNode*, nsRuleNode*). It's been around for at least two release builds and is continuing. It's *not* a stack overflow (like bug 439184).

Sample stack from bp-e3122327-75bc-42e5-bbd4-b3ca20081119:

Frame  	Module  	Signature [Expand]  	Source
0 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:439
1 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
2 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
3 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
4 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
5 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
6 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
7 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
8 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
9 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
10 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
11 	xul.dll 	nsStyleSet::AddImportantRules 	mozilla/layout/style/nsStyleSet.cpp:434
12 	xul.dll 	nsStyleSet::FileRules 	mozilla/layout/style/nsStyleSet.cpp:544
13 	xul.dll 	nsStyleSet::ResolveStyleFor 	mozilla/layout/style/nsStyleSet.cpp:654
14 	xul.dll 	nsElementSH::PostCreate 	mozilla/dom/src/base/nsDOMClassInfo.cpp:7205
15 	xul.dll 	XPCWrappedNative::GetNewOrUsed 	mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:546
16 	xul.dll 	XPCConvert::NativeInterface2JSObject 	mozilla/js/src/xpconnect/src/xpcconvert.cpp:1106
17 	xul.dll 	XPCConvert::NativeData2JS 	mozilla/js/src/xpconnect/src/xpcconvert.cpp:481
18 	xul.dll 	XPCWrappedNative::CallMethod 	mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:2481
19 	xul.dll 	XPC_WN_CallMethod 	mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1473
20 	js3250.dll 	js_Invoke 	mozilla/js/src/jsinterp.c:1297
21 	js3250.dll 	js_Interpret 	mozilla/js/src/jsinterp.c:4857
22 	js3250.dll 	js_Invoke 	mozilla/js/src/jsinterp.c:1313
23 	xul.dll 	nsXPCWrappedJSClass::CallMethod 	mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1523
24 	xul.dll 	nsXPCWrappedJS::CallMethod 	mozilla/js/src/xpconnect/src/xpcwrappedjs.cpp:559
25 	xul.dll 	PrepareAndDispatch 	mozilla/xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:114
26 	xul.dll 	SharedStub 	mozilla/xpcom/reflect/xptcall/src/md/win32/xptcstubs.cpp:141
27 	xul.dll 	nsBrowserStatusFilter::OnLocationChange 	mozilla/xpfe/browser/src/nsBrowserStatusFilter.cpp:231
28 	xul.dll 	nsDocLoader::FireOnLocationChange 	mozilla/uriloader/base/nsDocLoader.cpp:1278

--

Comments appear to be random and useless. The crash repeats nsStyleSet::AddImportantRules(nsRuleNode*,nsRuleNode*) fairly consistently at the top for an undefined amount of times then moves to:

11  	xul.dll  	nsStyleSet::AddImportantRules(nsRuleNode*,nsRuleNode*)  	 mozilla/layout/style/nsStyleSet.cpp:434
12 	xul.dll 	nsStyleSet::FileRules(int (*)(nsIStyleRuleProcessor*,void*),RuleProcessorData*) 	mozilla/layout/style/nsStyleSet.cpp:544
13 	xul.dll 	nsStyleSet::ResolveStyleFor(nsIContent*,nsStyleContext*) 	mozilla/layout/style/nsStyleSet.cpp:654
14 	xul.dll 	nsElementSH::PostCreate(nsIXPConnectWrappedNative*,JSContext*,JSObject*) 	mozilla/dom/src/base/nsDOMClassInfo.cpp:7205
15 	xul.dll 	XPCWrappedNative::GetNewOrUsed(XPCCallContext&,nsISupports*,XPCWrappedNativeScope*,XPCNativeInterface*,int,XPCWrappedNative**) 	mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:546
16 	xul.dll 	XPCConvert::NativeInterface2JSObject(XPCCallContext&,nsIXPConnectJSObjectHolder**,nsISupports*,nsID const*,JSObject*,int,int,unsigned int*) 	mozilla/js/src/xpconnect/src/xpcconvert.cpp:1106
17 	xul.dll 	XPCConvert::NativeData2JS(XPCCallContext&,long*,void const*,nsXPTType const&,nsID const*,JSObject*,unsigned int*) 	mozilla/js/src/xpconnect/src/xpcconvert.cpp:481
18 	xul.dll 	XPCWrappedNative::CallMethod(XPCCallContext&,XPCWrappedNative::CallMode) 	mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:2481
19 	xul.dll 	XPC_WN_CallMethod(JSContext*,JSObject*,unsigned int,long*,long*) 	mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1473

Those lines tend to repeat for most stacks.
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.6?
Hmmm.  You beat me by 15 minutes, but I'm actually going to forward-dupe because the crash-stacks at the top add a huge amount of visual noise to this bug, and because I just added references to my bug from two other bugs before I saw the bugmail from this one.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 466024
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.6?
Crash Signature: [@ nsStyleSet::AddImportantRules(nsRuleNode*, nsRuleNode*) ]
You need to log in before you can comment on or make changes to this bug.