This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Make malloc routines use mmap if heap is corrupt


On Tue, Sep 27, 2011 at 03:53:14PM +0200, Marek Polacek wrote:
> On 09/27/2011 03:45 PM, Siddhesh Poyarekar wrote:
> > If the heap is found to be corrupt, the default action currently is to
> > print a backtrace, the memory map and then abort(). If the arena lock
> > has been held during this time, this can result in a deadlock since
> > __backtrace calls routines in the loader that may result in malloc
> > calls.
> 
> I think this should go to libc-alpha.  Also there's missing CL entry.
> 

Thanks, I got from this:

http://sourceware.org/glibc/wiki/HomePage#Contributing

that I need to first send my patch here for initial review and if it
is fine, post to libc-alpha after formatting according to:

http://sourceware.org/glibc/wiki/Contribution%20checklist

Should I add the missing ChangeLog (and follow the rest of the
checklist too) and post here or directly on libc-alpha?

Thanks,
Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]