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

Marek Polacek mpolacek@redhat.com
Tue Sep 27 13:53:00 GMT 2011


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.

	Marek



More information about the Libc-help mailing list