Closed Bug 1282649 Opened 10 years ago Closed 8 years ago

Shutdown assertion failure in mozilla::dom::BlobParent::RemoteBlobImpl::Destroy with SharedWorker

Categories

(Core :: DOM: Workers, defect)

defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1353629
Tracking Status
firefox50 --- affected

People

(Reporter: jruderman, Assigned: baku)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file testcase
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));
Attached file stack
baku, can you take a look?
Flags: needinfo?(amarchesini)
Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Attached patch crash.patchSplinter Review
Attachment #8766695 - Flags: review?(khuey)
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 ...
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-
I can't reproduce this locally on Ubuntu or Win10 either. Should we just call this WFM?
Flags: needinfo?(jruderman) → needinfo?(amarchesini)
Blob handling has been completely rewritten. Let's mark as duplicate.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(amarchesini)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: