Closed Bug 1147866 Opened 10 years ago Closed 10 years ago

Assertion failure: !IsSuspended(), at /Users/ehsan/moz/src/dom/workers/SharedWorker.cpp:91

Categories

(Core :: DOM: Workers, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1132865

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

Attachments

(1 file)

I hit this assertion when I was debugging a SW app: (lldb) bt * thread #1: tid = 0x40624b, 0x0000000103aa4860 XUL`mozilla::dom::workers::SharedWorker::Suspend(this=0x0000000123229d80) + 96 at SharedWorker.cpp:91, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x0000000103aa4860 XUL`mozilla::dom::workers::SharedWorker::Suspend(this=0x0000000123229d80) + 96 at SharedWorker.cpp:91 frame #1: 0x0000000103aec994 XUL`mozilla::dom::workers::WorkerPrivateParent<mozilla::dom::workers::WorkerPrivate>::Suspend(aKey=0x00000001227e8528, aSharedWorker=0x0000000123229d80, aClosure=0x00007fff5fbeab18)::Closure::Suspend(unsigned long long const&, mozilla::dom::workers::SharedWorker*, void*) + 276 at WorkerPrivate.cpp:3075 frame #2: 0x0000000103af6aa7 XUL`nsBaseHashtable<nsUint64HashKey, mozilla::dom::workers::SharedWorker*, mozilla::dom::workers::SharedWorker*>::s_EnumReadStub(aTable=0x0000000120a242e0, aHdr=0x00000001227e8520, aNumber=1, aArg=0x00007fff5fbeaa88) + 87 at nsBaseHashtable.h:391 frame #3: 0x00000001007cd821 XUL`PLDHashTable::Enumerate(this=0x0000000120a242e0, aEtor=0x0000000103af6a50, aArg=0x00007fff5fbeaa88)(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*), void*) + 449 at pldhash.cpp:809 frame #4: 0x00000001007c8305 XUL`PL_DHashTableEnumerate(aTable=0x0000000120a242e0, aEtor=0x0000000103af6a50, aArg=0x00007fff5fbeaa88)(PLDHashTable*, PLDHashEntryHdr*, unsigned int, void*), void*) + 37 at pldhash.cpp:860 frame #5: 0x0000000103aec874 XUL`nsBaseHashtable<nsUint64HashKey, mozilla::dom::workers::SharedWorker*, mozilla::dom::workers::SharedWorker*>::EnumerateRead(this=0x0000000120a242e0, aEnumFunc=0x0000000103aec880, aUserArg=0x00007fff5fbeab18)(unsigned long long const&, mozilla::dom::workers::SharedWorker*, void*), void*) const + 132 at nsBaseHashtable.h:174 frame #6: 0x0000000103aec639 XUL`mozilla::dom::workers::WorkerPrivateParent<mozilla::dom::workers::WorkerPrivate>::Suspend(this=0x0000000120a24000, aCx=0x0000000113ef1770, aWindow=0x0000000117997c20) + 249 at WorkerPrivate.cpp:3090 frame #7: 0x0000000103a645ff XUL`mozilla::dom::workers::RuntimeService::SuspendWorkersForWindow(this=0x0000000120bbc670, aWindow=0x0000000117997c20) + 431 at RuntimeService.cpp:2237 frame #8: 0x0000000103a64445 XUL`mozilla::dom::workers::SuspendWorkersForWindow(aWindow=0x0000000117997c20) + 53 at RuntimeService.cpp:1252 frame #9: 0x0000000101e0da97 XUL`nsGlobalWindow::SuspendTimeouts(this=0x0000000117997c00, aIncrease=1, aFreezeChildren=true) + 519 at nsGlobalWindow.cpp:12947 frame #10: 0x0000000101e0d958 XUL`nsGlobalWindow::SuspendTimeouts(this=0x0000000117997400, aIncrease=1, aFreezeChildren=true) + 200 at nsGlobalWindow.cpp:12933 frame #11: 0x0000000101e0df66 XUL`nsGlobalWindow::SuspendTimeouts(this=0x0000000123050800, aIncrease=1, aFreezeChildren=true) + 1750 at nsGlobalWindow.cpp:13002 frame #12: 0x0000000101e0d958 XUL`nsGlobalWindow::SuspendTimeouts(this=0x0000000117cbcc00, aIncrease=1, aFreezeChildren=true) + 200 at nsGlobalWindow.cpp:12933 frame #13: 0x0000000101e0e071 XUL`non-virtual thunk to nsGlobalWindow::SuspendTimeouts(this=0x0000000117cbcc20, aIncrease=1, aFreezeChildren=true) + 49 at nsGlobalWindow.cpp:13010 frame #14: 0x0000000101daf6c7 XUL`nsDOMWindowUtils::SuspendTimeouts(this=0x0000000120a5a280) + 311 at nsDOMWindowUtils.cpp:2430 frame #15: 0x00000001007921e1 XUL`NS_InvokeByIndex(that=0x0000000120a5a280, methodIndex=77, paramCount=0, params=0x00007fff5fbeb4f0) + 561 at xptcinvoke_x86_64_unix.cpp:174 frame #16: 0x00000001015e49e8 XUL`CallMethodHelper::Invoke(this=0x00007fff5fbeb4a8) + 88 at XPCWrappedNative.cpp:2084 frame #17: 0x00000001015d5567 XUL`CallMethodHelper::Call(this=0x00007fff5fbeb4a8) + 263 at XPCWrappedNative.cpp:1421 frame #18: 0x00000001015b47b4 XUL`XPCWrappedNative::CallMethod(ccx=0x00007fff5fbeb680, mode=CALL_METHOD) + 260 at XPCWrappedNative.cpp:1388 frame #19: 0x00000001015b69f3 XUL`XPC_WN_CallMethod(cx=0x000000012325f0c0, argc=0, vp=0x00000001179152c0) + 931 at XPCWrappedNativeJSOps.cpp:1140 frame #20: 0x0000000105fad12b XUL`js::CallJSNative(cx=0x000000012325f0c0, native=0x00000001015b6650, args=0x00007fff5fbec0b0)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) + 187 at jscntxtinlines.h:235 frame #21: 0x0000000105f41295 XUL`js::Invoke(cx=0x000000012325f0c0, args=CallArgs at 0x00007fff5fbec0b0, construct=NO_CONSTRUCT) + 1269 at Interpreter.cpp:502 frame #22: 0x0000000105f5b5d4 XUL`Interpret(cx=0x000000012325f0c0, state=0x00007fff5fbeef88) + 51556 at Interpreter.cpp:2617 frame #23: 0x0000000105f4eb89 XUL`js::RunScript(cx=0x000000012325f0c0, state=0x00007fff5fbeef88) + 585 at Interpreter.cpp:452 frame #24: 0x0000000105f413d6 XUL`js::Invoke(cx=0x000000012325f0c0, args=CallArgs at 0x00007fff5fbef780, construct=NO_CONSTRUCT) + 1590 at Interpreter.cpp:521 frame #25: 0x00000001066c8669 XUL`js::CallOrConstructBoundFunction(cx=0x000000012325f0c0, argc=0, vp=0x0000000117915170) + 1145 at jsfun.cpp:1589 frame #26: 0x0000000105fad12b XUL`js::CallJSNative(cx=0x000000012325f0c0, native=0x00000001066c81f0, args=0x00007fff5fbf0270)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) + 187 at jscntxtinlines.h:235 frame #27: 0x0000000105f41295 XUL`js::Invoke(cx=0x000000012325f0c0, args=CallArgs at 0x00007fff5fbf0270, construct=NO_CONSTRUCT) + 1269 at Interpreter.cpp:502 frame #28: 0x0000000105f5b5d4 XUL`Interpret(cx=0x000000012325f0c0, state=0x00007fff5fbf3148) + 51556 at Interpreter.cpp:2617 frame #29: 0x0000000105f4eb89 XUL`js::RunScript(cx=0x000000012325f0c0, state=0x00007fff5fbf3148) + 585 at Interpreter.cpp:452 frame #30: 0x0000000105f413d6 XUL`js::Invoke(cx=0x000000012325f0c0, args=CallArgs at 0x00007fff5fbf3940, construct=NO_CONSTRUCT) + 1590 at Interpreter.cpp:521 frame #31: 0x0000000105f29b44 XUL`js::Invoke(cx=0x000000012325f0c0, thisv=0x00007fff5fbf3d40, fval=0x00007fff5fbf3d70, argc=1, argv=0x00007fff5fbf3ed8, rval=JS::MutableHandleValue at 0x00007fff5fbf3a40) + 900 at Interpreter.cpp:558 frame #32: 0x00000001062a3867 XUL`js::jit::DoCallFallback(cx=0x000000012325f0c0, frame=0x00007fff5fbf3f28, stub_=0x00000001230459c8, argc=1, vp=0x00007fff5fbf3ec8, res=JS::MutableHandleValue at 0x00007fff5fbf3e28) + 1847 at BaselineIC.cpp:9640 frame #33: 0x0000000111ee004b It probably comes from <https://dxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/chrome.js#168> as I had the devtools open.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Attachment #8583811 - Flags: review?(nsm.nikhil)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: