bug-hurd
[Top][All Lists]
Advanced

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

Bug#88690: mtrace triggers SIGBUS at first malloc


From: Marcus Brinkmann
Subject: Bug#88690: mtrace triggers SIGBUS at first malloc
Date: Wed, 7 Mar 2001 19:39:51 +0100
User-agent: Mutt/1.3.15i

On Tue, Mar 06, 2001 at 10:10:06PM +0100, Marcus Brinkmann wrote:
> the smallest test case is here:
> 
> #include <stdlib.h>
> #include <mcheck.h>
> main(){ mtrace();malloc(1); }
> 
> gcc -O3 -g -o main main.c -lthreads
> 
> So it has something to do with the threads library and I am reassigning to
> the Hurd.

So I think this might have something to do with what _cthread_init_routine
does, or with the special code in libc/sysdeps/mach/hurd/i386/init-first
when this function is defined. I don't understand this code at all, and I
have no idea how to debug it any further than that.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de




reply via email to

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