This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB locks up -- Cannot find new threads: generic error


On Tue, May 03, 2005 at 09:55:23PM +0100, David Lecomber wrote:
> 
> Sorry Dan, it didn't work:
> 
> (gdb) b main
> Breakpoint 1 at 0x80484dd: file foo.c, line 15.
> (gdb) r
> Starting program: /users/david/a.out
> warning: linux_test_for_tracefork: Needed to use long, but second half
> was clobbered

Well, that's something - Andreas was right about your kernel having
this broken.  The patch may be a good idea anyway to prevent really odd
stack corruption bugs.

> Failed to read a valid object file image from memory.
> [Thread debugging using libthread_db enabled]
> Error while reading shared library symbols:
> Cannot find new threads: generic error
> 
> 
> followed by hanging..

I will need more information to help you.  Useful things: strace of
gdb, backtrace at the time of the hang, whatever else you can think of
to try...

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]