🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Daniele E. Domenichelli Tue, 01 Dec 2026 14:20
Bug#1156028: appmenu-gtk3-module: GTK 3 applications crash when the module is unloaded
#7010
Author: 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
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