๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.x
Article #16

Bug#1142475: otpclient: segmentation fault when resizing the otpclient window

#16
From: Vincent Lefevre
Date: Fri, 06 Nov 2026 16:20
38 lines
3781 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)
Technical Details
Message-ID: <NWuPw-adUG-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NiVia-5TfJ-1@gated-at.bofh.it> <NWsE2-acBq-5@gated-at.bofh.it> <NiVia-5TfJ-1@gated-at.bofh.it> <NWsE2-acBq-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Vincent Lefevre <vincent@vinc17.net>
Newsgroups: linux.debian.bugs.dist,linux.debian.maint.x
Subject: Bug#1142475: otpclient: segmentation fault when resizing the otpclient window
Date: Fri, 06 Nov 2026 17:20:02 +0100
Message-ID: <NWuPw-adUG-5@gated-at.bofh.it>
References: <NiVia-5TfJ-1@gated-at.bofh.it> <NWsE2-acBq-5@gated-at.bofh.it> <NiVia-5TfJ-1@gated-at.bofh.it> <NWsE2-acBq-5@gated-at.bofh.it>
X-Original-To: 1142475@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov  6 16:19:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Vincent Lefevre <vincent@vinc17.net>, 1142475@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: vilmar@debian.org
X-Debian-Pr-Message: followup 1142475
X-Debian-Pr-Package: otpclient
X-Debian-Pr-Source: otpclient
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/2.4.3+59 (844fcfe7) vl-188789 (2026-10-10)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001071
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 38
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Debian X Strike Force <debian-x@lists.debian.org>
X-Original-Date: Fri, 6 Nov 2026 17:17:30 +0100
X-Original-Message-ID: <20261106161730.GA2306@disset.lip.ens-lyon.fr>
X-Original-References: <20260720122222.GA67698@disset.lip.ens-lyon.fr> <20261106134729.GA6665@disset.lip.ens-lyon.fr> <20260720122222.GA67698@disset.lip.ens-lyon.fr> <20261106134729.GA6665@disset.lip.ens-lyon.fr>