Bug 500778

Summary: Online Quotes Editor crashes on launch
Product: [Frameworks and Libraries] alkimia Reporter: Paul Worrall <p.r.worrall>
Component: Online Quotes EditorAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ralf.habacker
Priority: NOR    
Version First Reported In: 8.1.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: backtrace
Patch fixing the issue

Description Paul Worrall 2025-02-26 17:06:32 UTC
Created attachment 178901 [details]
backtrace

STEPS TO REPRODUCE
1. Try to launch onlinequoteseditor5

OBSERVED RESULT
Crash (backtrace attatched)

Messages on the terminal:

kf.i18n: KCatalog being used without a Q*Application instance. Some translations won't work
QFont::fromString: Invalid description 'Noto Sans,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1'
QObject::connect: No such signal KNSCore::DownloadManager::searchResult(KNS3::Entry::List)
QObject::connect: No such signal KNSCore::DownloadManager::entryStatusChanged(KNS3::Entry)
QObject::connect: No such signal KNSCore::DownloadManager::searchResult(KNS3::Entry::List)
QObject::connect: No such signal KNSCore::DownloadManager::entryStatusChanged(KNS3::Entry)
QObject::connect: No such signal KNSCore::DownloadManager::searchResult(KNS3::Entry::List)
QObject::connect: No such signal KNSCore::DownloadManager::entryStatusChanged(KNS3::Entry)
kf.i18n: 0 instead of 2 arguments to message "Enter the URL from w..." supplied before conversion
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
using profile "no-config-file"
33 -- exe=/usr/bin/onlinequoteseditor5
17 -- platform=wayland
28 -- appname=onlinequoteseditor5
17 -- apppath=/usr/bin
10 -- signal=11
10 -- pid=54770
12 -- appversion=
32 -- programname=onlinequoteseditor5
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = onlinequoteseditor5 path = /usr/bin pid = 54770
KCrash: Arguments: /usr/bin/onlinequoteseditor5 
The Wayland connection experienced a fatal error: Bad file descriptor

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.9.0
Graphics Platform: Wayland
Comment 1 Ralf Habacker 2025-02-27 09:59:08 UTC

*** This bug has been marked as a duplicate of bug 485993 ***
Comment 2 Ralf Habacker 2025-03-01 11:56:39 UTC
Created attachment 178995 [details]
Patch fixing the issue

The attached patch can be applied to an alkimia package provided by distributions to fix the problem.
Comment 3 Jack 2025-03-01 20:27:13 UTC
Should that patch be posted to the other bug?  Also, it looks like that patch has to be applied by the distributions in creating their packages (or by anyone compiling from source,) but it cannot be applied to a distributed package.  Am I misreading something?
Comment 4 Ralf Habacker 2025-03-03 09:52:12 UTC
(In reply to Jack from comment #3)
> Should that patch be posted to the other bug? 
Done 

>  Also, it looks like that patch has to be applied by the distributions in creating their packages (or
> by anyone compiling from source,) but it cannot be applied to a distributed package.  

yes

Usually, bugs in a package provided by a distribution are reported to the corresponding bug tracker.  For OpenSUSE this would be https://bugzilla.opensuse.org/index.cgi. If there is a patch, it can be linked or attached there and would then have to be added to the corresponding package by the package maintainer. For OpenSUSE this would be https://build.opensuse.org/package/show/KDE:Extra/alkimia, for other distributions accordingly.

I have added the patch here (and now 485993) to give the package maintainers a hint on how to fix the problem.