Closed
Bug 957921
Opened 11 years ago
Closed 11 years ago
MOZ_Assert: Assertion failure: mOpened, at AsmJSCache.cpp:1032
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: gwagner, Assigned: luke)
References
Details
Attachments
(1 file)
(deleted),
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
Seen during mochitests on b2g debug emulator builds:
https://tbpl.mozilla.org/php/getParsedLog.php?id=32730519&tree=Pine&full=1
Assignee | ||
Comment 1•11 years ago
|
||
Lemme think about this in the morning; this might just be an overzealous assert.
Assignee | ||
Comment 2•11 years ago
|
||
Ah hah, I see it: bug 944821 added a new child/parent roundtrip between the parent and child:
parent -OnOpenMetadataForRead-> child -SelectCacheFileToRead-> parent
if the child fails to FindHashMatch in RecvOnOpenMetadataForRead, then it will Send__delete__ which causes the parent to Recv__delete__ when the cache file has not yet been opened, hence the assert.
Assignee | ||
Comment 3•11 years ago
|
||
Given the new interleaving described above, the fix is just to generalize Recv__delete__ to be more like ActorDestroy which can happen at any time.
I was able to repro the assert on desktop FF with browser.tabs.remote = true on http://people.mozilla.org/~lwagner/test-caching.html and verify that this patch fixes the assert.
Comment 4•11 years ago
|
||
Comment on attachment 8357603 [details] [diff] [review]
fix-open-bug
Review of attachment 8357603 [details] [diff] [review]:
-----------------------------------------------------------------
looks good
Attachment #8357603 -
Flags: review?(Jan.Varga) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•