Package: gpodder
Version: 3.11.3-2
Severity: important

Dear Maintainer,

Recently, gPodder started crashing on startup. After finding that renaming
the ~/gPodder/ directory didn't help, but running gPodder under a different
user did, I commented out lines in my .config/gtk-3.0/settings.ini to narrow
down the problem until I discovered that removing appmenu-gtk-module from my
gtk-modules line allowed gPodder to start normally.

This crash only started happening fairly recently, and I have not discovered
what change has caused this. I have tried downgrading to the previous version
of appmenu-gtk-module, and this did not resolve the problem. (In any case, I
am reasonably sure that the problam started more recently than that upgrade.)

As such, I think it is quite likely that I'm not reporting this bug on the
correct package. Nevertheless, I'm reporting it on the application where I
noticed it, in the hope that somebody can point me in the right direction.

Steps to reproduce:

# apt install appmenu-gtk3-module
$ GTK3_MODULES=appmenu-gtk-module gpodder

gPodder immediately exits with a segmentation fault, without producing a window.

Note that I originally had "gtk-modules=appmenu-gtk-module" in my
settings.ini, and so had this crash without setting an environment variable.
I include the var for ease of reproduction. It is not necessary to actually
have a global menu; just enabling the module seems to be sufficient to
trigger the segfault.

There is something that I do not understand about gPodder - it appears to
have some support for global menus when the module is not enabled (or
even installed). I do not know how this works.

Additionally, when running without the module, the gPodder menu appears
within the application window, while the Podcasts, Subscriptions, Episodes,
Extra and View menus are correctly displayed as global menus.

I checked some other GTK3 applications on my system, and found one other
strange result: Inkscape also supports global menus with the module disabled,
and also crashes with it enabled.

I believe Inkscape also worked in this configuration in the past, but it's
been a lot longer since I last tried to use it than it has been with gPodder.

However, qalculate-gtk, audacious in "GTK (legacy) mode", qemu, guvcview and
virt-manager all have no global menu support without the module, and work
fine *with* the module, so just disabling the module globally is not a good
workaround.

Ben Morris

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gpodder depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.14.10-4+b1
ii  gir1.2-gtk-3.0                                3.24.41-4
ii  python3                                       3.11.8-1
ii  python3-cairo                                 1.26.0-1
ii  python3-dbus                                  1.3.2-5+b2
ii  python3-gi                                    3.48.2-1
ii  python3-gi-cairo                              3.48.2-1
ii  python3-mygpoclient                           1.9-1
ii  python3-podcastparser                         0.6.10-2
ii  python3-requests                              2.31.0+dfsg-1

Versions of packages gpodder recommends:
ii  gir1.2-ayatanaappindicator3-0.1  0.5.93+really-1
ii  libgpod4t64 [libgpod4]           0.8.3-19.1+b1
ii  normalize-audio                  0.7.7-18
ii  python3-eyed3                    0.9.7-1
ii  python3-html5lib                 1.1-6
ii  python3-simplejson               3.19.2-1+b1

Versions of packages gpodder suggests:
pn  gnome-bluetooth-sendto  <none>
pn  mplayer                 <none>
ii  yt-dlp                  2024.04.09-1

-- no debconf information

Reply via email to