GC handling in workers is broken | crash in OOM | large | NS_ABORT_OOM | mozilla::dom::CallbackObject::Init
Categories
(Core :: DOM: Workers, defect, P3)
Tracking
()
People
(Reporter: jujjyl, Assigned: smaug)
References
(Blocks 2 open bugs)
Details
(Keywords: crash, Whiteboard: DWS_NEXT)
Attachments
(5 files, 7 obsolete files)
785 bytes,
application/x-zip-compressed
|
Details | |
152 bytes,
text/html
|
Details | |
8.85 KB,
patch
|
Details | Diff | Splinter Review | |
7.75 KB,
patch
|
Details | Diff | Splinter Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Reporter | ||
Comment 6•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Comment 7•10 years ago
|
||
Assignee | ||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Reporter | ||
Comment 10•10 years ago
|
||
Assignee | ||
Comment 11•10 years ago
|
||
Reporter | ||
Comment 12•10 years ago
|
||
Reporter | ||
Comment 13•10 years ago
|
||
Reporter | ||
Comment 14•10 years ago
|
||
Reporter | ||
Comment 15•10 years ago
|
||
Assignee | ||
Comment 16•10 years ago
|
||
Assignee | ||
Comment 17•10 years ago
|
||
Assignee | ||
Comment 18•10 years ago
|
||
Assignee | ||
Comment 19•10 years ago
|
||
Assignee | ||
Comment 20•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 21•10 years ago
|
||
Assignee | ||
Comment 22•10 years ago
|
||
Assignee | ||
Comment 23•10 years ago
|
||
Comment 24•10 years ago
|
||
Assignee | ||
Comment 25•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Comment 26•10 years ago
|
||
Comment 27•10 years ago
|
||
Assignee | ||
Comment 28•10 years ago
|
||
Assignee | ||
Comment 29•10 years ago
|
||
Assignee | ||
Comment 30•9 years ago
|
||
Assignee | ||
Comment 31•9 years ago
|
||
Comment 32•9 years ago
|
||
Assignee | ||
Comment 33•9 years ago
|
||
Assignee | ||
Comment 34•9 years ago
|
||
Updated•9 years ago
|
Comment 35•9 years ago
|
||
Assignee | ||
Comment 38•9 years ago
|
||
Assignee | ||
Comment 39•9 years ago
|
||
Assignee | ||
Comment 40•9 years ago
|
||
Assignee | ||
Comment 41•9 years ago
|
||
Comment 42•9 years ago
|
||
Assignee | ||
Comment 43•9 years ago
|
||
Assignee | ||
Comment 44•9 years ago
|
||
Assignee | ||
Comment 45•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Updated•8 years ago
|
Assignee | ||
Comment 46•8 years ago
|
||
Assignee | ||
Comment 47•8 years ago
|
||
Assignee | ||
Comment 48•8 years ago
|
||
![]() |
||
Comment 49•8 years ago
|
||
Assignee | ||
Comment 50•8 years ago
|
||
Updated•8 years ago
|
Assignee | ||
Comment 52•7 years ago
|
||
Assignee | ||
Comment 53•7 years ago
|
||
Assignee | ||
Comment 54•7 years ago
|
||
Assignee | ||
Comment 55•7 years ago
|
||
Comment 57•7 years ago
|
||
Comment 58•7 years ago
|
||
Assignee | ||
Comment 59•7 years ago
|
||
Comment 60•7 years ago
|
||
Comment 61•6 years ago
|
||
(resetting so we can assign to someone with more cycles)
Comment 62•6 years ago
|
||
I had a better re-cap that got lost in tab bankruptcy. I think the appropriate summary that I'm now stealing from bug 1514723 is: The test failures seem to be that the patch exacerbates some platform thread shutdown issues where nsThread thinks the thread is shutdown because it messaged back and so gecko shutdown continues, but the thread wasn't actually shutdown (we don't join on the thread), so when the thread actually hits full pthread-level shutdown and the RAII stuff about thread-local-storage involving PBackground goes to clean up, assertions start exploding.
The next step was going to be to reproduce under rr since what was happening was more than a little complex.
Updated•6 years ago
|
Assignee | ||
Comment 63•6 years ago
|
||
Not a regression. We've had this GC/CC handling in workers basically forever.
Comment 64•6 years ago
|
||
Closing because no crashes reported for 12 weeks.
Updated•6 years ago
|
This bug is about a specific test case that fails, not failures on crash-stats.
Comment 66•6 years ago
|
||
:asuth, :perry, is this still actionable as is? Do we plan to come to this anytime soon?
Comment 67•6 years ago
|
||
This is actionable. Comment 62's synopsis about thread invariants attempting to enforce things as reality was torn down around them was the problem, not the patch. (Like bug 1604005, but instead actor-TLS assertions.) It's possible :nika's work on cleaning up IPC invariants already fixed the problem. If not, then it should be more directly correctable now.
:ytausky, I think this might be particularly up your alley, both for performance and invariant reasons.
Comment 68•5 years ago
|
||
Perry, as Yaron is out for a while: you might want to take a look?
Comment 71•4 years ago
|
||
Hey Jukka,
Can you still reproduce this or should we close it?
asuth marked this as blocking another bug a few months ago, so I think the general issue is still relevant.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 73•3 years ago
|
||
We are clearly not considering this to be P2, if we do not work on it. Should we?
Comment 74•3 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #73)
We are clearly not considering this to be P2, if we do not work on it. Should we?
Yes. This might be a good candidate for your ongoing tech-debt cleanup efforts. Specifically, if de-bitrotted, the patch on the bug (in comment 54) should probably apply cleanly and the failures I mentioned in comment 62 I think will have gone away.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 75•3 years ago
|
||
Updated•3 years ago
|
Comment 76•3 years ago
|
||
Comment 77•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•