random orange: crash in [@ nsDOMWorkerMessageHandler::Trace] running dom/src/threads/test/test_scopeOnerror.html

RESOLVED WORKSFORME

Status

()

defect
--
critical
RESOLVED WORKSFORME
10 years ago
a month ago

People

(Reporter: dbaron, Unassigned)

Tracking

({crash, intermittent-failure})

Trunk
x86
Windows Server 2003
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1259073032.1259073581.8135.gz
WINNT 5.2 mozilla-central debug test mochitests-2/5 on 2009/11/24 06:30:32  
"s: moz2-win32-slave43"

This build had a random crash while running:

560 INFO Running /tests/dom/src/threads/test/test_scopeOnerror.html...

which was a dereference of a null nsRefPtr:

###!!! ASSERTION: You can't dereference a NULL nsRefPtr with operator->().: 'mRawPtr != 0', file e:\builds\moz2_slave\mozilla-central-win32-debug\build\obj-firefox\dist\include\nsAutoPtr.h, line 1097

Crash reason:  EXCEPTION_ACCESS_VIOLATION
Crash address: 0x0

Thread 0 (crashed)
 0  xul.dll!nsDOMWorkerMessageHandler::Trace(JSTracer *) [nsDOMWorkerMessageHandler.cpp:941ad9d7d079 : 239 + 0x1c]
    eip = 0x61386c8f   esp = 0x0012abe4   ebp = 0x0012ac04   ebx = 0x7ffd8000
    esi = 0x00000c00   edi = 0x00000000   eax = 0x00000000   ecx = 0x07a86dc8
    edx = 0x00000031   efl = 0x00010246
    Found by: given as instruction pointer in context
 1  xul.dll!nsDOMWorkerScope::Trace(nsIXPConnectWrappedNative *,JSTracer *,JSObject *) [nsDOMWorker.cpp:941ad9d7d079 : 585 + 0xe]
    eip = 0x6124d7d0   esp = 0x0012ac0c   ebp = 0x0012ac10
    Found by: call frame info
 2  xul.dll!XPC_WN_Helper_Trace [xpcwrappednativejsops.cpp:941ad9d7d079 : 1164 + 0x24]
    eip = 0x60b0538a   esp = 0x0012ac18   ebp = 0x0012ac34
    Found by: call frame info
 3  mozjs.dll!js_TraceObject [jsobj.cpp:941ad9d7d079 : 5919 + 0xf]
    eip = 0x6028a0ff   esp = 0x0012ac3c   ebp = 0x0012ac68
    Found by: call frame info
 4  mozjs.dll!JS_TraceChildren [jsgc.cpp:941ad9d7d079 : 1923 + 0x13]
    eip = 0x6024245e   esp = 0x0012ac70   ebp = 0x0012ac88
    Found by: call frame info
 5  mozjs.dll!JS_CallTracer [jsgc.cpp:941ad9d7d079 : 2183 + 0x10]
    eip = 0x60242a11   esp = 0x0012ac90   ebp = 0x0012acbc
    Found by: call frame info
 6  mozjs.dll!JSObject::traceProtoAndParent(JSTracer *) [jsobj.h:941ad9d7d079 : 211 + 0x55]
    eip = 0x601fb732   esp = 0x0012acc4   ebp = 0x0012ace4
    Found by: call frame info
 7  mozjs.dll!js_TraceObject [jsobj.cpp:941ad9d7d079 : 5924 + 0xb]
    eip = 0x6028a130   esp = 0x0012acec   ebp = 0x0012ad14
    Found by: call frame info
 8  mozjs.dll!JS_TraceChildren [jsgc.cpp:941ad9d7d079 : 1923 + 0x13]
    eip = 0x6024245e   esp = 0x0012ad1c   ebp = 0x0012ad34
    Found by: call frame info
 9  mozjs.dll!JS_CallTracer [jsgc.cpp:941ad9d7d079 : 2183 + 0x10]
    eip = 0x60242a11   esp = 0x0012ad3c   ebp = 0x0012ad68
    Found by: call frame info
10  mozjs.dll!JSObject::traceProtoAndParent(JSTracer *) [jsobj.h:941ad9d7d079 : 207 + 0x55]
    eip = 0x601fb6c0   esp = 0x0012ad70   ebp = 0x0012ad90
    Found by: call frame info
11  mozjs.dll!js_TraceObject [jsobj.cpp:941ad9d7d079 : 5924 + 0xb]
    eip = 0x6028a130   esp = 0x0012ad98   ebp = 0x0012adc0
    Found by: call frame info
12  mozjs.dll!JS_TraceChildren [jsgc.cpp:941ad9d7d079 : 1923 + 0x13]
    eip = 0x6024245e   esp = 0x0012adc8   ebp = 0x0012ade0
    Found by: call frame info
13  mozjs.dll!JS_CallTracer [jsgc.cpp:941ad9d7d079 : 2183 + 0x10]
    eip = 0x60242a11   esp = 0x0012ade8   ebp = 0x0012ae14
    Found by: call frame info
14  mozjs.dll!js_CallValueTracerIfGCThing [jsgc.cpp:941ad9d7d079 : 2231 + 0x10]
    eip = 0x6024369e   esp = 0x0012ae1c   ebp = 0x0012ae30
    Found by: call frame info
15  mozjs.dll!gc_root_traversal [jsgc.cpp:941ad9d7d079 : 2281 + 0xc]
    eip = 0x60244f5b   esp = 0x0012ae38   ebp = 0x0012ae78
    Found by: call frame info
16  mozjs.dll!JS_DHashTableEnumerate [jsdhash.cpp:941ad9d7d079 : 743 + 0x18]
    eip = 0x60217458   esp = 0x0012ae80   ebp = 0x0012aec4
    Found by: call frame info
17  mozjs.dll!js_TraceRuntime [jsgc.cpp:941ad9d7d079 : 2546 + 0x17]
    eip = 0x60244b59   esp = 0x0012aecc   ebp = 0x0012aeec
    Found by: call frame info
18  mozjs.dll!js_GC [jsgc.cpp:941ad9d7d079 : 3114 + 0xc]
    eip = 0x60245ac3   esp = 0x0012aef4   ebp = 0x0012af88
    Found by: call frame info
19  mozjs.dll!JS_GC [jsapi.cpp:941ad9d7d079 : 2448 + 0xa]
    eip = 0x601ec1bf   esp = 0x0012af90   ebp = 0x0012af98
    Found by: call frame info
20  xul.dll!nsXPConnect::Collect() [nsXPConnect.cpp:941ad9d7d079 : 477 + 0x9]
    eip = 0x60ab77bf   esp = 0x0012afa0   ebp = 0x0012b050
    Found by: call frame info
21  xul.dll!nsCycleCollector::Collect(unsigned int) [nsCycleCollector.cpp:941ad9d7d079 : 2507 + 0x18]
    eip = 0x619cfead   esp = 0x0012b058   ebp = 0x0012ef10
    Found by: call frame info
22  xul.dll!nsCycleCollector_collect() [nsCycleCollector.cpp:941ad9d7d079 : 3202 + 0x15]
    eip = 0x619d03fa   esp = 0x0012ef18   ebp = 0x0012ef20
    Found by: call frame info
23  xul.dll!nsJSContext::CC() [nsJSEnvironment.cpp:941ad9d7d079 : 3557 + 0x4]
    eip = 0x6105b60a   esp = 0x0012ef28   ebp = 0x0012ef28
    Found by: call frame info
24  xul.dll!nsJSContext::IntervalCC() [nsJSEnvironment.cpp:941ad9d7d079 : 3645 + 0x4]
    eip = 0x6105b770   esp = 0x0012ef30   ebp = 0x0012ef38
    Found by: call frame info
25  xul.dll!nsJSContext::CCIfUserInactive() [nsJSEnvironment.cpp:941ad9d7d079 : 3635 + 0x4]
    eip = 0x6105b73d   esp = 0x0012ef40   ebp = 0x0012ef40
    Found by: call frame info
26  xul.dll!nsJSContext::LoadEnd() [nsJSEnvironment.cpp:941ad9d7d079 : 3701 + 0x4]
    eip = 0x6105b87f   esp = 0x0012ef48   ebp = 0x0012ef48
    Found by: call frame info
27  xul.dll!DocumentViewerImpl::LoadComplete(unsigned int) [nsDocumentViewer.cpp:941ad9d7d079 : 1087 + 0x4]
    eip = 0x60e08251   esp = 0x0012ef50   ebp = 0x0012efc8
    Found by: call frame info
28  xul.dll!nsDocShell::EndPageLoad(nsIWebProgress *,nsIChannel *,unsigned int) [nsDocShell.cpp:941ad9d7d079 : 5730 + 0x2e]
    eip = 0x615e1262   esp = 0x0012efd0   ebp = 0x0012f3a4
    Found by: call frame info
29  xul.dll!nsDocShell::OnStateChange(nsIWebProgress *,nsIRequest *,unsigned int,unsigned int) [nsDocShell.cpp:941ad9d7d079 : 5608 + 0x2a]
    eip = 0x615e0e0e   esp = 0x0012f3ac   ebp = 0x0012f41c
    Found by: call frame info
30  xul.dll!nsDocLoader::FireOnStateChange(nsIWebProgress *,nsIRequest *,int,unsigned int) [nsDocLoader.cpp:941ad9d7d079 : 1314 + 0x31]
    eip = 0x61602d75   esp = 0x0012f424   ebp = 0x0012f4c8
    Found by: call frame info
31  xul.dll!nsDocLoader::doStopDocumentLoad(nsIRequest *,unsigned int) [nsDocLoader.cpp:941ad9d7d079 : 926 + 0x30]
    eip = 0x61601f8b   esp = 0x0012f4d0   ebp = 0x0012f54c
    Found by: call frame info
32  xul.dll!nsDocLoader::DocLoaderIsEmpty(int) [nsDocLoader.cpp:941ad9d7d079 : 802 + 0x14]
    eip = 0x61601bb2   esp = 0x0012f554   ebp = 0x0012f594
    Found by: call frame info
33  xul.dll!nsDocLoader::OnStopRequest(nsIRequest *,nsISupports *,unsigned int) [nsDocLoader.cpp:941ad9d7d079 : 697 + 0xc]
    eip = 0x61601880   esp = 0x0012f59c   ebp = 0x0012f664
    Found by: call frame info
34  xul.dll!nsLoadGroup::RemoveRequest(nsIRequest *,nsISupports *,unsigned int) [nsLoadGroup.cpp:941ad9d7d079 : 680 + 0x2d]
    eip = 0x60bb6daf   esp = 0x0012f66c   ebp = 0x0012f710
    Found by: call frame info
35  xul.dll!nsHttpChannel::OnStopRequest(nsIRequest *,nsISupports *,unsigned int) [nsHttpChannel.cpp:941ad9d7d079 : 5293 + 0x3f]
    eip = 0x60c3d0bd   esp = 0x0012f718   ebp = 0x0012f75c
    Found by: call frame info
36  xul.dll!nsInputStreamPump::OnStateStop() [nsInputStreamPump.cpp:941ad9d7d079 : 576 + 0x32]
    eip = 0x60bafd5e   esp = 0x0012f764   ebp = 0x0012f788
    Found by: call frame info
37  xul.dll!nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream *) [nsInputStreamPump.cpp:941ad9d7d079 : 401 + 0xa]
    eip = 0x60baf740   esp = 0x0012f790   ebp = 0x0012f798
    Found by: call frame info
38  xul.dll!nsInputStreamReadyEvent::Run() [nsStreamUtils.cpp:941ad9d7d079 : 112 + 0x27]
    eip = 0x619fb5ba   esp = 0x0012f7a0   ebp = 0x0012f7ac
    Found by: call frame info
39  xul.dll!nsThread::ProcessNextEvent(int,int *) [nsThread.cpp:941ad9d7d079 : 527 + 0x18]
    eip = 0x61a1a44a   esp = 0x0012f7b4   ebp = 0x0012f7e8
    Found by: call frame info
40  xul.dll!NS_ProcessNextEvent_P(nsIThread *,int) [nsThreadUtils.cpp:941ad9d7d079 : 250 + 0x15]
    eip = 0x619cc3d3   esp = 0x0012f7f0   ebp = 0x0012f804
    Found by: call frame info
41  xul.dll!nsBaseAppShell::Run() [nsBaseAppShell.cpp:941ad9d7d079 : 170 + 0xa]
    eip = 0x618913ea   esp = 0x0012f80c   ebp = 0x0012f818
    Found by: call frame info
42  xul.dll!nsAppStartup::Run() [nsAppStartup.cpp:941ad9d7d079 : 182 + 0x1b]
    eip = 0x6169402a   esp = 0x0012f820   ebp = 0x0012f82c
    Found by: call frame info
43  xul.dll!XRE_main [nsAppRunner.cpp:941ad9d7d079 : 3491 + 0x24]
    eip = 0x60a97cba   esp = 0x0012f834   ebp = 0x0012fed0
    Found by: call frame info
44  firefox.exe!NS_internal_main(int,char * *) [nsBrowserApp.cpp:941ad9d7d079 : 158 + 0x11]
    eip = 0x00402472   esp = 0x0012fed8   ebp = 0x0012ff34
    Found by: call frame info
45  firefox.exe!wmain [nsWindowsWMain.cpp:941ad9d7d079 : 120 + 0xc]
    eip = 0x00401c2e   esp = 0x0012ff3c   ebp = 0x0012ff68
    Found by: call frame info
46  firefox.exe!__tmainCRTStartup [crtexe.c : 594 + 0x18]
    eip = 0x00407506   esp = 0x0012ff70   ebp = 0x0012ffb8
    Found by: call frame info
47  firefox.exe!wmainCRTStartup [crtexe.c : 413 + 0x4]
    eip = 0x0040735d   esp = 0x0012ffc0   ebp = 0x0012ffc0   ebx = 0x0012a7f0
    Found by: call frame info
48  kernel32.dll + 0x2f23a
    eip = 0x77e6f23b   esp = 0x0012ffc8   ebp = 0x0012fff0
    Found by: call frame info
Whiteboard: [orange]

Updated

10 years ago
Severity: normal → critical
Keywords: crash
Summary: random orange: crash in nsDOMWorkerMessageHandler::Trace running dom/src/threads/test/test_scopeOnerror.html → random orange: crash in [@ nsDOMWorkerMessageHandler::Trace] running dom/src/threads/test/test_scopeOnerror.html
Crash Signature: [@ nsDOMWorkerMessageHandler::Trace]
All this code is gone now with bug 649537. WFM.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.