bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libc failure


From: Marcus Brinkmann
Subject: Re: libc failure
Date: Mon, 18 Nov 2002 15:44:49 +0100
User-agent: Mutt/1.4i

On Mon, Nov 18, 2002 at 09:26:56AM +0100, Marcus Brinkmann wrote:
> this is a bit more debugging info on the glibc 2.3 release (I will try the
> latest version soon, I just want to send this as long as I am still able to
> reproduce it).  I don't really know how to make sense of this.  I spotted
> that main_arena's next pointer is zero, while the code assumes that the list
> is circular.

Just to give everyone an update, the glibc problem is fixed by not calling
the malloc atfork hooks when glibc's malloc is not used (bash ships its own
malloc implementation).  The following change, which is not yet in glibc,
fixes that (you can find the actual patch on libc-alpha@sources.redhat.com).

2002-11-18  Wolfram Gloger  <wg@malloc.de>

        * malloc/arena.c
        (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
        nothing if not initialized.  Bug report from Marcus Brinkmann
        <Marcus.Brinkmann@ruhr-uni-bochum.de>.

I just made debs from the official 2.3 release with this patch, and it
appears to be working fine.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]