[gst-devel] Debugging GStreamer

Chris Ross chris at tebibyte.org
Thu Nov 30 16:25:45 CET 2006


Hi Jan,


On Thu, 30 Nov 2006, Jan Schmidt wrote:
> You should try gdb gst-inspect-0.10 instead.


Much more useful information this, thanks.

# gdb /usr/bin/gst-inspect-0.10
GNU gdb 6.5
Copyright (C) 2006 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 "arm-3d-linux"...Using host libthread_db 
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/gst-inspect-0.10
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 775)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 775)]
0x4034827c in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0x4034827c in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x403c174c in g_atomic_pointer_get (atomic=0x404467a4)
    at /opt/r20969/sw/external/flumotion/glib-2.10.3/glib/gatomic.c:650
#2  0x403f6ca8 in IA__g_static_private_set (private_key=0x40446680, 
data=0x1cfc0,
    notify=0x403c3664 <filename_charset_cache_free>)
    at /opt/r20969/sw/external/flumotion/glib-2.10.3/glib/gthread.c:430
#3  0x403c3890 in IA__g_get_filename_charsets 
(filename_charsets=0xbef54b6c)
    at /opt/r20969/sw/external/flumotion/glib-2.10.3/glib/gconvert.c:1160
#4  0x403c38fc in _g_convert_thread_init ()
    at /opt/r20969/sw/external/flumotion/glib-2.10.3/glib/gconvert.c:1265
#5  0x403f6e30 in g_thread_init_glib ()
    at /opt/r20969/sw/external/flumotion/glib-2.10.3/glib/gthread.c:167
#6  0x4003d72c in init_pre () at 
/opt/r20969/sw/external/flumotion/gstreamer-0.10.10/gst/gst.c:506
#7  0x403e65c0 in IA__g_option_context_parse (context=0x180e8, 
argc=0xbef54ccc, argv=0xbef54cc8,
    error=0xbef54c68) at 
/opt/r20969/sw/external/flumotion/glib-2.10.3/glib/goption.c:1273
#8  0x0000d7f0 in main (argc=1, argv=0xbef54d14)
    at 
/opt/r20969/sw/external/flumotion/gstreamer-0.10.10/tools/gst-inspect.c:1125
(gdb)


Regards,
Chris R.





More information about the gstreamer-devel mailing list