🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7010

Bug#1156028: appmenu-gtk3-module: GTK 3 applications crash when the module is unloaded

#7010
From: Daniele E. Domenichelli
Date: Tue, 01 Dec 2026 14:20
56 lines
3684 bytes
Package: appmenu-gtk3-module
Version: 25.04-1+b2
Severity: important
Tags: patch upstream fixed-upstream
X-Debbugs-Cc: ddomenichelli@drdanz.it

Dear Maintainer,

GTK 3 applications crash (SIGSEGV) when appmenu-gtk-module is removed
from the gtk-modules setting. On KDE Plasma this happens e.g. when kded
is restarted, and I hit it with VSCodium.

GTK 3 unloads the module, but its GtkMenuBar vtable hijack and its
g_bus_watch_name() watch on com.canonical.AppMenu.Registrar remain, so
the next callback jumps into unmapped memory.

This is fixed upstream by commit a783b01 ("gtk-module: make the module
resident"), released in 26.10:

  https://github.com/rilian-la-te/vala-panel-appmenu/commit/a783b01c8b653349843fac9bbd075dac52cdc9de

Could you please cherry-pick it? It applies cleanly to 25.04. I tested
it locally, and it fixes the crash. Alternatively, packaging the current
upstream release (26.11.1) would include it.

Thanks!

Daniele


-- System Information:
Debian Release: forky/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (300, 'unstable-debug'), (300, 'unstable'), (150, 'experimental-debug'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.3.5+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages appmenu-gtk3-module depends on:
ii  appmenu-gtk-module-common  25.04-1+b2
ii  libappmenu-gtk3-parser0    25.04-1+b2
ii  libc6                      2.43-7
ii  libglib2.0-0t64            2.90.1-2
ii  libgtk-3-0t64              3.24.52-3

appmenu-gtk3-module recommends no packages.

appmenu-gtk3-module suggests no packages.

-- no debconf information
Technical Details
Message-ID: <O5wS6-flD9-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Daniele E. Domenichelli" <ddomenichelli@drdanz.it>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156028: appmenu-gtk3-module: GTK 3 applications crash when the module is unloaded
Date: Tue, 01 Dec 2026 15:20:02 +0100
Message-ID: <O5wS6-flD9-15@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 14:11:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: "Daniele E. Domenichelli" <ddomenichelli@drdanz.it>, 1156028@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: ddomenichelli@drdanz.it, pkg-ayatana-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1156028
X-Debian-Pr-Package: appmenu-gtk3-module
X-Debian-Pr-Keywords: fixed-upstream patch upstream
X-Debian-Pr-Source: appmenu-gtk-module
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006299
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 56
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 01 Dec 2026 15:10:18 +0100
X-Original-Message-ID: <179613421875.565312.17400463529097466190.reportbug@trigone.aquarius.home>