geek@liv-inspiron:~$ gdb thunar
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from thunar...Reading symbols from /usr/lib/debug/.build-id/7e/32b458faa818dfd7b90e73b285432feeed12c8.debug...done.
done.
(gdb) run
Starting program: /usr/bin/thunar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffedaec700 (LWP 1014)]
[New Thread 0x7fffed2eb700 (LWP 1016)]
[New Thread 0x7fffe4f7f700 (LWP 1018)]
(thunar:1010): GLib-CRITICAL **: Source ID 169 was not found when attempting to remove it
(thunar:1010): GLib-CRITICAL **: Source ID 296 was not found when attempting to remove it
Program received signal SIGSEGV, Segmentation fault.
_dbus_watch_invalidate (watch=0x0) at ../../dbus/dbus-watch.c:171
171 ../../dbus/dbus-watch.c: No such file or directory.
(gdb) bt
#0 _dbus_watch_invalidate (watch=0x0) at ../../dbus/dbus-watch.c:171
#1 0x00007ffff54449cd in free_watches (transport=transport@entry=0x5555558495a0) at ../../dbus/dbus-transport-socket.c:83
#2 0x00007ffff5444a39 in socket_disconnect (transport=0x5555558495a0) at ../../dbus/dbus-transport-socket.c:1019
#3 0x00007ffff5443ea7 in _dbus_transport_disconnect (transport=0x5555558495a0) at ../../dbus/dbus-transport.c:509
#4 0x00007ffff5444675 in _dbus_transport_queue_messages (transport=0x5555558495a0) at ../../dbus/dbus-transport.c:1165
#5 0x00007ffff542d539 in _dbus_connection_get_dispatch_status_unlocked (connection=0x555555849c20) at ../../dbus/dbus-connection.c:4238
#6 0x00007ffff542df86 in dbus_connection_get_dispatch_status (connection=0x555555849c20) at ../../dbus/dbus-connection.c:4369
#7 0x00007ffff5671cc3 in message_queue_prepare (source=<optimized out>, timeout=timeout@entry=0x7fffffffdcb4) at dbus-gmain.c:71
#8 0x00007ffff4b9e68d in g_main_context_prepare (context=context@entry=0x5555558472f0, priority=priority@entry=0x7fffffffdd38) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3352
#9 0x00007ffff4b9ef03 in g_main_context_iterate (context=0x5555558472f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3714
#10 0x00007ffff4b9f30a in g_main_loop_run (loop=0x5555560ecb70) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3928
#11 0x00007ffff6a28417 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x0000555555577809 in main (argc=1, argv=0x7fffffffdf48) at main.c:310
(gdb) quit
A debugging session is active.
And for good measure a gdb trace:
geek@liv- inspiron: ~$ gdb thunar gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>. debug/. build-id/ 7e/32b458faa818 dfd7b90e73b2854 32feeed12c8. debug.. .done. 64-linux- gnu/libthread_ db.so.1" .
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from thunar...Reading symbols from /usr/lib/
done.
(gdb) run
Starting program: /usr/bin/thunar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7fffedaec700 (LWP 1014)]
[New Thread 0x7fffed2eb700 (LWP 1016)]
[New Thread 0x7fffe4f7f700 (LWP 1018)]
(thunar:1010): GLib-CRITICAL **: Source ID 169 was not found when attempting to remove it
(thunar:1010): Gdk-CRITICAL **: IA__gdk_ window_ get_window_ type: assertion 'GDK_IS_WINDOW (window)' failed
(thunar:1010): GLib-CRITICAL **: Source ID 296 was not found when attempting to remove it
Program received signal SIGSEGV, Segmentation fault. invalidate (watch=0x0) at ../../dbus/ dbus-watch. c:171 dbus-watch. c: No such file or directory. invalidate (watch=0x0) at ../../dbus/ dbus-watch. c:171 transport@ entry=0x5555558 495a0) at ../../dbus/ dbus-transport- socket. c:83 0x5555558495a0) at ../../dbus/ dbus-transport- socket. c:1019 _disconnect (transport= 0x5555558495a0) at ../../dbus/ dbus-transport. c:509 _queue_ messages (transport= 0x5555558495a0) at ../../dbus/ dbus-transport. c:1165 n_get_dispatch_ status_ unlocked (connection= 0x555555849c20) at ../../dbus/ dbus-connection .c:4238 _get_dispatch_ status (connection= 0x555555849c20) at ../../dbus/ dbus-connection .c:4369 queue_prepare (source=<optimized out>, timeout= timeout@ entry=0x7ffffff fdcb4) at dbus-gmain.c:71 context_ prepare (context= context@ entry=0x5555558 472f0, priority= priority@ entry=0x7ffffff fdd38) at /build/ buildd/ glib2.0- 2.40.2/ ./glib/ gmain.c: 3352 context_ iterate (context= 0x5555558472f0, block=block@ entry=1, dispatch= dispatch@ entry=1, self=<optimized out>) buildd/ glib2.0- 2.40.2/ ./glib/ gmain.c: 3714 ecb70) at /build/ buildd/ glib2.0- 2.40.2/ ./glib/ gmain.c: 3928 x86_64- linux-gnu/ libgtk- x11-2.0. so.0 df48) at main.c:310
_dbus_watch_
171 ../../dbus/
(gdb) bt
#0 _dbus_watch_
#1 0x00007ffff54449cd in free_watches (transport=
#2 0x00007ffff5444a39 in socket_disconnect (transport=
#3 0x00007ffff5443ea7 in _dbus_transport
#4 0x00007ffff5444675 in _dbus_transport
#5 0x00007ffff542d539 in _dbus_connectio
#6 0x00007ffff542df86 in dbus_connection
#7 0x00007ffff5671cc3 in message_
#8 0x00007ffff4b9e68d in g_main_
#9 0x00007ffff4b9ef03 in g_main_
at /build/
#10 0x00007ffff4b9f30a in g_main_loop_run (loop=0x5555560
#11 0x00007ffff6a28417 in gtk_main () from /usr/lib/
#12 0x0000555555577809 in main (argc=1, argv=0x7fffffff
(gdb) quit
A debugging session is active.
Inferior 1 [process 1010] will be killed.
Quit anyway? (y or n) y