Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* "Cannot find new threads" on Fedora 9, but not on CentOS 5 (?)
@ 2008-10-28  0:25 Andrew Lofthouse
  2008-10-28  0:42 ` Paul Pluzhnikov
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Lofthouse @ 2008-10-28  0:25 UTC (permalink / raw)
  To: gdb

I'm trying to debug an application that throws a SEGFAULT in a shared 
library.  On Fedora 9 (and on Ubuntu 8.04), I get the following error:

[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error
Cannot find new threads: generic error

However, when using CentOS 5, the debugging session seems to work fine 
and gives the following output:

[Detaching after fork from child process 1973]
[Detaching after fork from child process 1992]
[Detaching after fork from child process 2004]

Program received signal SIGSEGV, Segmentation fault.

etc, etc--basically gdb works and tells me where the segmentation fault is.

So, I know that Fedora 9/Ubuntu 8.04 use gdb version 6.8, while CentOS 5 
uses version 6.5.  Why can an earlier version of gdb work fine, while 
the later version doesn't work?  What can I do so that the later version 
works?

Thanks,

Andrew L.


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-12-18 19:36 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-28  0:25 "Cannot find new threads" on Fedora 9, but not on CentOS 5 (?) Andrew Lofthouse
2008-10-28  0:42 ` Paul Pluzhnikov
     [not found]   ` <4906615E.50606@gmail.com>
     [not found]     ` <8ac60eac0810271836saf8c28pb1392b77c7926be0@mail.gmail.com>
2008-10-29  1:16       ` Andrew Lofthouse
2008-10-29  1:52         ` Daniel Jacobowitz
2008-10-29  2:21         ` Paul Pluzhnikov
2008-10-30  1:11           ` Andrew Lofthouse
2008-10-30  1:30             ` Paul Pluzhnikov
2008-11-01  2:30               ` Andrew Lofthouse
2008-11-01  6:47                 ` Paul Pluzhnikov
2008-11-01 15:29                   ` Andrew Lofthouse
2008-11-01 21:41                     ` Paul Pluzhnikov
2008-11-02 12:54                       ` Andrew Lofthouse
2008-11-04  0:50                       ` Tom Tromey
2008-12-12 22:50                         ` Tom Tromey
2008-12-12 23:04                           ` Daniel Jacobowitz
2008-12-12 23:30                             ` Tom Tromey
2008-12-18 19:36                               ` Michael Snyder
2008-12-12 23:06                           ` Paul Pluzhnikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox