Hook jemalloc 3's abort()

RESOLVED FIXED in mozilla16

Status

()

Core
Memory Allocator
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

(Blocks: 1 bug)

unspecified
mozilla16
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

jemalloc 3 uses abort() in some cases, we should hijack it and make it use MOZ_CRASH.
Blocks: 762449
Assignee: nobody → mh+mozilla
Created attachment 631289 [details] [diff] [review]
Hook jemalloc's abort
Attachment #631289 - Flags: review?(justin.lebar+bug)
The mechanism used here for overriding "alert" is different from the mechanism we use to override malloc, right?  If so, I'd prefer we didn't use "__wrap_" to mean two different things.
Attachment #631289 - Flags: review?(justin.lebar+bug) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/50e4bd69933c
Target Milestone: --- → mozilla16
https://hg.mozilla.org/mozilla-central/rev/50e4bd69933c
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Blocks: 772423
You need to log in before you can comment on or make changes to this bug.