Comment 3 for bug 599176

Revision history for this message
Thiago Figueiro (thiagocsf) wrote :

How do I add debugging symbols to xchat? This stack trace isn't particularly helpful...

thiago@aud22419-linux:/tmp$ gdb xchat-gnome
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/xchat-gnome...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/xchat-gnome
[Thread debugging using libthread_db enabled]
Xlib: extension "RANDR" missing on display ":0.0".

(xchat-gnome:30902): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0x000000000042a31b in ?? ()
(gdb) bt
#0 0x000000000042a31b in ?? ()
#1 0x000000000042af24 in ?? ()
#2 0x00007ffff55d45de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0x00007ffff55e8598 in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0x00007ffff55e9a76 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff55ea033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0x00007ffff667e708 in gtk_tree_selection_select_path () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x00007ffff667e7ed in gtk_tree_selection_select_iter () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x0000000000429783 in navigation_tree_select_session ()
#9 0x000000000042330a in fe_new_window ()
#10 0x000000000045fc85 in ?? ()
#11 0x000000000045fe25 in new_ircwindow ()
#12 0x00000000004486fc in inbound_ujoin ()
#13 0x00000000004650dc in ?? ()
#14 0x00000000004656b1 in ?? ()
#15 0x000000000045740c in ?? ()
#16 0x00007ffff51238c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#17 0x00007ffff5127748 in ?? () from /lib/libglib-2.0.so.0
#18 0x00007ffff5127c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
#19 0x00007ffff6593bb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x0000000000423379 in fe_main ()
#21 0x00000000004605ea in main ()
(gdb) q
A debugging session is active.

 Inferior 1 [process 30902] will be killed.

Quit anyway? (y or n) y