$ sudo gdb /bin/Thunar 86333 GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /bin/Thunar... Reading symbols from /usr/lib/debug/.build-id/1a/6c2936c3839bf717ce256f7a1ee073d1e44ee9.debug... Attaching to program: /usr/bin/Thunar, process 86333 [New LWP 86334] [New LWP 86335] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x000014c9d0e94aff in __GI___poll (fds=0x562b6e383b80, nfds=5, timeout=623) at ../sysdeps/unix/sysv/linux/poll.c:29 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. (gdb) set verbose on (gdb) cont Continuing. Reading in symbols for ../../../glib/gmessages.c...done. Thread 1 "thunar" received signal SIGTRAP, Trace/breakpoint trap. _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554 554 ../../../glib/gmessages.c: No such file or directory. (gdb) bt Reading in symbols for ../../../../../gdk/x11/gdkdisplay-x11.c...done. Reading in symbols for ../../../../../gdk/x11/gdkmain-x11.c...done. #0 _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554 #1 0x000014c9d0fcda9c in g_log_writer_default (log_level=6, log_level@entry=G_LOG_LEVEL_ERROR, fields=fields@entry=0x7ffeb5dd4b70, n_fields=n_fields@entry=6, user_data=user_data@entry=0x0) at ../../../glib/gmessages.c:2694 #2 0x000014c9d0fcbcf7 in g_log_structured_array (n_fields=6, fields=0x7ffeb5dd4b70, log_level=G_LOG_LEVEL_ERROR) at ../../../glib/gmessages.c:1925 #3 g_log_structured_array (log_level=G_LOG_LEVEL_ERROR, fields=0x7ffeb5dd4b70, n_fields=6) at ../../../glib/gmessages.c:1898 Reading in symbols for ../../../../../gdk/x11/gdkdnd-x11.c...done. #4 0x000014c9d0fcc724 in g_log_structured_standard (log_domain=log_domain@entry=0x14c9d157e017 "Gdk", log_level=log_level@entry=G_LOG_LEVEL_ERROR, file=file@entry=0x14c9d159ca20 "../../../../../gdk/x11/gdkdisplay-x11.c", line=line@entry=0x14c9d159c477 "2763", func=func@entry=0x14c9d159d110 <__func__.80557> "_gdk_x11_display_error_event", message_format=message_format@entry=0x14c9d159d466 "%s") at ../../../glib/gmessages.c:1982 #5 0x000014c9d153bcea in _gdk_x11_display_error_event (display=display@entry=Reading in symbols for ../../../gobject/gtype.c...done. Reading in symbols for ../../../glib/gquark.c...done. 0x562b6e3120e0 [GdkX11Display], error=error@entry=0x7ffeb5dd51c0) at ../../../../../gdk/x11/gdkdisplay-x11.c:2763 #6 0x000014c9d1548d13 in gdk_x_error (error=0x7ffeb5dd51c0, xdisplay=0x562b6e300690) at ../../../../../gdk/x11/gdkmain-x11.c:307 #7 gdk_x_error (xdisplay=0x562b6e300690, error=0x7ffeb5dd51c0) at ../../../../../gdk/x11/gdkmain-x11.c:269 Reading in symbols for ../../../../gdk/gdkdnd.c...done. #8 0x000014c9d0ab90db in _XError () at /lib/x86_64-linux-gnu/libX11.so.6 #9 0x000014c9d0ab5e47 in () at /lib/x86_64-linux-gnu/libX11.so.6 #10 0x000014c9d0ab5ee5 in () at /lib/x86_64-linux-gnu/libX11.so.6 #11 0x000014c9d0ab6e6d in _XReply () at /lib/x86_64-linux-gnu/libX11.so.6 #12 0x000014c9d0ab2641 in XSync () at /lib/x86_64-linux-gnu/libX11.so.6 #13 0x000014c9d0ab26df in () at /lib/x86_64-linux-gnu/libX11.so.6 Reading in symbols for ../../../../gdk/gdkevents.c...done. #14 0x000014c9d1542ca5 in gdk_window_cache_new (screen=0x562b6e3160d0 [GdkX11Screen]) at ../../../../../gdk/x11/gdkdnd-x11.c:642 Reading in symbols for ../../../../../gdk/x11/gdkeventsource.c...done. #15 gdk_window_cache_get (screen=0x562b6e3160d0 [GdkX11Screen]) at ../../../../../gdk/x11/gdkdnd-x11.c:708 #16 drag_context_find_window_cache (screen=0x562b6e3160d0 [GdkX11Screen], context_x11=) at ../../../../../gdk/x11/gdkdnd-x11.c:2117 #17 gdk_x11_drag_context_find_window (context=, drag_window=0x562b6e7fb580 [GdkX11Window], screen=0x562b6e3160d0 [GdkX11Screen], x_root=4293, y_root=850, protocol=0x7ffeb5dd55ac) at ../../../../../gdk/x11/gdkdnd-x11.c:2140 #18 0x000014c9d150ec40 in gdk_drag_find_window_for_screen (context=context@entry=0x562b6e6b9aa0 [GdkX11DragContext], drag_window=0x562b6e7fb580 [GdkX11Window], screen=0x562b6e3160d0 [GdkX11Screen], x_root=x_root@entry=4293, y_root=y_root@entry=850, dest_window=dest_window@entry=0x7ffeb5dd55b0, protocol=0x7ffeb5dd55ac) at ../../../../gdk/gdkdnd.c:393 #19 0x000014c9d15403b5 in gdk_drag_update (context=context@entry=0x562b6e6b9aa0 [GdkX11DragContext], x_root=, y_root=, mods=, evtime=1374938) at ../../../../../gdk/x11/gdkdnd-x11.c:2950 Reading in symbols for ../../../gio/gapplication.c...done. #20 0x000014c9d15405b3 in gdk_dnd_handle_motion_event (event=0x562b6e83d2a0, context=0x562b6e6b9aa0 [GdkX11DragContext]) at ../../../../../gdk/x11/gdkdnd-x11.c:2968 #21 gdk_x11_drag_context_handle_event (event=0x562b6e83d2a0, context=0x562b6e6b9aa0 [GdkX11DragContext]) at ../../../../../gdk/x11/gdkdnd-x11.c:3149 Reading in symbols for ../sysdeps/x86/libc-start.c...done. #22 gdk_x11_drag_context_handle_event (context=0x562b6e6b9aa0 [GdkX11DragContext], event=0x562b6e83d2a0) at ../../../../../gdk/x11/gdkdnd-x11.c:3136 #23 0x000014c9d150f4ce in gdk_drag_context_handle_source_event (event=event@entry=0x562b6e83d2a0) at ../../../../gdk/gdkdnd.c:748 #24 0x000014c9d150ff5d in _gdk_event_emit (event=event@entry=0x562b6e83d2a0) at ../../../../gdk/gdkevents.c:69 #25 0x000014c9d1543106 in gdk_event_source_dispatch (source=, callback=, user_data=) at ../../../../../gdk/x11/gdkeventsource.c:367 #26 0x000014c9d0fc4f9d in g_main_dispatch (context=0x562b6e2bee70) at ../../../glib/gmain.c:3309 #27 g_main_context_dispatch (context=context@entry=0x562b6e2bee70) at ../../../glib/gmain.c:3974 #28 0x000014c9d0fc5220 in g_main_context_iterate (context=context@entry=0x562b6e2bee70, block=block@entry=1, dispatch=dispatch@entry=1, self=) at ../../../glib/gmain.c:4047 #29 0x000014c9d0fc52c3 in g_main_context_iteration (context=context@entry=0x562b6e2bee70, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #30 0x000014c9d11defd5 in g_application_run (application=0x562b6e2d60f0 [ThunarApplication], argc=, argv=) at ../../../gio/gapplication.c:2559 #31 0x0000562b6e00a471 in main (argc=2, argv=0x7ffeb5dd5918) at main.c:161 (gdb) q A debugging session is active. Inferior 1 [process 86333] will be detached. Quit anyway? (y or n) y Detaching from program: /usr/bin/Thunar, process 86333 [Inferior 1 (process 86333) detached]