This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: [PATCH][RFC] Make malloc routines use mmap if heap is corrupt
- From: Marek Polacek <mpolacek at redhat dot com>
- To: Siddhesh Poyarekar <spoyarek at redhat dot com>
- Cc: libc-help at sourceware dot org
- Date: Tue, 27 Sep 2011 15:53:14 +0200
- Subject: Re: [PATCH][RFC] Make malloc routines use mmap if heap is corrupt
- References: <20110927134252.GC27744@spoyarek.pnq.redhat.com>
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