SV: Which thread caused dump?

Daniel Jacobowitz drow@false.org
Tue Aug 29 13:27:00 GMT 2006


On Tue, Aug 29, 2006 at 03:23:11PM +0200, Steffen Schumacher wrote:
> Ok but it doesn't show me much. Hmm.. 
> 
> My stack must have been overwritten:
> > (gdb) bt
> > #0  0x2834f46b in pthread_testcancel () from /usr/lib/libpthread.so.2
> > #1  0x28347e3c in pthread_mutexattr_init () from
> > /usr/lib/libpthread.so.2
> > #2  0x284fa450 in ?? ()
> > (gdb)
> 
> #2 seems to start out of the blue..
> How do you go about chasing a bug like this?

Maybe try getting system libraries with debugging; GDB has apparently
not got enough information to backtrace out of libpthread.so.2.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list