This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Program terminated with signal SIGTRAP
- From: Tom Kirkpatrick <tom at settopsolutions dot com>
- To: gdb at sourceware dot org
- Cc: Tom Kirkpatrick <tom at settopsolutions dot com>
- Date: Fri, 20 Oct 2006 12:03:53 +0100
- Subject: Program terminated with signal SIGTRAP
Hi, I'm faily new to dgb but I have the basics. I'm trying to debug a
segfault on a multi-threaded application (helix-client), but gdb
isn't happy. This is what happens when I run it:
---
root@STV:~/helix$ gdb
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-oe-linux".
(gdb) set args rtsp://rmv8.bbc.net.uk/news/olmedia/n5ctrl/summaries/
weather/hc_weather_uk_bb.rm
(gdb) file splay
Reading symbols from /home/root/helix/splay...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /home/root/helix/splay rtsp://rmv8.bbc.net.uk/news/
olmedia/n5ctrl/summaries/weather/hc_weather_uk_bb.rm
Simpleplayer is looking for the client core at ./hxmedpltfm.so
Common DLL path DT_Common=.
Plugin path DT_Plugins=.
Codec path DT_Codecs=.
opening rtsp://rmv8.bbc.net.uk/news/olmedia/n5ctrl/summaries/weather/
hc_weather_uk_bb.rm on player 0
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.
---
as far as I can tell, this is something to do with threading... heres
a little info about my setup::
gdb: 6.4, compiled with:
--disable-gdbtk --disable-tui --disable-x \
--with-curses --disable-multilib --with-readline --disable-sim \
--program-prefix=''"
glibc: 2.4
gcc: 3.4.4
libthread-db1: 2.4
libc6: 2.4
can anyone provide a little insight as to what might be going on here
and what I can do to fix it?
many thanks
tom