bug-hurd
[Top][All Lists]
Advanced

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

Re: libthread


From: Marcus Brinkmann
Subject: Re: libthread
Date: Mon, 4 Feb 2002 20:47:50 +0100
User-agent: Mutt/1.3.27i

On Mon, Feb 04, 2002 at 09:50:56AM -0800, Justin  Langer wrote:
> I tried to trace it with gdb, set the break point of netfs_demuxer.

Before setting break points, you can try just to catch the crash in gdb. 
You managed to do this because apparently the break point was not reached.

> I got the following error:
> 
> Program Received Signal
> EXC_BAD_INSTRUCTION
> Illegal Instruction/Operand in cthread_fork_child() from 
> /lib/libthreads.so.0.2
> 
> Is it a bug in libthreads or my program.

Mmmh, this looks like a problem.  But we can't say more without a backtrace. 
Always do "bt" (and info threads, thread X, bt, for interesting threads, and
maybe "thread apply all bt", as well as "info reg" and maybe a disassembling
starting from the eip.

Did you compile your own hurd with debugging symbols?

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]