Closed
Bug 1245249
Opened 10 years ago
Closed 10 years ago
crash in mozalloc_abort | NS_DebugBreak | mozilla::dom::asmjscache::PAsmJSCacheEntryParent::Write
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | fixed |
People
(Reporter: jujjyl, Assigned: janv)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
|
1.34 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-f17431d8-0c85-431c-9a3e-916252160202.
=============================================================
Bisected to this range:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=aa58a439e77a9ed81b492ff7417346c5ab52c8d5&tochange=958a7057e1ac0379ee4908b644f4a6b00918ad69
| Reporter | ||
Comment 1•10 years ago
|
||
Bill, does the callstack give any hints on this?
Flags: needinfo?(wmccloskey)
It sounds like you have an STR if you're able to bisect. I'm happy to investigate if I can reproduce.
The code here is definitely wrong:
http://hg.mozilla.org/mozilla-central/annotate/5f9ba76eb3b1/dom/asmjscache/AsmJSCache.cpp#l1006
If SendFoo returns false, we should not send a __delete__ message. It's possible that the connection has closed by then.
However, it's not clear why SendOnOpenMetadataForRead would return false during normal operation. It's possibly my patches caused that.
Flags: needinfo?(wmccloskey)
| Reporter | ||
Comment 3•10 years ago
|
||
Sure thing. Sent you the test case via email (unfortunately not public :/). Let me know if that helps!
Flags: needinfo?(wmccloskey)
Comment 4•10 years ago
|
||
Jan: does anything about this jump out to you? I'm guessing this is related to bug 1173756.
Flags: needinfo?(jvarga)
Comment 5•10 years ago
|
||
In particular, in comment 2, Bill is pointing to a change from bug 1173756:
http://hg.mozilla.org/mozilla-central/diff/23d5ef182400/dom/asmjscache/AsmJSCache.cpp#l1145
Blocks: 1247130
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Luke Wagner [:luke] from comment #4)
> Jan: does anything about this jump out to you? I'm guessing this is related
> to bug 1173756.
I don't think I introduced this behavior, we used to call OnOpenMetadataForRead() on that line of code and since there was just one caller of that method I replaced the call with inlined code.
Anyway, I think we should check mActorDestroyed before calling Send__delete() like we do in Fail().
Let me try it.
Flags: needinfo?(jvarga)
| Assignee | ||
Comment 7•10 years ago
|
||
Actually, calling Fail() makes more sense here I think.
Comment 8•10 years ago
|
||
Comment on attachment 8718761 [details] [diff] [review]
patch
Review of attachment 8718761 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8718761 -
Flags: review?(luke) → review+
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(wmccloskey)
Comment 10•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•