SUMMARY I was trying to import some stuff and see if there is a keybind to avoid pressing the Enter transaction button. Pressed CTRL+W which closed the tab (and asked me if I wanted to save the file, to which I said yes.) and then it crashed STEPS TO REPRODUCE 1. Edit file 2. Press CTRL+W 3. Save the file OBSERVED RESULT App crash with SIGSERV and a memory violation EXPECTED RESULT File saving normally SOFTWARE/OS VERSIONS Operating System: KDE neon Testing Edition KDE Plasma Version: 6.4.90 KDE Frameworks Version: 6.19.0 Qt Version: 6.9.2 Kernel Version: 6.14.0-33-generic (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-5300U CPU @ 2.30GHz Memory: 8 GiB of RAM (7.7 GiB usable) Graphics Processor: Intel® HD Graphics 5500 ADDITIONAL INFORMATION ---basic errors since I ran kmymoney with the Konsole open and the --timers flag: createPayee "Google Play" No selections ASSERT failure in LedgerViewPage: "Called object is not of the correct type (class destructor may have already run)", file /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h, line 105 KCrash: appFilePath points to nullptr! KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2 Naruszenie ochrony pamięci (zrzut pamięci) --- and the coredumpctl will be attached in the next comment because I keep running out of RAM
I had to make a swap file and I can't even send it as not a file because it is too long.
Created attachment 185491 [details] coredumpctl gdb backtrace with bt
Comment on attachment 185491 [details] coredumpctl gdb backtrace with bt Sorry, this is just a text description, it is neither a coredump nor a backtrace. A real backtrace would certainly help. It would also help if you told us which version you are running, and whether it is from the Neon distribution package or something like appimage, snap, or flatpack Thanks.
Created attachment 185494 [details] attachment-792255-0.html Hi there, I am using the version from the apt command and the file I uploaded was made using the guide on the wiki.
Apologies - I now see the correct backtrace, I'm not sure why I didn't see it earlier. I also see you are running 5.2.1, which is the latest release, so that's good. It will now take some time to dig through the backtrace and see if we can figure out what might have caused the crash. For additional details, what View were you in when you crashed, and is the crash repeatable? In Ledger View, Ctl-W should close the current ledger, and if it is the only ledger open, it should display a message about that. In Home View, Ctl-W closes the currently open file (which would prompt for saving if it has changed) but should not crash. Is that what happened? Did you tell it to save or not, and if yes, did it save before crashing (you can tell by the time-stamp on the data file.
Created attachment 185500 [details] attachment-913764-0.html If the view with the transactions is the ledger view, that's where it was. I was prompted to save since I made changes without saving, and it saved. Crashed afterwards
Git commit a31e15fc045a5a6de32969a91ade3e9edf61370d by Thomas Baumgart. Committed on 04/10/2025 at 11:38. Pushed by tbaumgart into branch 'master'. Prevent crash by eliminating lambda slot The connection needs to be released before the object is destroyed which otherwise could cause a crash. This can only be done with a normal method but not with a lambda function. Converting the lambda into a normal slot resolves the issue. FIXED-IN: 5.2.2 M +9 -3 kmymoney/views/ledgerview.cpp M +1 -0 kmymoney/views/ledgerview.h https://invent.kde.org/office/kmymoney/-/commit/a31e15fc045a5a6de32969a91ade3e9edf61370d
Git commit 6b33f4db225a348d356bdd35af9ae6a1f6b329b2 by Thomas Baumgart. Committed on 04/10/2025 at 12:13. Pushed by tbaumgart into branch '5.2'. Prevent crash by eliminating lambda slot The connection needs to be released before the object is destroyed which otherwise could cause a crash. This can only be done with a normal method but not with a lambda function. Converting the lambda into a normal slot resolves the issue. FIXED-IN: 5.2.2 (cherry picked from commit a31e15fc045a5a6de32969a91ade3e9edf61370d) M +9 -3 kmymoney/views/ledgerview.cpp M +1 -0 kmymoney/views/ledgerview.h https://invent.kde.org/office/kmymoney/-/commit/6b33f4db225a348d356bdd35af9ae6a1f6b329b2