This is the mail archive of the
mailing list for the GDB project.
Re: Program terminated by SIGTRAP in gdb
On Wed, Jan 14, 2009 at 4:37 PM, Albert Fu <email@example.com> wrote:
> Program received signal SIGTRAP, Trace/breakpoint trap.
This is happening because GDB did not attach some of the application
The most frequent causes are:
- libpthread.so.0 is stripped
What does the command below produce:
nm /lib/libpthread.so.0 | egrep '_version|threads_events'
- libpthread.so.0 does not match in version libthread_db.so.1
This may happen if you build your own glibc, but don't install
all the pieces of it.