$ gdb bmpx GNU gdb 6.3 Copyright 2004 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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/local/bin/bmpx [Thread debugging using libthread_db enabled] [New Thread -1224632656 (LWP 5332)] [New Thread -1232311376 (LWP 5335)] [New Thread -1240704080 (LWP 5338)] [New Thread -1249367120 (LWP 5339)] [New Thread -1259648080 (LWP 5340)] [New Thread -1268040784 (LWP 5341)] (bmpx:5332): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1224632656 (LWP 5332)] 0x08086ac8 in bmp_ui_callback_add_cd (action=0x83ac748, data=0x0) at ui_callbacks.c:759 759 full_uri = (gdb) bt #0 0x08086ac8 in bmp_ui_callback_add_cd (action=0x83ac748, data=0x0) at ui_callbacks.c:759 #1 0xb7215a86 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #2 0xb71ff8ad in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #3 0xb7214464 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0 #4 0x00000000 in ?? () #5 0x00000001 in ?? () #6 0xbfb65210 in ?? () #7 0xbfb650d8 in ?? () #8 0xbfb650b0 in ?? () #9 0xbfb65090 in ?? () #10 0x00000010 in ?? () #11 0x00000001 in ?? () #12 0x00000000 in ?? () #13 0x080a85b8 in stderr@@GLIBC_2.0 () #14 0xbfb650d8 in ?? () #15 0x080a85b8 in stderr@@GLIBC_2.0 () #16 0xbfb650d0 in ?? () #17 0xbfb650b0 in ?? () #18 0xbfb65080 in ?? () #19 0x00000000 in ?? () #20 0x0830e288 in ?? () ---Type to continue, or q to quit--- #21 0x00000001 in ?? () #22 0x00000010 in ?? () #23 0x080a85b8 in stderr@@GLIBC_2.0 () #24 0x0830d4d8 in ?? () #25 0x0830d4f8 in ?? () #26 0xb720bf40 in class_closures_cmp () from /usr/lib/libgobject-2.0.so.0 Previous frame inner to this frame (corrupt stack?)