Closed
Bug 787675
Opened 12 years ago
Closed 12 years ago
Trigger jemalloc release assertions from within a new stack frame
Categories
(Core :: Memory Allocator, defect)
Core
Memory Allocator
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file)
1.22 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
Right now, jemalloc assertions are hard to decipher in crashstats. A failed assertion crashes within the stack frame which invokes ASSERT, and presumably because of compiler optimizations, our crashstats often are not able to tell us exactly which assert failed. Anyway, I think we can fix this by crashing within a new stack frame. Patch in a moment.
Assignee | ||
Updated•12 years ago
|
Depends on: jemalloc-assertions
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #657570 -
Flags: review?(mh+mozilla)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → justin.lebar+bug
Comment 2•12 years ago
|
||
Comment on attachment 657570 [details] [diff] [review] Patch, v1 Review of attachment 657570 [details] [diff] [review]: ----------------------------------------------------------------- I think this should be done for MOZ_CRASH in a more general way, but that's ok to do it here for now (a related bug is bug 697301).
Attachment #657570 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 3•12 years ago
|
||
> I think this should be done for MOZ_CRASH in a more general way
Hm, yeah, I agree. Although I wonder if there are cases where MOZ_CRASH is used and they don't want an extra stack frame (e.g. because that might overflow the stack)?
Assignee | ||
Comment 4•12 years ago
|
||
I filed bug 788069 on the general MOZ_CRASH case, although it's more complicated than I expected...
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d155eefe75f3
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d155eefe75f3
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•