Last Comment Bug 762446 - Hook jemalloc 3's abort()
: Hook jemalloc 3's abort()
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Memory Allocator (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla16
Assigned To: Mike Hommey [:glandium]
:
Mentors:
Depends on: jemalloc3
Blocks: jemalloc4-by-default 772423
  Show dependency treegraph
 
Reported: 2012-06-07 05:22 PDT by Mike Hommey [:glandium]
Modified: 2012-07-10 06:52 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Hook jemalloc's abort (1.02 KB, patch)
2012-06-08 00:03 PDT, Mike Hommey [:glandium]
justin.lebar+bug: review+
Details | Diff | Splinter Review

Description Mike Hommey [:glandium] 2012-06-07 05:22:05 PDT
jemalloc 3 uses abort() in some cases, we should hijack it and make it use MOZ_CRASH.
Comment 1 Mike Hommey [:glandium] 2012-06-08 00:03:43 PDT
Created attachment 631289 [details] [diff] [review]
Hook jemalloc's abort
Comment 2 Justin Lebar (not reading bugmail) 2012-06-08 08:13:55 PDT
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.
Comment 4 Graeme McCutcheon [:graememcc] 2012-06-12 03:07:25 PDT
https://hg.mozilla.org/mozilla-central/rev/50e4bd69933c

Note You need to log in before you can comment on or make changes to this bug.