gdb gnome-panel
set env GDK_SYNCHRONIZE 1
break gdk_x_error
run --replace
bt full
(gdb) break gdk_x_error said
Function "gdk_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
This gave me
Thread 1 "gnome-panel" hit Breakpoint 1, gdk_x_error (xdisplay=0x5555557f38f0, error=0x7fffffffc320)
at ../../../../../gdk/x11/gdkmain-x11.c:272
272 ../../../../../gdk/x11/gdkmain-x11.c: No such file or directory.
OK.
I followed the instructions for getting -dbgsym.ddeb packages /wiki.ubuntu. com/Debug% 20Symbol% 20Packages
from https:/
Then Installed
gnome-panel-dbgsym
libgtk-3-0-dbgsym
using synaptic
Then
gdb gnome-panel
set env GDK_SYNCHRONIZE 1
break gdk_x_error
run --replace
bt full
(gdb) break gdk_x_error said
Function "gdk_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
This gave me
Thread 1 "gnome-panel" hit Breakpoint 1, gdk_x_error (xdisplay= 0x5555557f38f0, error=0x7ffffff fc320) ./../.. /gdk/x11/ gdkmain- x11.c:272 ./../.. /gdk/x11/ gdkmain- x11.c: No such file or directory.
at ../../.
272 ../../.
The backtrace is attached.