Bug#1105911: libgtk-3-0: Some applications didn't work on remote X server
WHR
whr at rivoreo.one
Sat May 17 06:54:37 BST 2025
Package: libgtk-3-0
Version: 3.24.38-2~deb12u3
Severity: important
X-Debbugs-Cc: whr at rivoreo.one
Dear Maintainers,
Some applications, such as the ones that uses libwebkit2gtk, are unable to
start on a remote X server, including the uses of SSH X11 forwarding.
The error message is similar to:
(MiniBrowser:1519): Gdk-WARNING **: 13:12:20.341: The program 'MiniBrowser' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 198 error_code 1 request_code 154 (unknown) minor_code 1)
(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.)
On the first glance, this issue looks like bug #1012746; however the
workaround (WEBKIT_DISABLE_COMPOSITING_MODE=1) mentioned there didn't work in
my case. By reading the stack trace, I think this has a different cause.
The full stack trace follows:
$ GDK_SYNCHRONIZE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1 gdb /usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/MiniBrowser
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 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:
<https://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 /usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/MiniBrowser...
Reading symbols from /usr/lib/debug/.build-id/cf/9ca5f17914593965ece21a46e381c27a3d360d.debug...
(gdb) b gdk_x_error
Function "gdk_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
(gdb) run
Starting program: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/MiniBrowser
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe01d26c0 (LWP 10026)]
[New Thread 0x7fff9b5fd6c0 (LWP 10027)]
[Detaching after fork from child process 10028]
[New Thread 0x7fff9adfc6c0 (LWP 10030)]
[New Thread 0x7fff9a5fb6c0 (LWP 10031)]
[New Thread 0x7fff99dfa6c0 (LWP 10032)]
[Thread 0x7fff99dfa6c0 (LWP 10032) exited]
[Detaching after vfork from child process 10033]
[New Thread 0x7fff99dfa6c0 (LWP 10034)]
[New Thread 0x7fff995f96c0 (LWP 10035)]
[New Thread 0x7fff98df86c0 (LWP 10036)]
[Thread 0x7fff98df86c0 (LWP 10036) exited]
[New Thread 0x7fff83fff6c0 (LWP 10037)]
[New Thread 0x7fff98df86c0 (LWP 10038)]
[Thread 0x7fff83fff6c0 (LWP 10037) exited]
[New Thread 0x7fff83fff6c0 (LWP 10039)]
[Thread 0x7fff98df86c0 (LWP 10038) exited]
[New Thread 0x7fff98df86c0 (LWP 10040)]
[Thread 0x7fff83fff6c0 (LWP 10039) exited]
[Thread 0x7fff98df86c0 (LWP 10040) exited]
[New Thread 0x7fff98df86c0 (LWP 10041)]
[New Thread 0x7fff83fff6c0 (LWP 10042)]
[Detaching after vfork from child process 10047]
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
[New Thread 0x7fff817ff6c0 (LWP 10049)]
[New Thread 0x7fff80ffe6c0 (LWP 10050)]
[New Thread 0x7fff735ff6c0 (LWP 10051)]
[New Thread 0x7fff72dfe6c0 (LWP 10052)]
[New Thread 0x7fff725fd6c0 (LWP 10053)]
[Thread 0x7fff72dfe6c0 (LWP 10052) exited]
[Thread 0x7fff735ff6c0 (LWP 10051) exited]
[Thread 0x7fff80ffe6c0 (LWP 10050) exited]
[Thread 0x7fff817ff6c0 (LWP 10049) exited]
[Thread 0x7fff725fd6c0 (LWP 10053) exited]
Thread 1 "MiniBrowser" hit Breakpoint 1.1, gdk_x_error (xdisplay=0x5555555a5ea0,
error=0x7fffffffcf30) at ../../../gdk/x11/gdkmain-x11.c:261
261 ../../../gdk/x11/gdkmain-x11.c: No such file or directory.
(gdb) bt
#0 gdk_x_error (xdisplay=0x5555555a5ea0, error=0x7fffffffcf30)
at ../../../gdk/x11/gdkmain-x11.c:261
#1 0x00007fffeade89eb in _XError () from /lib/x86_64-linux-gnu/libX11.so.6
#2 0x00007fffeade5657 in ?? () from /lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007fffeade56f5 in ?? () from /lib/x86_64-linux-gnu/libX11.so.6
#4 0x00007fffeade684d in _XReply () from /lib/x86_64-linux-gnu/libX11.so.6
#5 0x00007fffeadd0af3 in XInternAtom () from /lib/x86_64-linux-gnu/libX11.so.6
#6 0x00007ffff7c1ed11 in gdk_x11_atom_to_xatom_for_display (display=display at entry=0x5555555b40e0,
atom=0x95) at ../../../gdk/x11/gdkproperty-x11.c:115
#7 0x00007ffff7c1f0ed in gdk_x11_get_xatom_by_name_for_display (
display=display at entry=0x5555555b40e0,
atom_name=atom_name at entry=0x7ffff7c58e06 "_NET_SUPPORTING_WM_CHECK")
at ../../../gdk/x11/gdkproperty-x11.c:271
#8 0x00007ffff7c1fe0b in get_net_supporting_wm_check (screen=screen at entry=0x5555555ba020,
window=230) at ../../../gdk/x11/gdkscreen-x11.c:1497
#9 0x00007ffff7c20ca6 in fetch_net_wm_check_window (screen=0x5555555ba020)
at ../../../gdk/x11/gdkscreen-x11.c:1534
#10 0x00007ffff7c224ba in gdk_x11_screen_supports_net_wm_hint (screen=screen at entry=0x5555555ba020,
property=0x94) at ../../../gdk/x11/gdkscreen-x11.c:1614
#11 0x00007ffff7c22a52 in _gdk_x11_screen_get_monitor_work_area (
screen=screen at entry=0x5555555ba020, monitor=monitor at entry=0x5555555a1650,
area=area at entry=0x7fffffffd340) at ../../../gdk/x11/gdkscreen-x11.c:264
#12 0x00007ffff7c335a8 in gdk_x11_monitor_get_workarea (monitor=0x5555555a1650,
dest=0x7fffffffd3c0) at ../../../gdk/x11/gdkmonitor-x11.c:69
#13 0x00007ffff330663d in collectScreenProperties ()
at ./build-soup2/./Source/WebKit/UIProcess/gtk/ScreenManagerGtk.cpp:125
#14 0x00007ffff33022a2 in platformInitializeWebProcess ()
at ./Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:177
#15 0x00007ffff31b86d5 in initializeNewWebProcess ()
at ./Source/WebKit/UIProcess/WebProcessPool.cpp:1014
#16 0x00007ffff31b93a5 in createNewWebProcess ()
at ./Source/WebKit/UIProcess/WebProcessPool.cpp:797
#17 0x00007ffff31bbb3d in processForSite () at ./Source/WebKit/UIProcess/WebProcessPool.cpp:1220
#18 0x00007ffff31481b1 in launchProcess () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:1330
#19 0x00007ffff314d8e1 in loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2026
#20 0x00007ffff314e7d9 in loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2050
#21 loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2055
#22 loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2060
#23 0x00007ffff324879e in webkit_web_view_load_uri ()
at ./build-soup3/./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3367
#24 0x000055555556d87c in activate () at ./build-soup3/./Tools/MiniBrowser/gtk/main.c:980
#25 0x00007fffeaf5c3b0 in g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007fffeaf6f076 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007fffeaf75bf5 in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007fffeaf75dbf in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007fffeb082438 in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#30 0x00007fffeb0825c6 in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#31 0x000055555556cfa9 in main () at ./build-soup3/./Tools/MiniBrowser/gtk/main.c:1074
(gdb) c
Continuing.
Thread 1 "MiniBrowser" hit Breakpoint 1.2, 0x00007ffff7c1e580 in gdk_x_error (
error=0x7fffffffcf30, xdisplay=0x5555555a5ea0) at ../../../gdk/x11/gdkmain-x11.c:269
269 in ../../../gdk/x11/gdkmain-x11.c
(gdb) bt
#0 0x00007ffff7c1e580 in gdk_x_error (error=0x7fffffffcf30, xdisplay=0x5555555a5ea0)
at ../../../gdk/x11/gdkmain-x11.c:269
#1 gdk_x_error (xdisplay=0x5555555a5ea0, error=0x7fffffffcf30)
at ../../../gdk/x11/gdkmain-x11.c:258
#2 0x00007fffeade89eb in _XError () from /lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007fffeade5657 in ?? () from /lib/x86_64-linux-gnu/libX11.so.6
#4 0x00007fffeade56f5 in ?? () from /lib/x86_64-linux-gnu/libX11.so.6
#5 0x00007fffeade684d in _XReply () from /lib/x86_64-linux-gnu/libX11.so.6
#6 0x00007fffeadd0af3 in XInternAtom () from /lib/x86_64-linux-gnu/libX11.so.6
#7 0x00007ffff7c1ed11 in gdk_x11_atom_to_xatom_for_display (display=display at entry=0x5555555b40e0,
atom=0x95) at ../../../gdk/x11/gdkproperty-x11.c:115
#8 0x00007ffff7c1f0ed in gdk_x11_get_xatom_by_name_for_display (
display=display at entry=0x5555555b40e0,
atom_name=atom_name at entry=0x7ffff7c58e06 "_NET_SUPPORTING_WM_CHECK")
at ../../../gdk/x11/gdkproperty-x11.c:271
#9 0x00007ffff7c1fe0b in get_net_supporting_wm_check (screen=screen at entry=0x5555555ba020,
window=230) at ../../../gdk/x11/gdkscreen-x11.c:1497
#10 0x00007ffff7c20ca6 in fetch_net_wm_check_window (screen=0x5555555ba020)
at ../../../gdk/x11/gdkscreen-x11.c:1534
#11 0x00007ffff7c224ba in gdk_x11_screen_supports_net_wm_hint (screen=screen at entry=0x5555555ba020,
property=0x94) at ../../../gdk/x11/gdkscreen-x11.c:1614
#12 0x00007ffff7c22a52 in _gdk_x11_screen_get_monitor_work_area (
screen=screen at entry=0x5555555ba020, monitor=monitor at entry=0x5555555a1650,
area=area at entry=0x7fffffffd340) at ../../../gdk/x11/gdkscreen-x11.c:264
#13 0x00007ffff7c335a8 in gdk_x11_monitor_get_workarea (monitor=0x5555555a1650,
dest=0x7fffffffd3c0) at ../../../gdk/x11/gdkmonitor-x11.c:69
#14 0x00007ffff330663d in collectScreenProperties ()
at ./build-soup2/./Source/WebKit/UIProcess/gtk/ScreenManagerGtk.cpp:125
#15 0x00007ffff33022a2 in platformInitializeWebProcess ()
at ./Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:177
#16 0x00007ffff31b86d5 in initializeNewWebProcess ()
at ./Source/WebKit/UIProcess/WebProcessPool.cpp:1014
#17 0x00007ffff31b93a5 in createNewWebProcess ()
at ./Source/WebKit/UIProcess/WebProcessPool.cpp:797
#18 0x00007ffff31bbb3d in processForSite () at ./Source/WebKit/UIProcess/WebProcessPool.cpp:1220
#19 0x00007ffff31481b1 in launchProcess () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:1330
#20 0x00007ffff314d8e1 in loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2026
#21 0x00007ffff314e7d9 in loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2050
#22 loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2055
#23 loadRequest () at ./Source/WebKit/UIProcess/WebPageProxy.cpp:2060
#24 0x00007ffff324879e in webkit_web_view_load_uri ()
at ./build-soup3/./Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3367
#25 0x000055555556d87c in activate () at ./build-soup3/./Tools/MiniBrowser/gtk/main.c:980
#26 0x00007fffeaf5c3b0 in g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007fffeaf6f076 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007fffeaf75bf5 in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007fffeaf75dbf in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007fffeb082438 in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#31 0x00007fffeb0825c6 in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#32 0x000055555556cfa9 in main () at ./build-soup3/./Tools/MiniBrowser/gtk/main.c:1074
(gdb) c
Continuing.
[Thread 0x7fff98df86c0 (LWP 10041) exited]
(MiniBrowser:10023): Gdk-WARNING **: 13:37:47.998: The program 'MiniBrowser' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 198 error_code 1 request_code 154 (unknown) minor_code 1)
(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 0x7fff83fff6c0 (LWP 10042) exited]
[Thread 0x7fff995f96c0 (LWP 10035) exited]
[Thread 0x7fff99dfa6c0 (LWP 10034) exited]
[Thread 0x7fff9a5fb6c0 (LWP 10031) exited]
[Thread 0x7fff9adfc6c0 (LWP 10030) exited]
[Thread 0x7fff9b5fd6c0 (LWP 10027) exited]
[Thread 0x7fffe01d26c0 (LWP 10026) exited]
[Inferior 1 (process 10023) exited with code 01]
-- System Information:
Debian Release: 12.10
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-34-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages libgtk-3-0 depends on:
ii adwaita-icon-theme 43-1
ii hicolor-icon-theme 0.17-2
ii libatk-bridge2.0-0 2.46.0-5
ii libatk1.0-0 2.46.0-5
ii libc6 2.36-9+deb12u10
ii libcairo-gobject2 1.16.0-7
ii libcairo2 1.16.0-7
ii libcolord2 1.4.6-2.2
ii libcups2 2.4.2-3+deb12u8
ii libepoxy0 1.5.10-1
ii libfontconfig1 2.14.1-4
ii libfribidi0 1.0.8-2.1
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+deb12u1
ii libglib2.0-0 2.74.6-2+deb12u5
ii libgtk-3-common 3.24.38-2~deb12u3
ii libharfbuzz0b 6.0.0+dfsg-3
ii libpango-1.0-0 1.50.12+ds-1
ii libpangocairo-1.0-0 1.50.12+ds-1
ii libpangoft2-1.0-0 1.50.12+ds-1
ii libwayland-client0 1.21.0-1
ii libwayland-cursor0 1.21.0-1
ii libwayland-egl1 1.21.0-1
ii libx11-6 2:1.8.4-2+deb12u2
ii libxcomposite1 1:0.4.5-1
ii libxcursor1 1:1.2.1-1
ii libxdamage1 1:1.1.6-1
ii libxext6 2:1.3.4-1+b1
ii libxfixes3 1:6.0.0-2
ii libxi6 2:1.8-1+b1
ii libxinerama1 2:1.1.4-3
ii libxkbcommon0 1.5.0-1
ii libxrandr2 2:1.5.2-2+b1
ii shared-mime-info 2.2-1
Versions of packages libgtk-3-0 recommends:
ii libgtk-3-bin 3.24.38-2~deb12u3
ii librsvg2-common 2.54.7+dfsg-1~deb12u1
Versions of packages libgtk-3-0 suggests:
pn gvfs <none>
Versions of packages libgtk-3-0 is related to:
pn appmenu-gtk3-module <none>
pn fcitx-frontend-gtk3 <none>
pn gcin-gtk3-immodule <none>
pn gtk-vector-screenshot <none>
pn gtk3-engines-xfce <none>
pn gtk3-im-libthai <none>
pn hime-gtk3-immodule <none>
pn ibus-gtk3 <none>
pn imhangul-gtk3 <none>
pn libcanberra-gtk3-module <none>
pn libcaribou-gtk3-module <none>
pn libgtk3-nocsd0 <none>
pn maliit-inputcontext-gtk3 <none>
pn packagekit-gtk3-module <none>
pn scim-gtk-immodule <none>
pn topmenu-gtk3 <none>
pn uim-gtk3 <none>
pn uim-gtk3-immodule <none>
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list