Closed Bug 670756 Opened 13 years ago Closed 7 years ago

Firefox 8.0a1 Crash [@ nsCOMPtr_base::~nsCOMPtr_base() | nsCycleCollectingAutoRefCnt::decr(nsISupports*) ]

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: marcia, Unassigned)

Details

(Keywords: crash, regression)

Crash Data

Seen while looking at https://crash-analysis.mozilla.com/chofmann/20110710/top-8.0a1.html. https://crash-stats.mozilla.com/report/list?signature=nsCOMPtr_base::~nsCOMPtr_base%28%29%20|%20nsCycleCollectingAutoRefCnt::decr%28nsISupports*%29 links to the crashes which are all Windows. Crashes started showing up using the 20110708 build.

Possible pushlog regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b2622d5c857a&tochange=5479a346b95b

https://crash-stats.mozilla.com/report/index/d0f7e695-ea95-45a3-b44c-37d792110710

Frame 	Module 	Signature [Expand] 	Source
0 	xul.dll 	nsCOMPtr_base::~nsCOMPtr_base 	obj-firefox/dist/include/nsAutoPtr.h:969
1 	xul.dll 	nsCycleCollectingAutoRefCnt::decr 	obj-firefox/dist/include/nsISupportsImpl.h:211
2 	xul.dll 	nsJARInputThunk::~nsJARInputThunk 	modules/libjar/nsJARChannel.cpp:112
3 	xul.dll 	nsJARInputThunk::`scalar deleting destructor' 	
4 	xul.dll 	nsHTTPCompressConv::Release 	intl/locale/src/nsLocaleService.cpp:290
5 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
6 	xul.dll 	nsJARChannel::~nsJARChannel 	modules/libjar/nsJARChannel.cpp:241
7 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
8 	xul.dll 	nsJARChannel::`scalar deleting destructor' 	
9 	xul.dll 	nsJARChannel::Release 	modules/libjar/nsJARChannel.cpp:255
10 	xul.dll 	nsCOMPtr_base::~nsCOMPtr_base 	obj-firefox/dist/include/nsAutoPtr.h:969
11 	xul.dll 	nsDocument::~nsDocument 	content/base/src/nsDocument.cpp:1681
12 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
13 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
14 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
15 	xul.dll 	nsTArray_base<nsTArrayDefaultAllocator>::ShiftData 	obj-firefox/dist/include/nsTArray-inl.h:169
16 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
17 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
18 	xul.dll 	nsINode::nsSlots::~nsSlots 	content/base/src/nsGenericElement.cpp:173
19 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
20 	xul.dll 	AbortIfOffMainThreadIfCheckFast 	xpcom/base/nsCycleCollector.cpp:1225
21 	xul.dll 	nsIDocument::DeleteAllProperties 	content/base/src/nsDocument.cpp:2026
22 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
23 	xul.dll 	nsOnloadBlocker::QueryInterface 	content/base/src/nsDocument.cpp:606
24 	xul.dll 	xul.dll@0x13811f 	
25 	xul.dll 	nsXMLDocument::`scalar deleting destructor' 	
26 	xul.dll 	nsXMLDocument::Release 	content/xml/document/src/nsXMLDocument.cpp:249
27 	xul.dll 	nsCycleCollector::CollectWhite 	xpcom/base/nsCycleCollector.cpp:1984
28 	xul.dll 	nsCycleCollector::FinishCollection 	xpcom/base/nsCycleCollector.cpp:2797
29 	xul.dll 	nsCycleCollector::Collect 	xpcom/base/nsCycleCollector.cpp:2637
30 	msvcrt.dll 	wcstolX 	
31 	msvcrt.dll 	woutput_l 	
32 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
33 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
34 	mozcrt19.dll 	arena_malloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:3783
35 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
36 	mozcrt19.dll 	arena_ralloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4466
37 	xul.dll 	nsIFrame::BuildDisplayListForChild 	layout/generic/nsFrame.cpp:1694
38 	mozcrt19.dll 	realloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:6145
39 	xul.dll 	JSC::X86Assembler::movq_mr 	js/src/assembler/assembler/X86Assembler.h:1554
40 	xul.dll 	JSC::X86Assembler::xorq_rr 	js/src/assembler/assembler/X86Assembler.h:865
41 	xul.dll 	js::mjit::PunboxAssembler::loadValueAsComponents<JSC::AbstractMacroAssembler<JSC::X86Assembler>::Address> 	js/src/methodjit/PunboxAssembler.h:124
42 	xul.dll 	JSC::X86Assembler::movq_i32m 	js/src/assembler/assembler/X86Assembler.h:1584
43 	xul.dll 	JSC::MacroAssemblerX86_64::call 	js/src/assembler/assembler/MacroAssemblerX86_64.h:128
44 	xul.dll 	JSC::X86Assembler::movq_i32m 	js/src/assembler/assembler/X86Assembler.h:1584
45 	xul.dll 	js::mjit::Assembler::callWithABI 	js/src/methodjit/BaseAssembler.h:542
46 	xul.dll 	JSC::MacroAssemblerX86_64::storePtrWithPatch 	js/src/assembler/assembler/MacroAssemblerX86_64.h:511
47 	xul.dll 	js::mjit::StubCompiler::emitStubCall 	js/src/methodjit/StubCompiler.cpp:182
48 	xul.dll 	js::mjit::InlineFrameAssembler::assemble 	js/src/methodjit/InlineFrameAssembler.h:124
49 	xul.dll 	JSC::X86Assembler::linkJump 	js/src/assembler/assembler/X86Assembler.h:2348
50 	xul.dll 	JSC::MacroAssemblerX86Common::jump 	js/src/assembler/assembler/MacroAssemblerX86Common.h:994
51 	xul.dll 	js::mjit::Compiler::inlineCallHelper 	js/src/methodjit/Compiler.cpp:2824
52 	xul.dll 	JSC::X86Assembler::movq_i32m 	js/src/assembler/assembler/X86Assembler.h:1584
53 	xul.dll 	JSC::MacroAssemblerX86_64::call 	js/src/assembler/assembler/MacroAssemblerX86_64.h:128
54 	xul.dll 	js::mjit::Assembler::callWithABI 	js/src/methodjit/BaseAssembler.h:542
55 	xul.dll 	JS_FrameIterator 	js/src/jsdbgapi.cpp:1429
56 	xul.dll 	xul.dll@0x533d2f 	
57 	xul.dll 	xul.dll@0x533d2f 	
58 	xul.dll 	js::mjit::StubCompiler::emitStubCall 	js/src/methodjit/StubCompiler.cpp:182
59 	xul.dll 	nsScriptSecurityManager::CheckPropertyAccessImpl 	caps/src/nsScriptSecurityManager.cpp:998
60 	xul.dll 	js::mjit::Compiler::emitFinalReturn 	js/src/methodjit/Compiler.cpp:2137
61 	xul.dll 	js::mjit::Compiler::emitReturn 	js/src/methodjit/Compiler.cpp:2292
62 	kernel32.dll 	RtlFillMemoryStub 	
63 	mozcrt19.dll 	memset 	obj-firefox/memory/jemalloc/crtsrc/memset.c:55
64 	xul.dll 	js::mjit::Compiler::generateMethod 	js/src/methodjit/Compiler.cpp:2056
65 	xul.dll 	JSC::X86Assembler::movq_i32m 	js/src/assembler/assembler/X86Assembler.h:1584
66 	xul.dll 	JSC::MacroAssemblerX86_64::call 	js/src/assembler/assembler/MacroAssemblerX86_64.h:128
67 	kernel32.dll 	RtlFillMemoryStub 	
68 	mozcrt19.dll 	memset 	obj-firefox/memory/jemalloc/crtsrc/memset.c:55
69 	xul.dll 	xul.dll@0x533ddf 	
70 	mozcrt19.dll 	arena_malloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:3794
71 	xul.dll 	js::mjit::StubCompiler::fixCrossJumps 	js/src/methodjit/StubCompiler.cpp:205
72 	xul.dll 	js::mjit::Assembler::finalize 	js/src/methodjit/BaseAssembler.h:648
73 	xul.dll 	xul.dll@0x533d2f 	
74 	xul.dll 	js::mjit::Compiler::finishThisUp 	js/src/methodjit/Compiler.cpp:799
75 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
76 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
77 	xul.dll 	JS_FreeArenaPool 	js/src/jsarena.cpp:305
78 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
79 	xul.dll 	js::mjit::Compiler::performCompilation 	js/src/methodjit/Compiler.cpp:230
80 	mozcrt19.dll 	arena_dalloc_small 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4153
81 	ntdll.dll 	RtlIntegerToUnicode 	
82 	mozcrt19.dll 	arena_dalloc 	obj-firefox/memory/jemalloc/crtsrc/jemalloc.c:4282
83 	xul.dll 	js::mjit::Compiler::~Compiler 	js/src/methodjit/Compiler.cpp:239
84 	ntdll.dll 	RtlConvertSidToUnicodeString 	
85 	kernel32.dll 	BaseRegOpenClassKeyFromLocation 	
86 	nspr4.dll 	PR_GetCurrentThread 	nsprpub/pr/src/threads/prcthr.c:174
87 	nspr4.dll 	PR_GetCurrentThread 	nsprpub/pr/src/threads/prcthr.c:174
88 	ntdll.dll 	RtlAllocateMemoryBlockLookaside 	
89 	xul.dll 	DEBUG_CheckWrapperThreadSafety 	js/src/xpconnect/src/xpcwrappednative.cpp:3820
90 	xul.dll 	DEBUG_CheckWrapperThreadSafety 	js/src/xpconnect/src/xpcwrappednative.cpp:3820
91 	ntdll.dll 	RtlAllocateHeap 	
92 	kernel32.dll 	RegDeleteTreeA 	
93 	xul.dll 	XPCConvert::JSObject2NativeInterface 	js/src/xpconnect/src/xpcconvert.cpp:1487
94 	xul.dll 	XPCConvert::JSData2Native 	js/src/xpconnect/src/xpcconvert.cpp:1108
95 	xul.dll 	CallMethodHelper::~CallMethodHelper 	js/src/xpconnect/src/xpcwrappednative.cpp:2455
96 	nspr4.dll 	MD_CURRENT_THREAD 	nsprpub/pr/src/md/windows/w95thred.c:308
97 	xul.dll 	XPTC__InvokebyIndex 	
98 	xul.dll 	XPC_WN_CallMethod 	js/src/xpconnect/src/xpcwrappednativejsops.cpp:1593
Assignee: general → nobody
Crash Signature: [@ nsCOMPtr_base::~nsCOMPtr_base() | nsCycleCollectingAutoRefCnt::decr(nsISupports*) ] → [@ nsCOMPtr_base::~nsCOMPtr_base() | nsCycleCollectingAutoRefCnt::decr(nsISupports*) ] [@ nsCOMPtr_base::~nsCOMPtr_base | nsCycleCollectingAutoRefCnt::decr ]
I'm marking this bug as WORKSFORME as bug crashlog signature didn't appear from a long time (over half year) in Firefox (except some obsolete Fx).
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.