I tried this in gdb too: $ gdb gitg GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3 Copyright (C) 2019 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 gitg... (No debugging symbols found in gitg) (gdb) run Starting program: /usr/bin/gitg [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff2c3e700 (LWP 27955)] [New Thread 0x7ffff243d700 (LWP 27956)] [New Thread 0x7ffff1aee700 (LWP 27957)] [New Thread 0x7ffff0f2a700 (LWP 27958)] [New Thread 0x7fffe3fff700 (LWP 27959)] [New Thread 0x7fffe37fe700 (LWP 27961)] [New Thread 0x7fffe2ffd700 (LWP 27962)] [New Thread 0x7fffe2345700 (LWP 27963)] [New Thread 0x7fffe1b44700 (LWP 27964)] [Thread 0x7fffe1b44700 (LWP 27964) exited] [Thread 0x7fffe2ffd700 (LWP 27962) exited] [Thread 0x7fffe37fe700 (LWP 27961) exited] [Thread 0x7fffe3fff700 (LWP 27959) exited] (gitg:27951): Gdk-ERROR **: 19:27:43.445: The program 'gitg' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 9454 error_code 11 request_code 130 (MIT-SHM) minor_code 5) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Thread 1 "gitg" received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff7d79955 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (gdb) bt #0 0x00007ffff7d79955 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007ffff7d7c32c in g_log_writer_default () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ffff7d7a597 in g_log_structured_array () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff7d7afb4 in g_log_structured_standard () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007ffff74c7bea in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #5 0x00007ffff74d4bb3 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #6 0x00007ffff66f50db in _XError () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #7 0x00007ffff66f1e47 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #8 0x00007ffff66f1ee5 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #9 0x00007ffff66f2e6d in _XReply () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #10 0x00007ffff66eff3d in XTranslateCoordinates () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #11 0x00007ffff74dc92a in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #12 0x00007ffff0fcef96 in () at /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so #13 0x00007ffff0fd0228 in () at /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so #14 0x00007ffff7896656 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #15 0x00007ffff789669e in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #16 0x00007ffff748feed in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #17 0x00007ffff7d7378e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007ffff7d73b40 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007ffff7d73be3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #20 0x00007ffff7317be5 in g_application_run () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #21 0x00005555555d198d in gitg_main_main () #22 0x00007ffff6cf61e3 in __libc_start_main (main= 0x555555577e50
, argc=1, argv=0x7fffffffde08, init=, fini=, rtld_fini=, stack_end=0x7fffffffddf8) at ../csu/libc-start.c:308 #23 0x0000555555577e9e in _start () (gdb)