Closed
Bug 1282649
Opened 8 years ago
Closed 7 years ago
Shutdown assertion failure in mozilla::dom::BlobParent::RemoteBlobImpl::Destroy with SharedWorker
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
DUPLICATE
of bug 1353629
Tracking | Status | |
---|---|---|
firefox50 | --- | affected |
People
(Reporter: jruderman, Assigned: baku)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
During shutdown: ###!!! ASSERTION: Failed Dispatch after xpcom-shutdown-threads: 'false', file xpcom/threads/nsThread.cpp, line 726 Assertion failure: (((bool)(__builtin_expect(!!(!NS_FAILED_impl(mActorTarget->Dispatch(destroyRunnable, nsIEventTarget::DISPATCH_NORMAL))), 1)))), at dom/ipc/Blob.cpp:2575 That ugly expression comes from a macro expansion of: -> 2574 MOZ_ALWAYS_SUCCEEDS(mActorTarget->Dispatch(destroyRunnable, 2575 NS_DISPATCH_NORMAL));
Reporter | ||
Comment 1•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8766695 -
Flags: review?(khuey)
Assignee | ||
Comment 4•8 years ago
|
||
This patch doesn't remove the warning. But we should not crash if the dispatching of a runnable fails.
Dispatching to the main thread should never be able to fail. Really I think the bug is that a blob is alive this late in shutdown ...
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 6•8 years ago
|
||
Right. It makes sense. At this point I really would like to reproduce this issue locally. Jesse, how complex is it to do it? I tried with your test, but I cannot reproduce it.
Flags: needinfo?(amarchesini) → needinfo?(jruderman)
Comment on attachment 8766695 [details] [diff] [review] crash.patch Anyways, I don't think this is fixing the root cause.
Attachment #8766695 -
Flags: review?(khuey) → review-
Comment 8•7 years ago
|
||
I can't reproduce this locally on Ubuntu or Win10 either. Should we just call this WFM?
Flags: needinfo?(jruderman) → needinfo?(amarchesini)
Assignee | ||
Comment 9•7 years ago
|
||
Blob handling has been completely rewritten. Let's mark as duplicate.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(amarchesini)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•