Created attachment 179729 [details] 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
Git commit 68bb04d80627aaafdb56ab0f575e08e73660efc7 by Stéphane MANKOWSKI. Committed on 25/03/2025 at 20:15. Pushed by smankowski into branch 'master'. Segfault when started in a path containing json files M +2 -1 .vscode/settings.json M +1 -0 CHANGELOG M +9 -6 skgbasegui/skgmainpanel.cpp M +10 -9 skgbasemodeler/skgservices.cpp https://invent.kde.org/office/skrooge/-/commit/68bb04d80627aaafdb56ab0f575e08e73660efc7
That was fast, I can confirm it works, thank you very much.
*** Bug 500796 has been marked as a duplicate of this bug. ***
*** Bug 502503 has been marked as a duplicate of this bug. ***