Summary: | Kinda random crash | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Nik Nikovsky <zejdzztegomaila> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zejdzztegomaila |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/6b33f4db225a348d356bdd35af9ae6a1f6b329b2 | Version Fixed In: | 5.2.2 |
Sentry Crash Report: | |||
Attachments: |
coredumpctl gdb backtrace with bt
attachment-792255-0.html attachment-913764-0.html |
Description
Nik Nikovsky
2025-10-03 19:51:45 UTC
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 |