Skip to content

Instantly share code, notes, and snippets.

@danielhams
Created July 20, 2020 11:24
Show Gist options
  • Save danielhams/70d309adca57d51e510ea2e047d64ee3 to your computer and use it in GitHub Desktop.
Save danielhams/70d309adca57d51e510ea2e047d64ee3 to your computer and use it in GitHub Desktop.
Stack trace of the gdk_x_error triggered with the simple application
Breakpoint 1, gdk_x_error (display=0x10043630, error=0x7ffb72a8)
at gdkmain-x11.c:459
459 if (error->error_code)
(gdb) where
#0 gdk_x_error (display=0x10043630, error=0x7ffb72a8) at gdkmain-x11.c:459
#1 0x04a29650 in _XError (dpy=0x10043630, rep=0x101335f8) at XlibInt.c:1491
#2 0x04a232fc in handle_error (dpy=0x10043630, err=0x101335f8, in_XReply=0)
at xcb_io.c:200
#3 0x04a23aa4 in handle_response (dpy=0x10043630, response=0x101335f8,
in_XReply=0) at xcb_io.c:325
#4 0x04a23c68 in _XEventsQueued (dpy=0x10043630, mode=1) at xcb_io.c:364
#5 0x04a244a8 in _XFlush (dpy=0x10043630) at xcb_io.c:519
#6 0x04a29d94 in _XGetRequest (dpy=0x10043630, type=56 '8', len=12)
at XlibInt.c:1764
#7 0x049e54dc in _XFlushGCCache (dpy=0x10043630, gc=0x1006e4f0) at CrGC.c:323
#8 0x04a175b0 in XSetClipMask (dpy=0x10043630, gc=0x1006e4f0, mask=0)
at SetClMask.c:43
#9 0x040aec10 in _gdk_windowing_gc_set_clip_region (gc=0x1006d558,
region=0x0, reset_origin=0) at gdkgc-x11.c:621
#10 0x04029440 in _gdk_gc_set_clip_region_real (gc=0x1006d558, region=0x0,
reset_origin=0) at gdkgc.c:654
#11 0x04029af0 in _gdk_gc_remove_drawable_clip (gc=0x1006d558) at gdkgc.c:785
#12 0x04029c28 in IA__gdk_gc_set_clip_rectangle (gc=0x1006d558,
rectangle=0x7ffb7bf4) at gdkgc.c:810
#13 0x60368730 in gtk_default_draw_flat_box (style=0x10066318,
window=0x10056180, state_type=GTK_STATE_NORMAL,
shadow_type=GTK_SHADOW_NONE, area=0x7ffb7bf4, widget=0x10063820,
detail=0x606ebab0 "base", x=0, y=0, width=640, height=480)
at gtkstyle.c:3826
#14 0x60372c10 in IA__gtk_paint_flat_box (style=0x10066318, window=0x10056180,
state_type=GTK_STATE_NORMAL, shadow_type=GTK_SHADOW_NONE, area=0x7ffb7bf4,
widget=0x10063820, detail=0x606ebab0 "base", x=0, y=0, width=-1, height=-1)
at gtkstyle.c:6246
#15 0x60500ba8 in gtk_window_paint (widget=0x10063820, area=0x7ffb7bf4)
at gtkwindow.c:6625
#16 0x60500c3c in gtk_window_expose (widget=0x10063820, event=0x7ffb7be8)
at gtkwindow.c:6634
#17 0x6022ba9c in _gtk_marshal_BOOLEAN__BOXED (closure=0x1005bf38,
return_value=0x7ffb7830, n_param_values=2, param_values=0x7ffb7930,
invocation_hint=0x7ffb7818, marshal_data=0x60500bc8 <gtk_window_expose>)
at gtkmarshalers.c:84
#18 0x0455feec in g_closure_invoke () from /usr/sgug/lib32/libgobject-2.0.so.0
#19 0x04577c20 in signal_emit_unlocked_R ()
from /usr/sgug/lib32/libgobject-2.0.so.0
#20 0x04583424 in g_signal_emit_valist ()
from /usr/sgug/lib32/libgobject-2.0.so.0
#21 0x04583de0 in g_signal_emit () from /usr/sgug/lib32/libgobject-2.0.so.0
#22 0x604d2a74 in gtk_widget_event_internal (widget=0x10063820,
event=0x7ffb7be8) at gtkwidget.c:5017
#23 0x604d24c4 in IA__gtk_widget_send_expose (widget=0x10063820,
event=0x7ffb7be8) at gtkwidget.c:4846
#24 0x60224a90 in IA__gtk_main_do_event (event=0x7ffb7be8) at gtkmain.c:1623
#25 0x04063514 in _gdk_window_process_updates_recurse (window=0x10056180,
expose_region=0x10058540) at gdkwindow.c:5479
#26 0x040e6488 in _gdk_windowing_window_process_updates_recurse (
window=0x10056180, region=0x10058540) at gdkwindow-x11.c:5643
#27 0x040639dc in gdk_window_process_updates_internal (window=0x10056180)
at gdkwindow.c:5646
#28 0x04063e00 in IA__gdk_window_process_all_updates () at gdkwindow.c:5752
#29 0x04062f48 in gdk_window_update_idle (data=0x0) at gdkwindow.c:5372
#30 0x0401521c in gdk_threads_dispatch (data=0x1003f810) at gdk.c:534
#31 0x04632a44 in g_main_context_dispatch ()
from /usr/sgug/lib32/libglib-2.0.so.0
#32 0x04632ec4 in g_main_context_iterate.isra.0 ()
from /usr/sgug/lib32/libglib-2.0.so.0
#33 0x04633398 in g_main_loop_run () from /usr/sgug/lib32/libglib-2.0.so.0
#34 0x60223b28 in IA__gtk_main () at gtkmain.c:1270
#35 0x10000f48 in main (argc=1, argv=0x7ffb7f44) at main.c:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment