Closed Bug 926185 Opened 11 years ago Closed 11 years ago

Assert failure in IsSharedWorker()

Categories

(Core :: DOM: Workers, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 924970

People

(Reporter: ekr, Unassigned)

Details

I am getting the following assert failure whenever I start my local build of Firefox. Revision: 150584:e628236f3424 Platform: OS/X 10.8 (gdb) bt #0 mozilla::dom::workers::WorkerPrivateParent<mozilla::dom::workers::WorkerPrivate>::SynchronizeAndResume (this=0x10f686400, aCx=0x1208d92a0, aWindow=0x122e12f30, aScriptContext=0x1208dc800) at /Users/ekr/dev/mozilla-inbound/dom/workers/WorkerPrivate.cpp:2344 #1 0x0000000102c22108 in mozilla::dom::workers::RuntimeService::ResumeWorkersForWindow (this=0x11241db80, aWindow=0x122e12f30) at /Users/ekr/dev/mozilla-inbound/dom/workers/RuntimeService.cpp:1989 #2 0x0000000102c21ed5 in mozilla::dom::workers::ResumeWorkersForWindow (aWindow=0x122e12f30) at /Users/ekr/dev/mozilla-inbound/dom/workers/RuntimeService.cpp:1064 #3 0x0000000102a12cc0 in nsGlobalWindow::ResumeTimeouts (this=0x122e12f10, aThawChildren=false) at /Users/ekr/dev/mozilla-inbound/dom/base/nsGlobalWindow.cpp:11359 #4 0x0000000102a1349c in non-virtual thunk to nsGlobalWindow::ResumeTimeouts(bool) (this=0x122e12f30, aThawChildren=false) at /Users/ekr/dev/mozilla-inbound/dom/base/nsGlobalWindow.cpp:11445 #5 0x0000000102435a6a in nsResumeTimeoutsEvent::Run (this=0x122e46350) at /Users/ekr/dev/mozilla-inbound/content/base/src/nsXMLHttpRequest.cpp:148 #6 0x00000001045e41d3 in nsThread::ProcessNextEvent (this=0x100507350, mayWait=false, result=0x7fff5fbfd013) at /Users/ekr/dev/mozilla-inbound/xpcom/threads/nsThread.cpp:622 #7 0x000000010453b3ec in NS_ProcessPendingEvents (thread=0x100507350, timeout=20) at nsThreadUtils.cpp:188 #8 0x00000001038ce90f in nsBaseAppShell::NativeEventCallback (this=0x100582a70) at /Users/ekr/dev/mozilla-inbound/widget/xpwidgets/nsBaseAppShell.cpp:95 #9 0x000000010382abec in nsAppShell::ProcessGeckoEvents (aInfo=0x100582a70) at /Users/ekr/dev/mozilla-inbound/widget/cocoa/nsAppShell.mm:388 #10 0x00007fff85ad3b31 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ () #11 0x00007fff85ad3455 in __CFRunLoopDoSources0 () #12 0x00007fff85af67f5 in __CFRunLoopRun () #13 0x00007fff85af60e2 in CFRunLoopRunSpecific () #14 0x00007fff855deeb4 in RunCurrentEventLoopInMode () #15 0x00007fff855deb94 in ReceiveNextEventCommon () #16 0x00007fff855deae3 in BlockUntilNextEventMatchingListInMode () #17 0x00007fff8e375533 in _DPSNextEvent () #18 0x00007fff8e374df2 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] () #19 0x00000001038293f7 in -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (self=0x100134240, _cmd=0x7fff8eba3404, mask=18446744073709551615, expiration=0x422d63c37f00000d, mode=0x7fff73ef71c0, flag=1 '\001') at /Users/ekr/dev/mozilla-inbound/widget/cocoa/nsAppShell.mm:165 #20 0x00007fff8e36c1a3 in -[NSApplication run] () #21 0x000000010382b6c1 in nsAppShell::Run (this=0x100582a70) at /Users/ekr/dev/mozilla-inbound/widget/cocoa/nsAppShell.mm:742 #22 0x000000010341829c in nsAppStartup::Run (this=0x1005829e0) at /Users/ekr/dev/mozilla-inbound/toolkit/components/startup/nsAppStartup.cpp:268 #23 0x0000000101574f67 in XREMain::XRE_mainRun (this=0x7fff5fbfede0) at /Users/ekr/dev/mozilla-inbound/toolkit/xre/nsAppRunner.cpp:3886 #24 0x0000000101575759 in XREMain::XRE_main (this=0x7fff5fbfede0, argc=1, argv=0x7fff5fbff6e8, aAppData=0x7fff5fbff078) at /Users/ekr/dev/mozilla-inbound/toolkit/xre/nsAppRunner.cpp:3954 #25 0x0000000101575b6d in XRE_main (argc=1, argv=0x7fff5fbff6e8, aAppData=0x7fff5fbff078, aFlags=0) at /Users/ekr/dev/mozilla-inbound/toolkit/xre/nsAppRunner.cpp:4156 #26 0x0000000100002337 in do_main (argc=1, argv=0x7fff5fbff6e8, xreDirectory=0x1005000e0) at /Users/ekr/dev/mozilla-inbound/browser/app/nsBrowserApp.cpp:275 #27 0x0000000100001871 in main (argc=1, argv=0x7fff5fbff6e8) at /Users/ekr/dev/mozilla-inbound/browser/app/nsBrowserApp.cpp:635 (gdb) Suspended
Assertion failure: mParentSuspended, at /Users/ekr/dev/mozilla-inbound/dom/workers/WorkerPrivate.cpp:2344 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 mozilla::dom::workers::WorkerPrivateParent<mozilla::dom::workers::WorkerPrivate>::SynchronizeAndResume (this=0x10f686400, aCx=0x1208d92a0, aWindow=0x122e12f30, aScriptContext=0x1208dc800) at /Users/ekr/dev/mozilla-inbound/dom/workers/WorkerPrivate.cpp:2344 2344 MOZ_ASSERT_IF(!IsSharedWorker(), mParentSuspended); (gdb) bt
Flags: needinfo?(khuey)
Flags: needinfo?(bent.mozilla)
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(khuey)
Flags: needinfo?(bent.mozilla)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.