FS#61373 - 'appmenu-gtk-module' crashes GTK apps in KDE with set 'Global Menu'

Attached to Project: Arch Linux
Opened by Viorel-Cătălin Răpițeanu (Ravior) - Saturday, 12 January 2019, 23:50 GMT
Last edited by Antonio Rojas (arojas) - Monday, 21 January 2019, 07:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Any GTK application will segfault if you are running Plasma with a 'Global Menu' applet (window button or panel applet) with appmenu-gtk-module installed.

A possible reason for this fail is that the GTK application tries to find a number of files in a wrong location. Just strace chromium/gnucash to see what fails:
openat(AT_FDCWD, "/usr/share/locale/ro_RO.UTF-8/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/ro_RO.utf8/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/ro_RO/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/ro.UTF-8/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/ro.utf8/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
The installed location for that file is a bit different, like:
/usr/share/locale/ro/LC_MESSAGES/atk10.mo

Additional info:
* package version: appmenu-gtk-module-0.6.94-1

Steps to reproduce:
1. Plasma installed with either a 'Global Menu' Window Button of Panned Applet.
2. appmenu-gtk-module installed to display GTK menu inside the 'Global Menu' Applet.
3. Open any GTK apps like GnuCash, Firefox, Chromium
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 21 January 2019, 07:35 GMT
Reason for closing:  Upstream
Comment by Antonio Rojas (arojas) - Saturday, 12 January 2019, 23:56 GMT
Please post backtraces, strace output is totally irrelevant.
Comment by Viorel-Cătălin Răpițeanu (Ravior) - Sunday, 13 January 2019, 00:17 GMT
> Please post backtraces, strace output is totally irrelevant.
Please see the attached logfile.
Comment by Antonio Rojas (arojas) - Sunday, 13 January 2019, 00:32 GMT
Please test 0.7.1
Comment by Viorel-Cătălin Răpițeanu (Ravior) - Sunday, 13 January 2019, 00:39 GMT
Will do as soon as my mirrors will be synced. Thanks for looking into this issue.
Comment by Viorel-Cătălin Răpițeanu (Ravior) - Sunday, 13 January 2019, 05:43 GMT
Still reproduces with appmenu-gtk-module-0.7.1-1. The backtrace is identical.
Comment by Antonio Rojas (arojas) - Sunday, 13 January 2019, 08:50 GMT
Then please rebuild appmenu-gtk-module with debug symbols to get a meaningful backtrace and report it upstream to https://gitlab.com/vala-panel-project/vala-panel-appmenu/
Comment by Viorel-Cătălin Răpițeanu (Ravior) - Monday, 21 January 2019, 07:32 GMT
A ticket was created upstream and a workaround was found for this issue. This being considered, I believe that the Arch ticket can be closed.
Comment by Viorel-Cătălin Răpițeanu (Ravior) - Monday, 21 January 2019, 07:33 GMT

Loading...