Add "mozalloc_abort" crash reason to distinguish mozalloc_abort() and bare MOZ_CRASH() crashes
Categories
(Core :: MFBT, task, P3)
Tracking
()
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(2 files)
About 45% of MOZ_CRASH() crash pings on Beta (and 5-10% on Nightly and Release) have no crash reason, so the source can't be identified. Many of these are probably OOMs calling mozalloc_abort(), but we don't really know.
Bug 1278613 suggested passing mozalloc_abort()'s message parameter to MOZ_CRASH() or MOZ_CRASH_UNSAFE(), but there were concerns about the message containing PII or formatting the message after an OOM might crash.
Until someone addresses those concerns, we can at least add a static "mozalloc_abort" crash reason to distinguish mozalloc_abort() and bare MOZ_CRASH() crashes.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
This extra MOZ_CRASH() is not needed on non-ARM builds where mozalloc_abort() is a MOZ_NORETURN function.
Depends on D129114
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/dee2e7821994
https://hg.mozilla.org/mozilla-central/rev/2f3b5d0ef911
Description
•