https://bugs.kde.org/show_bug.cgi?id=501993
Bug ID: 501993
Summary: Segfault when started in a path containing json files
Classification: Applications
Product: skrooge
Version: 25.1.0
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 25.1.0
Created attachment 179729
--> https://bugs.kde.org/attachment.cgi?id=179729&action=edit
minimal json used to reproduce the issue
SUMMARY
Skrooge segfault on startup when the folder it is started in contains json
files, which in my case is my my home, resulting in not being able to start
skrooge from an app launcher.
STEPS TO REPRODUCE
1. go to a directory with json files
2. start skrooge
OBSERVED RESULT
Splash screen is shown for a brief instant and skrooge segfaults.
EXPECTED RESULT
skrooge starts properly
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux - not running KDE
KDE Plasma Version: not running KDE
KDE Frameworks Version: all k* packages in dependencies of skrooge are in
6.11.0
Qt Version: 6.8.2
ADDITIONAL INFORMATION
I straced skrooge and it looks like it opens all the jsons it can find in the
current folder. I also attached a minimal json with which this happens.
Backtrace is pretty short:
#0 0x00007ffff7b2f724 in KAboutPerson::name() const () from
/usr/lib/libKF6CoreAddons.so.6
#1 0x00007ffff7e717f4 in SKGMainPanel::SKGMainPanel (this=<optimized out>,
iSplashScreen=<optimized out>, iDocument=<optimized out>, this=<optimized out>,
iSplashScreen=<optimized out>,
iDocument=<optimized out>) at
/usr/include/qt6/QtCore/qarraydatapointer.h:120
#2 0x0000555555557fb9 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/skrooge/skrooge-25.1.0/skrooge/main.cpp:209
--
You are receiving this mail because:
You are watching all bug changes.