Bug#950604: gitg: Gdk-ERROR **: 04:20:22.357: The program 'gitg' received an X Window System error.

Christoph Anton Mitterer calestyo at scientia.net
Tue Feb 4 03:22:28 GMT 2020


Package: gitg
Version: 3.32.1-1
Severity: important


Hi.

When clicking at the a certain commit within gitg it crashes with the following in gdb:
$ gdb gitg .
GNU gdb (Debian 8.3.1-1) 8.3.1
Copyright (C) 2019 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 gitg...
(No debugging symbols found in gitg)
"/home/calestyo/prj/cfg/x/rkhunter/." is not a core dump: Is a directory
(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 0x7ffff20a8700 (LWP 2810892)]
[New Thread 0x7ffff18a7700 (LWP 2810893)]
[New Thread 0x7ffff0fb8700 (LWP 2810894)]
[New Thread 0x7fffe3fff700 (LWP 2810895)]
[New Thread 0x7fffe33ce700 (LWP 2810896)]
[New Thread 0x7fffe2bcd700 (LWP 2810897)]
[Thread 0x7fffe2bcd700 (LWP 2810897) exited]
[Thread 0x7fffe3fff700 (LWP 2810895) exited]
[New Thread 0x7fffe3fff700 (LWP 2810898)]
[Thread 0x7fffe3fff700 (LWP 2810898) exited]

(gitg:2810888): Gdk-ERROR **: 04:20:22.357: 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 7135 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.
_g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
554	../../../glib/gmessages.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7d79e25 in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
#1  0x00007ffff7d7c72c in g_log_writer_default (log_level=6, log_level at entry=G_LOG_LEVEL_ERROR, fields=fields at entry=0x7fffffffd0a0, n_fields=n_fields at entry=6, user_data=user_data at entry=0x0)
    at ../../../glib/gmessages.c:2694
#2  0x00007ffff7d7aa57 in g_log_structured_array (n_fields=6, fields=0x7fffffffd0a0, log_level=G_LOG_LEVEL_ERROR) at ../../../glib/gmessages.c:1925
#3  0x00007ffff7d7aa57 in g_log_structured_array (log_level=G_LOG_LEVEL_ERROR, fields=0x7fffffffd0a0, n_fields=6) at ../../../glib/gmessages.c:1898
#4  0x00007ffff7d7b470 in g_log_structured_standard
    (log_domain=log_domain at entry=0x7ffff7523017 "Gdk", log_level=log_level at entry=G_LOG_LEVEL_ERROR, file=file at entry=0x7ffff7541a00 "../../../../../gdk/x11/gdkdisplay-x11.c", line=line at entry=0x7ffff7541457 "2763", func=func at entry=0x7ffff75420f0 <__func__.78549> "_gdk_x11_display_error_event", message_format=message_format at entry=0x7ffff7542442 "%s")
    at ../../../glib/gmessages.c:1982
#5  0x00007ffff74e261a in _gdk_x11_display_error_event (display=display at entry=0x55555564b080 [GdkX11Display], error=error at entry=0x7fffffffd6f0)
    at ../../../../../gdk/x11/gdkdisplay-x11.c:2763
#6  0x00007ffff74ef453 in gdk_x_error (error=0x7fffffffd6f0, xdisplay=0x55555563c2b0) at ../../../../../gdk/x11/gdkmain-x11.c:307
#7  0x00007ffff74ef453 in gdk_x_error (xdisplay=0x55555563c2b0, error=0x7fffffffd6f0) at ../../../../../gdk/x11/gdkmain-x11.c:269
#8  0x00007ffff676714b in _XError () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#9  0x00007ffff6763f77 in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#10 0x00007ffff6764015 in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007ffff6764f6d in _XReply () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007ffff676081d in XSync () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007ffff74ef791 in _gdk_x11_display_send_xevent
    (display=display at entry=0x55555564b080 [GdkX11Display], window=<optimized out>, propagate=propagate at entry=0, event_mask=event_mask at entry=0, event_send=event_send at entry=0x7fffffffd930)
    at ../../../../../gdk/x11/gdkmain-x11.c:363
#14 0x00007ffff74f3fbb in _gdk_x11_display_send_selection_notify
    (display=0x55555564b080 [GdkX11Display], requestor=<optimized out>, selection=<optimized out>, target=0x8c, property=0x72, time=34849809)
    at ../../../../../gdk/x11/gdkselection-x11.c:329
#15 0x00007ffff7842f75 in _gtk_selection_request (widget=widget at entry=0x555555770380 [GtkInvisible], event=event at entry=0x555555c56d30) at ../../../../gtk/gtkselection.c:2608
#16 0x00007ffff794d4bb in _gtk_marshal_BOOLEAN__BOXEDv
    (closure=0x555555679fa0, return_value=0x7fffffffdc10, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x555555679fd0)
    at gtkmarshalers.c:129
#17 0x00007ffff7e5d0e6 in _g_closure_invoke_va (closure=0x555555679fa0, return_value=0x7fffffffdc10, instance=0x555555770380, args=0x7fffffffdce0, n_params=1, param_types=0x555555679fd0)
    at ../../../gobject/gclosure.c:873
#18 0x00007ffff7e78c3b in g_signal_emit_valist (instance=0x555555770380, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7fffffffdce0)
    at ../../../gobject/gsignal.c:3306
#19 0x00007ffff7e7981f in g_signal_emit (instance=instance at entry=0x555555770380, signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3453
#20 0x00007ffff78f9222 in gtk_widget_event_internal (event=0x555555c56d30, widget=0x555555770380 [GtkInvisible]) at ../../../../gtk/gtkwidget.c:7808
#21 0x00007ffff78f9222 in gtk_widget_event_internal (widget=0x555555770380 [GtkInvisible], event=0x555555c56d30) at ../../../../gtk/gtkwidget.c:7677
#22 0x00007ffff77bb4ea in gtk_main_do_event (event=0x555555c56d30) at ../../../../gtk/gtkmain.c:1857
#23 0x00007ffff77bb4ea in gtk_main_do_event (event=<optimized out>) at ../../../../gtk/gtkmain.c:1687
#24 0x00007ffff74b77d5 in _gdk_event_emit (event=event at entry=0x555555c56d30) at ../../../../gdk/gdkevents.c:73
#25 0x00007ffff74e9972 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ../../../../../gdk/x11/gdkeventsource.c:367
#26 0x00007ffff7d73f1d in g_main_dispatch (context=0x55555562c480) at ../../../glib/gmain.c:3179
#27 0x00007ffff7d73f1d in g_main_context_dispatch (context=context at entry=0x55555562c480) at ../../../glib/gmain.c:3844
#28 0x00007ffff7d741a0 in g_main_context_iterate (context=context at entry=0x55555562c480, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3917
#29 0x00007ffff7d7422f in g_main_context_iteration (context=context at entry=0x55555562c480, may_block=may_block at entry=1) at ../../../glib/gmain.c:3978
#30 0x00007ffff733acfd in g_application_run (application=0x55555562a140 [GitgApplication], argc=<optimized out>, argv=<optimized out>) at ../../../gio/gapplication.c:2559
#31 0x00005555555cb569 in gitg_main_main ()
#32 0x00007ffff6d65bbb in __libc_start_main (main=
    0x555555573f50 <main>, argc=1, argv=0x7fffffffe118, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe108) at ../csu/libc-start.c:308
#33 0x0000555555573f8a in _start ()
(gdb) 


Feb 04 04:12:01 heisenberg kernel: traps: gitg[2797223] trap int3 ip:7f7eb588be25 sp:7ffc67fd1910 error:0 in libglib-2.0.so.0.6200.4[7f7eb5852000+80000]
Feb 04 04:12:10 heisenberg kernel: traps: gitg[2797238] trap int3 ip:7fbe144d9e25 sp:7fff3fd50800 error:0 in libglib-2.0.so.0.6200.4[7fbe144a0000+80000]
Feb 04 04:19:07 heisenberg kernel: traps: gitg[2810438] trap int3 ip:7f85a05efe25 sp:7ffcdfd70bf0 error:0 in libglib-2.0.so.0.6200.4[7f85a05b6000+80000]
Feb 04 04:19:36 heisenberg kernel: traps: gitg[2810556] trap int3 ip:7fc1afb47e25 sp:7ffdba784ec0 error:0 in libglib-2.0.so.0.6200.4[7fc1afb0e000+80000]


Cheers,
Chris.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gitg depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.12.16-2
ii  dbus-x11 [dbus-session-bus]                   1.12.16-2
ii  dconf-gsettings-backend [gsettings-backend]   0.34.0-2
ii  gir1.2-peas-1.0                               1.22.0-5
ii  git                                           1:2.25.0-1
ii  gsettings-desktop-schemas                     3.34.0-2
ii  libc6                                         2.29-9
ii  libcairo2                                     1.16.0-4
ii  libdazzle-1.0-0                               3.34.1-1
ii  libgdk-pixbuf2.0-0                            2.40.0+dfsg-2
ii  libgee-0.8-2                                  0.20.2-1
ii  libgirepository-1.0-1                         1.62.0-4
ii  libgit2-glib-1.0-0                            0.28.0.1-1+b1
ii  libglib2.0-0                                  2.62.4-1+b1
ii  libgtk-3-0                                    3.24.13-1
ii  libgtksourceview-3.0-1                        3.24.11-2
ii  libgtkspell3-3-0                              3.0.10-1
ii  libpango-1.0-0                                1.42.4-8
ii  libpeas-1.0-0                                 1.22.0-5
ii  libsecret-1-0                                 0.19.1-1
ii  libsoup2.4-1                                  2.68.2-1
ii  libxml2                                       2.9.4+dfsg1-8

gitg recommends no packages.

gitg suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list