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 [EMAIL PROTECTED]).

2002-11-18  Wolfram Gloger  <[EMAIL PROTECTED]>

        * malloc/arena.c
        (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
        nothing if not initialized.  Bug report from Marcus Brinkmann
        <[EMAIL PROTECTED]>.

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    [EMAIL PROTECTED]
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de/


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to