Thread View: linux.debian.bugs.dist
3 messages
3 total messages
Started by Vincent Lefevre
Fri, 06 Nov 2026 14:00
Bug#1142475: otpclient: segmentation fault when resizing the otpclient window
Author: Vincent Lefevre
Date: Fri, 06 Nov 2026 14:00
Date: Fri, 06 Nov 2026 14:00
42 lines
4235 bytes
4235 bytes
Control: retitle -1 otpclient: segmentation fault when resizing the otpclient window via ssh with no local X server running
Control: found -1 5.2.0-1
When I try to resize the otpclient window before entering the
passphrase to unlock te database:
* If I do this locally on host A under X, it works as expected.
* If I do ssh A from host B and run otpclient remotely on A:
- If an X server is running on host A for the same user, it
works as expected.
- If the user does *not* have an X server running on host A,
otpclient often crashes (segmentation fault) once I try to
resize its window.
Note that the fact that an X server is running for the user on host A
matters is surprising: on host A, otpclient is just an X client using
the X server running on host B (with X11 forwarding provided by SSH);
the X server on host A should not be used at all!
cventin:~> ssh disset
disset:~> echo $DISPLAY
localhost:12.0
disset:~> otpclient
MESA-EGL: warning: DRI3 error: Could not get DRI3 device
MESA-EGL: warning: Ensure your X server supports DRI3 to get accelerated rendering
TU: error: ../src/freedreno/vulkan/tu_knl.cc:395: failed to open device /dev/dri/renderD128 (VK_ERROR_INCOMPATIBLE_DRIVER)
(otpclient:8859): Gdk-WARNING **: 14:39:25.540: Vulkan: ../src/intel/vulkan/anv_physical_device.c:2836: Unable to open device /dev/dri/renderD128: Permission denied (VK_ERROR_INCOMPATIBLE_DRIVER)
(otpclient:8859): Gtk-CRITICAL **: 14:39:27.373: Unable to register the application: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
(otpclient:8859): Gdk-WARNING **: 14:39:33.206: vkAcquireNextImageKHR(): A swapchain no longer matches the surface properties exactly, but can still be used to present to the surface successfully. (VK_SUBOPTIMAL_KHR) (1000001003)
zsh: segmentation fault otpclient
No core dump generated.
Or perhaps the bug is in libvulkan_lvp.so, which is provided by
mesa-vulkan-drivers (current version: 26.2.6-1).
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Bug#1142475: otpclient: segmentation fault when resizing the otpclient window
Author: Vincent Lefevre
Date: Fri, 06 Nov 2026 16:20
Date: Fri, 06 Nov 2026 16:20
38 lines
3701 bytes
3701 bytes
Control: reassign -1 mesa-vulkan-drivers 26.2.6-1 Control: retitle -1 mesa-vulkan-drivers: lavapipe swapchain-resize race makes otpclient crash when resizing its window Control: affects -1 otpclient According to Mistral AI (short answer): The crash is in Mesa's lavapipe (the software Vulkan driver, libvulkan_lvp.so), not in otpclient itself. GTK4 (which otpclient uses) tries its Vulkan renderer first; when no hardware Vulkan device is usable it silently falls back to lavapipe, and lavapipe is a known-fragile, explicitly non-conformant implementation that segfaults on the swapchain-recreate path that GTK4 exercises when you resize a window. The "X server running on host A" correlation is real but misleading: what actually matters is whether you have an active local logind session on host A, because that's what grants you access to /dev/dri/renderD128. I can confirm about /dev/dri/renderD128 with "getfacl /dev/dri/renderD128": * Without a local X session active, I get in the output: user:lightdm:rw- * With a local X session active, I get in the output: user:vlefevre:rw- Mistral AI also gave me workarounds: GSK_RENDERER=cairo otpclient GSK_RENDERER=ngl otpclient I confirm that they both work. It also says: "The real fix belongs in Mesa (lavapipe swapchain-resize race)". Reassigning to mesa-vulkan-drivers (which provides libvulkan_lvp.so). -- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Bug#1142475: mesa-vulkan-drivers: lavapipe swapchain-resize race makes GTK4 apps crash on window resize
Author: Vincent Lefevre
Date: Fri, 06 Nov 2026 16:30
Date: Fri, 06 Nov 2026 16:30
9 lines
2493 bytes
2493 bytes
Control: retitle -1 mesa-vulkan-drivers: lavapipe swapchain-resize race makes GTK4 apps crash on window resize Control: affects -1 + zathura Same problem with zathura. -- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads