Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684948 - =app-emulation/fs-uae-launcher-2.8.3 - KCrash: Application 'python3.6m' crashing
Summary: =app-emulation/fs-uae-launcher-2.8.3 - KCrash: Application 'python3.6m' crashing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-02 19:49 UTC by David Flogeras
Modified: 2019-05-08 20:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2019-05-02 19:49:20 UTC
['/usr/bin/fs-uae-launcher']
FS-UAE Launcher 2.8.3
Traceback (most recent call last):
  File "/usr/share/fs-uae-launcher/fsgs/Archive.py", line 9, in <module>
    from lhafile import LhaFile
ModuleNotFoundError: No module named 'lhafile'
LhaFile module import problem
[SETTINGS] Constructor <fsbc.settings.Settings object at 0x7f55e7046f60>
[SETTINGS] No settings path specified
[SETTINGS] Using default /home/dave/FS-UAE/Data/Settings.ini
[SETTINGS] File /home/dave/FS-UAE/Data/Settings.ini does not exist
[I18N] Initialize_locale language = 
[I18N] Locale is en_US
[I18N] Checking /usr/bin/share/fs-uae-launcher/share-dir
[I18N] Checking /usr/bin/../share/fs-uae-launcher/share-dir
[I18N] bindtextdomain fs-uae-launcher: /usr/bin/../share/locale
[I18N] find translations for en_US in local directory /usr/bin/../share/locale
[I18N] Path to mo file: None
[I18N] Translations object: <gettext.NullTranslations object at 0x7f55e7052278>
malloc_consolidate(): invalid chunk size
KCrash: Application 'python3.6m' crashing...
Alarm clock

At first I thought it was the missing lha, but I rebuilt with +lha, and the same crash happens but without the missing module warning.

Others reported it too

http://eab.abime.net/showthread.php?t=95037

Reproducible: Always
Comment 1 James Le Cuirot gentoo-dev 2019-05-03 21:06:30 UTC
The lhafile error has nothing to do with the crash. It's an optional module and that harmless error appears when you don't have it.
Comment 2 James Le Cuirot gentoo-dev 2019-05-03 21:30:22 UTC
This is apparently a general PyQt5 problem that affects KDE Plasma users in particular but it can be worked around by patching the application. Please try this:

--- fs-uae-launcher-2.8.3/fsui/qt/qt.py	2017-01-08 19:48:56.000000000 +0000
+++ fs-uae-launcher-2.8.3/fsui/qt/qt.py	2019-05-03 22:28:16.979041988 +0100
@@ -60,7 +60,7 @@
     # fix_qt_for_maverick()
 
     fsbc.desktop.set_open_url_in_browser_function(open_url_in_browser)
-    qapplication = QtBaseApplication([])
+    qapplication = QtBaseApplication([''])
     initialize_qt_style(qapplication)
     return qapplication
 
There are further instances in bug #677130 and https://bugzilla.redhat.com/show_bug.cgi?id=1655310#c30.
Comment 3 David Flogeras 2019-05-03 21:34:12 UTC
I will try Monday when back at that machine thanks for the patch!

And yep I know lha had nothing to do with it, it was renamed while in triage.  I even stated that in the summary.
Comment 4 James Le Cuirot gentoo-dev 2019-05-03 21:36:19 UTC
(In reply to David Flogeras from comment #3)
> And yep I know lha had nothing to do with it, it was renamed while in
> triage.  I even stated that in the summary.
Sorry, I misread it.
Comment 5 David Flogeras 2019-05-08 11:03:40 UTC
Thanks James, that worked perfectly!  Now can I file a bug for you wasting my next week while I relive my teens?
Comment 6 Larry the Git Cow gentoo-dev 2019-05-08 19:57:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5764da72a188fb787eafe6bb4bf389e4c3852b

commit 9f5764da72a188fb787eafe6bb4bf389e4c3852b
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-05-08 19:55:00 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-05-08 19:57:40 +0000

    app-emulation/fs-uae-launcher: Patch around crash under KDE Plasma
    
    This issue affects PyQt5 in general but I don't know the proper
    solution and it's easy to patch around.
    
    Closes: https://bugs.gentoo.org/684948
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../files/fs-uae-launcher-2.8.3-QApplication.patch          | 13 +++++++++++++
 ...auncher-2.8.3.ebuild => fs-uae-launcher-2.8.3-r1.ebuild} |  1 +
 2 files changed, 14 insertions(+)
Comment 7 James Le Cuirot gentoo-dev 2019-05-08 20:00:55 UTC
(In reply to David Flogeras from comment #5)
> Thanks James, that worked perfectly!  Now can I file a bug for you wasting
> my next week while I relive my teens?

Yes but I'll close it as WONTFIX or maybe OBSOLETE. ;)