Bug 507404 - I updated my Slackware installation with KMyMoney going from 5.1 to 5.2. KMyMoney crashes immediately on opening kmy file
Summary: I updated my Slackware installation with KMyMoney going from 5.1 to 5.2. KMyM...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.2.0
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-07-23 17:45 UTC by Alan Rubin
Modified: 2025-07-28 06:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Rubin 2025-07-23 17:45:58 UTC
Application: kmymoney (5.2.0)

Qt Version: 5.15.17
Frameworks Version: 5.116.0
Operating System: Linux 6.12.39 x86_64
Windowing System: X11
Distribution: Slackware 15.0 x86_64 (post 15.0 -current)
DrKonqi: 5.27.12 [KCrashBackend]

-- Information about the crash:
I updated from Slackware 15.0 to slackware current. My kmmymoney file is very large and kmymoney crashes on opening it without briging up the crash handler.  I have tried unzipping the kmy file and loading that but that also crashed and at least did enable this crash handler.
I have also tried loading the data from a copy in sql but that just produced loads of messages as below and did not load.
My kmymoney file is very large 17MB in XML. 1MB compressed
Perform upgrade to db layout version 14
Unknown version number in database - 13
Perform upgrade to db layout version 14
Unknown version number in database - 13
Perform upgrade to db layout version 14
Unknown version number in database - 13
Perform upgrade to db layout version 14
Unknown version number in database - 13
Perform upgrade to db layout version 14
Unknown version number in database - 13
Perform upgrade to db layout version 14
Unknown version number in database - 13

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault

[KCrash Handler]
#6  0x00007fcbdb2c9215 in MyMoneyFile::countTransactionsWithSpecificReconciliationState() const () at /usr/lib64/libkmm_mymoney.so.5
#7  0x00000000005020ff in ??? ()
#8  0x00000000004e6f01 in ??? ()
#9  0x00007fcbd92f3bd6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007fcbda17017e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007fcbd92c87c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007fcbd92cb839 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007fcbd9320923 in ??? () at /usr/lib64/libQt5Core.so.5
#14 0x00007fcbce4fdfa3 in ??? () at /usr/lib64/libglib-2.0.so.0
#15 0x00007fcbce500077 in ??? () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fcbce50079c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#17 0x00007fcbd9320029 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#18 0x00007fcbd92c7362 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fcbd92cf310 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#20 0x000000000049fede in ??? ()
#21 0x00007fcbd882ab17 in __libc_start_call_main () at /lib64/libc.so.6
#22 0x00007fcbd882abd5 in __libc_start_main_impl () at /lib64/libc.so.6
#23 0x00000000004a0351 in ??? ()
[Inferior 1 (process 24414) detached]

Reported using DrKonqi
Comment 1 Jack 2025-07-23 18:50:26 UTC
The problem with using sqlite is known, and fixed in 5.2.1.  See https://discuss.kde.org/t/kmymoney-5-2-and-sqlite-database-from-5-1-3/37196/6 for a discussion. 

For the crash using your .kmy file, please launch from a command line, and see if there is any better error message in the console output.  If not, post the last screenful of the output.  Unfortunately, your version seems to have been compiled without debug symbols - I don't know if Slackware makes this available, but it would be worth checking.
Comment 2 Alan Rubin 2025-07-23 19:14:34 UTC
This is what I get with the uncompressed file at the console

Model for "ST" loaded with 4 items in 0 ms
Monetary values will be formatted based on locale "en_GB" Example:  "£123.45"
Long date format "dddd, d MMMM yyyy"
Short date format "dd/MM/yyyy"
Narrow date format "dd/MM/yyyy"
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
System icon theme as reported by QT:  "breeze"
App icon theme as configured in KMyMoney:  "system"
Obeying the system-wide icon theme, currently set to:  "breeze"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so"
This is not KMyMoney plugin: '/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so'
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/budgetview.so"
Plugins: budgetview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/checkprinting.so"
Plugins: checkprinting loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvexporter.so"
Plugins: csvexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvimporter.so"
Plugins: csvimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so"
Plugins: forecastview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/gncimporter.so"
Plugins: gncimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/icalendarexporter.so"
Plugins: icalendarexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifexporter.so"
Plugins: qifexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifimporter.so"
Plugins: qifimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reconciliationreport.so"
Plugins: reconciliation report loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so"
Plugins: reportsview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/sqlstorage.so"
Plugins: sqlstorage loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/woob.so"
Python interpreter found: 3.12.11 (main, Jun  4 2025, 14:57:17) [GCC 14.3.0]
Python interpreter module search paths: "/usr/lib64/python312.zip:/usr/lib64/python3.12:/usr/lib64/python3.12/lib-dynload"
Saved a copy of the embedded :/plugins/woob/kmymoneywoob.py script as "/tmp/kmymoneyzHMKaB.py"
Attempt to load the "kmymoneyzHMKaB" Python module from "/tmp"
The dependency 'sys' Python module loaded successfully
The 'path' Python variable loaded successfully
"kmymoneyzHMKaB" Python module failed to load
Traceback (most recent call last):
  File "/tmp/kmymoneyzHMKaB.py", line 10, in <module>
    import logging.config
  File "/usr/lib64/python3.12/logging/config.py", line 31, in <module>
    import logging.handlers
  File "/usr/lib64/python3.12/logging/handlers.py", line 26, in <module>
    import io, logging, socket, os, pickle, struct, time, re
  File "/usr/lib64/python3.12/socket.py", line 52, in <module>
    import _socket
ImportError: /usr/lib64/python3.12/lib-dynload/_socket.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyByteArray_Type
Plugins: woob loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/xmlstorage.so"
Plugins: xmlstorage loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Open file QUrl("file:///home/alan/temp2/kmymoney.kmy")
kf.i18n: 0 instead of 1 arguments to message "The size of the file..." supplied before conversion
Model for parameters loaded with 3 items
Model for "I" loaded with 26 items in 0 ms
Model for "P" loaded with 3413 items in 5 ms
Start verifying account hierarchy
End verifying account hierarchy
Model for accounts loaded with 676 items in 3 ms
Model for "T" loaded with 64538 items in 104 ms
Model for parameters loaded with 2 items
Model for schedules loaded with 4 items in 0 ms
Model for "E" loaded with 96 items in 0 ms
Model for currencies loaded with 4 items
Model for prices loaded with 294 items in 0 ms
Model for "R" loaded with 4 items in 0 ms
testing fileFixVersion 5 < 9
10 transaction(s) fixed in fixFile_5
testing fileFixVersion 6 < 9
4 reports(s) fixed in fixFile_6
testing fileFixVersion 7 < 9
4 reports(s) fixed in fixFile_7
testing fileFixVersion 8 < 9
0 reports(s) fixed in fixFile_8
Start calculating balances: 64538 splits
End calculating balances
Adjust scheduled transaction "Ovo" from QDate("2025-07-14") to QDate("2025-07-23") "Change the date to the next processing day"
Adjust scheduled transaction "Sky Protect" from QDate("2025-07-16") to QDate("2025-07-23") "Change the date to the next processing day"
Model for "SCH" loaded with 4 items in 0 ms
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kmymoney path = /usr/bin pid = 26299
KCrash: Arguments: /usr/bin/kmymoney kmymoney.kmy 
KCrash: Attempting to start /usr/lib64/libexec/drkonqi

[1]+  Stopped                    kmymoney kmymoney.kmy
Comment 3 Jack 2025-07-23 19:25:04 UTC
That will take a bit of time for me to digest.  In the meantime, you might try the Appimage version from https://kmymoney.org/appimage.html.
Comment 4 Alan Rubin 2025-07-23 19:39:44 UTC
(In reply to Jack from comment #3)
> That will take a bit of time for me to digest.  In the meantime, you might
> try the Appimage version from https://kmymoney.org/appimage.html.

I've tried that and the development one and I had the same error.
These versions also don't seem to allow mysql only sqlLite so I haven't been able to test that aspect.
Comment 5 Jack 2025-07-23 20:00:06 UTC
I'm not actually sure if the sqlite error would also affect any other sql back end, but it probably does.  If mysql is not on the list for opening a database, that might be a build issue, to be raised against the Slackware package.  From a distant memory, which specific sql back ends are offered depends on what relevant libraries are found - but I forget if that check is at runtime or only at build time.  I suspect the former, as my copy does show mysql.  In my case, I suspect mariadb-libs package is used, but I'm on ArtixLinux.
Comment 6 Alan Rubin 2025-07-23 20:49:56 UTC
(In reply to Jack from comment #5)
> I'm not actually sure if the sqlite error would also affect any other sql
> back end, but it probably does.  If mysql is not on the list for opening a
> database, that might be a build issue, to be raised against the Slackware
> package.  From a distant memory, which specific sql back ends are offered
> depends on what relevant libraries are found - but I forget if that check is
> at runtime or only at build time.  I suspect the former, as my copy does
> show mysql.  In my case, I suspect mariadb-libs package is used, but I'm on
> ArtixLinux.

The slackware package does offer mysql and that is where I get the recurring 
Unknown version number in database - 13
Perform upgrade to db layout version 14

It's the more cutting edge Appimage versions which don't seem to be seeing mysql.
(And it is mariadb that Slackware uses)
Just to be clear on versions
KMyMoney 5.1.2 works fine on Slackware 15
KMyMoney 5.2 on Slackware current is the problem.
Comment 7 Thomas Baumgart 2025-07-24 07:50:59 UTC
The crash apparently happens inside the function MyMoneyFile::countTransactionsWithSpecificReconciliationState() but the backtrace provided only starts on frame #6. The frames #1..#5 would provide more information what causes this behavior. The crash happens when the home view is loaded, so in order to get to your data we try to avoid that. 

Here is something you can try to work around this problem. Please follow the following steps and report back what happens:

1) MAKE A BACKUP OF YOUR DATA FILE
2) Start KMyMoney 5.2 with option -n to avoid opening your data file
3) Create a new book. It does not need to contain any data
4) Open the settings dialog, general page, views tab 
5) Select "Start with last selected view" and press OK
6) Select the accounts view (which will be empty)
7) Open your data file
9) Run Tools/Consistency check. If it shows any problems, please post them here. You can right click on the message to copy the content.
10) Save the file (don't overwrite your backup)
11) Select home page view. Does KMyMoney still crash?
Comment 8 Thomas Baumgart 2025-07-24 07:54:03 UTC
*** Bug 507416 has been marked as a duplicate of this bug. ***
Comment 9 Alan Rubin 2025-07-24 09:31:29 UTC
(In reply to Thomas Baumgart from comment #8)
> *** Bug 507416 has been marked as a duplicate of this bug. ***

It did crash at the end when selecting home.

Thank you very much.
There were 102 consistency errors see below:
* Problems with transactions
  * Sum of splits in transaction 'T000000000000000352' posted on 06/08/1996 is not zero.
    Account: Liability:Barclaycard, Amount: £-51.00
  * Sum of splits in transaction 'T000000000000000363' posted on 14/08/1996 is not zero.
    Account: Liability:Barclaycard, Amount: £-33.00
  * Sum of splits in transaction 'T000000000000000382' posted on 23/08/1996 is not zero.
    Account: Liability:Barclaycard, Amount: £-0.05
  * Sum of splits in transaction 'T000000000000000531' posted on 24/11/1996 is not zero.
    Account: Asset:Abbey National Current, Amount: £-12.65
  * Sum of splits in transaction 'T000000000000000585' posted on 13/12/1996 is not zero.
    Account: Asset:Abbey National Current, Amount: £20.00
  * Sum of splits in transaction 'T000000000000000589' posted on 17/12/1996 is not zero.
    Account: Asset:Abbey National Current, Amount: £-1.00
  * Sum of splits in transaction 'T000000000000000598' posted on 22/12/1996 is not zero.
    Account: Asset:Abbey National Current, Amount: £-40.00
  * Sum of splits in transaction 'T000000000000000914' posted on 24/06/1997 is not zero.
    Account: Liability:Barclaycard, Amount: £-10.00
  * Sum of splits in transaction 'T000000000000000937' posted on 11/07/1997 is not zero.
    Account: Asset:Abbey National Current, Amount: £-15.00
  * Sum of splits in transaction 'T000000000000001077' posted on 30/09/1997 is not zero.
    Account: Liability:Barclaycard, Amount: £-24.55
  * Sum of splits in transaction 'T000000000000001111' posted on 23/10/1997 is not zero.
    Account: Liability:Barclaycard, Amount: £1,197.14
  * Sum of splits in transaction 'T000000000000001135' posted on 29/10/1997 is not zero.
    Account: Asset:Abbey National Current, Amount: £-65.00
  * Sum of splits in transaction 'T000000000000001149' posted on 05/11/1997 is not zero.
    Account: Asset:Abbey National Current, Amount: £36.00
  * Sum of splits in transaction 'T000000000000001446' posted on 15/04/1998 is not zero.
    Account: Liability:Barclaycard, Amount: £-27.00
  * Sum of splits in transaction 'T000000000000001464' posted on 24/04/1998 is not zero.
    Account: Liability:Barclaycard, Amount: £-65.00
  * Sum of splits in transaction 'T000000000000001558' posted on 22/06/1998 is not zero.
    Account: Liability:Barclaycard, Amount: £-25.00
  * Sum of splits in transaction 'T000000000000001679' posted on 20/08/1998 is not zero.
    Account: Liability:Barclaycard, Amount: £-500.00
  * Sum of splits in transaction 'T000000000000001691' posted on 24/08/1998 is not zero.
    Account: Liability:Barclaycard, Amount: £-2,150.00
  * Sum of splits in transaction 'T000000000000001741' posted on 21/09/1998 is not zero.
    Account: Liability:Barclaycard, Amount: £-18.44
  * Sum of splits in transaction 'T000000000000001860' posted on 11/11/1998 is not zero.
    Account: Asset:Abbey National Current, Amount: £40.00
  * Sum of splits in transaction 'T000000000000002129' posted on 28/03/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £-68.50
  * Sum of splits in transaction 'T000000000000002280' posted on 07/06/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £-15.74
  * Sum of splits in transaction 'T000000000000002294' posted on 09/06/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £-9.70
  * Sum of splits in transaction 'T000000000000002295' posted on 09/06/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £-6.17
  * Sum of splits in transaction 'T000000000000002326' posted on 23/06/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £-10.00
  * Sum of splits in transaction 'T000000000000002327' posted on 23/06/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £10.00
  * Sum of splits in transaction 'T000000000000002479' posted on 12/08/1999 is not zero.
    Account: Liability:Goldfish, Amount: £-29.39
  * Sum of splits in transaction 'T000000000000002583' posted on 23/09/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £-4.48
  * Sum of splits in transaction 'T000000000000002656' posted on 23/10/1999 is not zero.
    Account: Liability:Goldfish, Amount: £-22.50
  * Sum of splits in transaction 'T000000000000002810' posted on 22/12/1999 is not zero.
    Account: Liability:Goldfish, Amount: £-48.85
  * Sum of splits in transaction 'T000000000000002827' posted on 29/12/1999 is not zero.
    Account: Liability:Goldfish, Amount: £-62.80
  * Sum of splits in transaction 'T000000000000002830' posted on 29/12/1999 is not zero.
    Account: Liability:Barclaycard, Amount: £-23.61
  * Sum of splits in transaction 'T000000000000002870' posted on 11/01/2000 is not zero.
    Account: Liability:Barclaycard, Amount: £-4.45
  * Sum of splits in transaction 'T000000000000002882' posted on 17/01/2000 is not zero.
    Account: Liability:Barclaycard, Amount: £-14.25
  * Sum of splits in transaction 'T000000000000002887' posted on 18/01/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-20.79
  * Sum of splits in transaction 'T000000000000002972' posted on 22/02/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-22.60
  * Sum of splits in transaction 'T000000000000002992' posted on 28/02/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-14.18
  * Sum of splits in transaction 'T000000000000002994' posted on 28/02/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-12.49
  * Sum of splits in transaction 'T000000000000003002' posted on 29/02/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-30.09
  * Sum of splits in transaction 'T000000000000003005' posted on 02/03/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-21.88
  * Sum of splits in transaction 'T000000000000003006' posted on 02/03/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-22.16
  * Sum of splits in transaction 'T000000000000003007' posted on 02/03/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-27.51
  * Sum of splits in transaction 'T000000000000003170' posted on 05/05/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-38.98
  * Sum of splits in transaction 'T000000000000003229' posted on 27/05/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-37.00
  * Sum of splits in transaction 'T000000000000003247' posted on 02/06/2000 is not zero.
    Account: Asset:Abbey National Current, Amount: £-6.00
  * Sum of splits in transaction 'T000000000000003336' posted on 23/06/2000 is not zero.
    Account: Liability:Barclaycard, Amount: £-10.00
  * Sum of splits in transaction 'T000000000000003337' posted on 23/06/2000 is not zero.
    Account: Liability:Barclaycard, Amount: £10.00
  * Sum of splits in transaction 'T000000000000003462' posted on 31/07/2000 is not zero.
    Account: Liability:Goldfish, Amount: £-19.50
  * Sum of splits in transaction 'T000000000000004025' posted on 24/02/2001 is not zero.
    Account: Liability:Goldfish, Amount: £-19.80
  * Sum of splits in transaction 'T000000000000004191' posted on 18/04/2001 is not zero.
    Account: Liability:Goldfish, Amount: £-51.40
  * Sum of splits in transaction 'T000000000000004265' posted on 22/05/2001 is not zero.
    Account: Liability:Goldfish, Amount: £6.34
  * Sum of splits in transaction 'T000000000000004317' posted on 01/06/2001 is not zero.
    Account: Liability:Goldfish, Amount: £-1.85
  * Sum of splits in transaction 'T000000000000004335' posted on 05/06/2001 is not zero.
    Account: Liability:Goldfish, Amount: £-2.05
  * Sum of splits in transaction 'T000000000000004379' posted on 19/06/2001 is not zero.
    Account: Liability:Barclaycard, Amount: £-25.00
  * Sum of splits in transaction 'T000000000000004403' posted on 25/06/2001 is not zero.
    Account: Liability:Barclaycard, Amount: £-10.00
  * Sum of splits in transaction 'T000000000000004404' posted on 25/06/2001 is not zero.
    Account: Liability:Barclaycard, Amount: £10.00
  * Sum of splits in transaction 'T000000000000004442' posted on 03/07/2001 is not zero.
    Account: Liability:Goldfish, Amount: £-0.01
  * Sum of splits in transaction 'T000000000000004840' posted on 12/12/2001 is not zero.
    Account: Liability:Goldfish, Amount: £-24.50
  * Sum of splits in transaction 'T000000000000004857' posted on 19/12/2001 is not zero.
    Account: Liability:Goldfish, Amount: £-149.00
  * Sum of splits in transaction 'T000000000000005276' posted on 19/06/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-39.96
  * Sum of splits in transaction 'T000000000000005367' posted on 19/07/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-23.50
  * Sum of splits in transaction 'T000000000000005415' posted on 06/08/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-28.17
  * Sum of splits in transaction 'T000000000000005426' posted on 08/08/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-62.95
  * Sum of splits in transaction 'T000000000000005446' posted on 21/08/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-2,788.30
  * Sum of splits in transaction 'T000000000000005447' posted on 21/08/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-2,788.30
  * Sum of splits in transaction 'T000000000000005550' posted on 30/09/2002 is not zero.
    Account: Liability:Goldfish, Amount: £2,788.30
  * Sum of splits in transaction 'T000000000000005551' posted on 30/09/2002 is not zero.
    Account: Liability:Goldfish, Amount: £2,788.30
  * Sum of splits in transaction 'T000000000000005734' posted on 03/12/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-22.00
  * Sum of splits in transaction 'T000000000000005759' posted on 14/12/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-19.50
  * Sum of splits in transaction 'T000000000000005762' posted on 15/12/2002 is not zero.
    Account: Liability:Goldfish, Amount: £-20.42
  * Sum of splits in transaction 'T000000000000005974' posted on 06/03/2003 is not zero.
    Account: Liability:Barclaycard, Amount: £-33.91
  * Sum of splits in transaction 'T000000000000006000' posted on 19/03/2003 is not zero.
    Account: Liability:Barclaycard, Amount: £-38.00
  * Sum of splits in transaction 'T000000000000006082' posted on 14/04/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-32.85
  * Sum of splits in transaction 'T000000000000006106' posted on 25/04/2003 is not zero.
    Account: Liability:Barclaycard, Amount: £-8.02
  * Sum of splits in transaction 'T000000000000006209' posted on 02/06/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-18.00
  * Sum of splits in transaction 'T000000000000006215' posted on 03/06/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-13.98
  * Sum of splits in transaction 'T000000000000006219' posted on 03/06/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-49.08
  * Sum of splits in transaction 'T000000000000006266' posted on 19/06/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-36.00
  * Sum of splits in transaction 'T000000000000006275' posted on 24/06/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-29.00
  * Sum of splits in transaction 'T000000000000006312' posted on 02/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-66.00
  * Sum of splits in transaction 'T000000000000006322' posted on 06/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-30.00
  * Sum of splits in transaction 'T000000000000006329' posted on 08/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-32.98
  * Sum of splits in transaction 'T000000000000006357' posted on 18/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-23.50
  * Sum of splits in transaction 'T000000000000006362' posted on 24/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-29.00
  * Sum of splits in transaction 'T000000000000006379' posted on 29/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-10.15
  * Sum of splits in transaction 'T000000000000006380' posted on 30/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-49.50
  * Sum of splits in transaction 'T000000000000006386' posted on 31/07/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-30.00
  * Sum of splits in transaction 'T000000000000006461' posted on 01/09/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-357.50
  * Sum of splits in transaction 'T000000000000006500' posted on 18/09/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-55.00
  * Sum of splits in transaction 'T000000000000006521' posted on 25/09/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-54.00
  * Sum of splits in transaction 'T000000000000006571' posted on 10/10/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-32.40
  * Sum of splits in transaction 'T000000000000006596' posted on 22/10/2003 is not zero.
    Account: Liability:Barclaycard, Amount: £-2.00
  * Sum of splits in transaction 'T000000000000006597' posted on 22/10/2003 is not zero.
    Account: Liability:Barclaycard, Amount: £-0.50
  * Sum of splits in transaction 'T000000000000006695' posted on 25/11/2003 is not zero.
    Account: Liability:Barclaycard, Amount: £-0.22
  * Sum of splits in transaction 'T000000000000006801' posted on 31/12/2003 is not zero.
    Account: Liability:Goldfish, Amount: £-20.10
  * Sum of splits in transaction 'T000000000000006813' posted on 03/01/2004 is not zero.
    Account: Liability:Goldfish, Amount: £-18.50
  * Sum of splits in transaction 'T000000000000006926' posted on 17/02/2004 is not zero.
    Account: Liability:Goldfish, Amount: £-22.46
  * Sum of splits in transaction 'T000000000000006945' posted on 23/02/2004 is not zero.
    Account: Liability:Goldfish, Amount: £-39.00
  * Sum of splits in transaction 'T000000000000007065' posted on 05/04/2004 is not zero.
    Account: Liability:Barclaycard, Amount: £-14.22
  * Sum of splits in transaction 'T000000000000007076' posted on 08/04/2004 is not zero.
    Account: Liability:Barclaycard, Amount: £-30.97
  * Sum of splits in transaction 'T000000000000007168' posted on 20/05/2004 is not zero.
    Account: Liability:Goldfish, Amount: £-41.99
  * Sum of splits in transaction 'T000000000000007240' posted on 17/06/2004 is not zero.
    Account: Liability:Goldfish, Amount: £-40.00

Finished: 0 problems corrected. 102 problems still present.
Comment 10 Alan Rubin 2025-07-24 09:44:30 UTC
Having looked at these and looked at the file I think that the problem is transactions where the category is shown in red as 'Unassigned'

I think that I need to go back to the file on my old installation and sort out all the unassigned transactions.
Comment 11 Alan Rubin 2025-07-24 10:57:06 UTC
Ok.
I have sorted out all the consistency problems and it still crashes when I hit the 'home' view

Model for "ST" loaded with 4 items in 0 ms
Monetary values will be formatted based on locale "en_GB" Example:  "£123.45"
Long date format "dddd, d MMMM yyyy"
Short date format "dd/MM/yyyy"
Narrow date format "dd/MM/yyyy"
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
System icon theme as reported by QT:  "breeze"
App icon theme as configured in KMyMoney:  "system"
Obeying the system-wide icon theme, currently set to:  "breeze"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so"
This is not KMyMoney plugin: '/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so'
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/budgetview.so"
Plugins: budgetview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/checkprinting.so"
Plugins: checkprinting loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvexporter.so"
Plugins: csvexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvimporter.so"
Plugins: csvimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so"
Plugins: forecastview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/gncimporter.so"
Plugins: gncimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/icalendarexporter.so"
Plugins: icalendarexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifexporter.so"
Plugins: qifexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifimporter.so"
Plugins: qifimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reconciliationreport.so"
Plugins: reconciliation report loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so"
Plugins: reportsview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/sqlstorage.so"
Plugins: sqlstorage loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/woob.so"
Python interpreter found: 3.12.11 (main, Jun  4 2025, 14:57:17) [GCC 14.3.0]
Python interpreter module search paths: "/usr/lib64/python312.zip:/usr/lib64/python3.12:/usr/lib64/python3.12/lib-dynload"
Saved a copy of the embedded :/plugins/woob/kmymoneywoob.py script as "/tmp/kmymoneyjNQlBr.py"
Attempt to load the "kmymoneyjNQlBr" Python module from "/tmp"
The dependency 'sys' Python module loaded successfully
The 'path' Python variable loaded successfully
"kmymoneyjNQlBr" Python module failed to load
Traceback (most recent call last):
  File "/tmp/kmymoneyjNQlBr.py", line 10, in <module>
    import logging.config
  File "/usr/lib64/python3.12/logging/config.py", line 31, in <module>
    import logging.handlers
  File "/usr/lib64/python3.12/logging/handlers.py", line 26, in <module>
    import io, logging, socket, os, pickle, struct, time, re
  File "/usr/lib64/python3.12/socket.py", line 52, in <module>
    import _socket
ImportError: /usr/lib64/python3.12/lib-dynload/_socket.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyByteArray_Type
Plugins: woob loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/xmlstorage.so"
Plugins: xmlstorage loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Open file QUrl("file:///home/alan/Dropbox/KMyMoney/kmymoneyNoScheduled.kmy")
kf.i18n: 0 instead of 1 arguments to message "The size of the file..." supplied before conversion
kf.i18n: 0 instead of 1 arguments to message "File <b>%1</b> is al..." supplied before conversion

^[[A^C^[[A
^XTerminated                 kmymoney
alan@Lavankossot:~/packages$ kmymoney
Model for "ST" loaded with 4 items in 0 ms
Monetary values will be formatted based on locale "en_GB" Example:  "£123.45"
Long date format "dddd, d MMMM yyyy"
Short date format "dd/MM/yyyy"
Narrow date format "dd/MM/yyyy"
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
System icon theme as reported by QT:  "breeze"
App icon theme as configured in KMyMoney:  "system"
Obeying the system-wide icon theme, currently set to:  "breeze"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so"
This is not KMyMoney plugin: '/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so'
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/budgetview.so"
Plugins: budgetview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/checkprinting.so"
Plugins: checkprinting loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvexporter.so"
Plugins: csvexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvimporter.so"
Plugins: csvimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so"
Plugins: forecastview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/gncimporter.so"
Plugins: gncimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/icalendarexporter.so"
Plugins: icalendarexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifexporter.so"
Plugins: qifexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifimporter.so"
Plugins: qifimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reconciliationreport.so"
Plugins: reconciliation report loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so"
Plugins: reportsview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/sqlstorage.so"
Plugins: sqlstorage loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/woob.so"
Python interpreter found: 3.12.11 (main, Jun  4 2025, 14:57:17) [GCC 14.3.0]
Python interpreter module search paths: "/usr/lib64/python312.zip:/usr/lib64/python3.12:/usr/lib64/python3.12/lib-dynload"
Saved a copy of the embedded :/plugins/woob/kmymoneywoob.py script as "/tmp/kmymoneyeuNtfm.py"
Attempt to load the "kmymoneyeuNtfm" Python module from "/tmp"
The dependency 'sys' Python module loaded successfully
The 'path' Python variable loaded successfully
"kmymoneyeuNtfm" Python module failed to load
Traceback (most recent call last):
  File "/tmp/kmymoneyeuNtfm.py", line 10, in <module>
    import logging.config
  File "/usr/lib64/python3.12/logging/config.py", line 31, in <module>
    import logging.handlers
  File "/usr/lib64/python3.12/logging/handlers.py", line 26, in <module>
    import io, logging, socket, os, pickle, struct, time, re
  File "/usr/lib64/python3.12/socket.py", line 52, in <module>
    import _socket
ImportError: /usr/lib64/python3.12/lib-dynload/_socket.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyByteArray_Type
Plugins: woob loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/xmlstorage.so"
Plugins: xmlstorage loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Open file QUrl("file:///home/alan/Dropbox/KMyMoney/kmymoneyNoScheduled.kmy")
kf.i18n: 0 instead of 1 arguments to message "The size of the file..." supplied before conversion
kf.i18n: 0 instead of 1 arguments to message "File <b>%1</b> is al..." supplied before conversion
Open file QUrl("file:///home/alan/Dropbox/KMyMoney/kmymoneyNoScheduled.kmy")
kf.i18n: 0 instead of 1 arguments to message "The size of the file..." supplied before conversion
kf.i18n: 0 instead of 1 arguments to message "File <b>%1</b> is al..." supplied before conversion
Terminated                 kmymoney
alan@Lavankossot:~/packages$ kmymoney
Model for "ST" loaded with 4 items in 0 ms
Monetary values will be formatted based on locale "en_GB" Example:  "£123.45"
Long date format "dddd, d MMMM yyyy"
Short date format "dd/MM/yyyy"
Narrow date format "dd/MM/yyyy"
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
System icon theme as reported by QT:  "breeze"
App icon theme as configured in KMyMoney:  "system"
Obeying the system-wide icon theme, currently set to:  "breeze"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so"
This is not KMyMoney plugin: '/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so'
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/budgetview.so"
Plugins: budgetview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/checkprinting.so"
Plugins: checkprinting loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvexporter.so"
Plugins: csvexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/csvimporter.so"
Plugins: csvimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/forecastview.so"
Plugins: forecastview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/gncimporter.so"
Plugins: gncimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/icalendarexporter.so"
Plugins: icalendarexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifexporter.so"
Plugins: qifexporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/qifimporter.so"
Plugins: qifimporter loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reconciliationreport.so"
Plugins: reconciliation report loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so"
Plugins: reportsview loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/sqlstorage.so"
Plugins: sqlstorage loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/woob.so"
Python interpreter found: 3.12.11 (main, Jun  4 2025, 14:57:17) [GCC 14.3.0]
Python interpreter module search paths: "/usr/lib64/python312.zip:/usr/lib64/python3.12:/usr/lib64/python3.12/lib-dynload"
Saved a copy of the embedded :/plugins/woob/kmymoneywoob.py script as "/tmp/kmymoneypSqdoU.py"
Attempt to load the "kmymoneypSqdoU" Python module from "/tmp"
The dependency 'sys' Python module loaded successfully
The 'path' Python variable loaded successfully
"kmymoneypSqdoU" Python module failed to load
Traceback (most recent call last):
  File "/tmp/kmymoneypSqdoU.py", line 10, in <module>
    import logging.config
  File "/usr/lib64/python3.12/logging/config.py", line 31, in <module>
    import logging.handlers
  File "/usr/lib64/python3.12/logging/handlers.py", line 26, in <module>
    import io, logging, socket, os, pickle, struct, time, re
  File "/usr/lib64/python3.12/socket.py", line 52, in <module>
    import _socket
ImportError: /usr/lib64/python3.12/lib-dynload/_socket.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyByteArray_Type
Plugins: woob loaded
Loading "/usr/lib64/qt5/plugins/kmymoney_plugins/xmlstorage.so"
Plugins: xmlstorage loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Open file QUrl("file:///home/alan/Dropbox/KMyMoney/kmymoneyNoScheduled.kmy")
kf.i18n: 0 instead of 1 arguments to message "The size of the file..." supplied before conversion
Model for parameters loaded with 3 items
Model for "I" loaded with 26 items in 0 ms
Model for "P" loaded with 3413 items in 5 ms
Start verifying account hierarchy
End verifying account hierarchy
Model for accounts loaded with 677 items in 3 ms
Model for "T" loaded with 64640 items in 104 ms
Model for parameters loaded with 2 items
Model for schedules loaded with 2 items in 0 ms
Model for "E" loaded with 96 items in 0 ms
Model for currencies loaded with 4 items
Model for prices loaded with 295 items in 0 ms
Model for "R" loaded with 4 items in 0 ms
testing fileFixVersion 5 < 9
13 transaction(s) fixed in fixFile_5
testing fileFixVersion 6 < 9
4 reports(s) fixed in fixFile_6
testing fileFixVersion 7 < 9
4 reports(s) fixed in fixFile_7
testing fileFixVersion 8 < 9
0 reports(s) fixed in fixFile_8
Start calculating balances: 64640 splits
End calculating balances
Model for "SCH" loaded with 0 items in 0 ms
Model for "T" loaded with 1 items in 0 ms
current selection
Institutions: ("I000003")
Accounts: ("A000267")
JournalEntries: ("2015-08-23-T000000000000020673-S0001")
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kmymoney path = /usr/bin pid = 5877
KCrash: Arguments: /usr/bin/kmymoney 
KCrash: Attempting to start /usr/lib64/libexec/drkonqi
Comment 12 Thomas Baumgart 2025-07-25 16:22:11 UTC
Can you try running under gdb (gdb is the debugger, you may have to install it) control to get a backtrace showing all frames? Here are the instructions:

From a terminal window start gdb with the following command:

% gdb kmymoney

some text is printed and the following prompt becomes visible:

(gdb) 

type 'run' without the quotes which starts the application and prints more stuff which is not related. Once KMyMoney crashes, you will see the gdb prompt again. Then we are interested in the output of the command 'bt'. This looks like the following example:

(gdb) bt
#0  0x00007ffff4b1fdef in poll () at /lib64/libc.so.6
#1  0x00007fffea9a7b51 in ??? () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fffea9a81bc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff553a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib64/libQt5Core.so.5
:
:

The important parts are the lines until "MyMoneyFile::countTransactionsWithSpecificReconciliationState" shows up.
Comment 13 Alan Rubin 2025-07-25 17:49:56 UTC
(In reply to Thomas Baumgart from comment #12)
> The important parts are the lines until
> "MyMoneyFile::countTransactionsWithSpecificReconciliationState" shows up.

There don't seem to be any lines before that.

Thread 1 "kmymoney" received signal SIGSEGV, Segmentation fault.
0x00007ffff78c9215 in MyMoneyFile::countTransactionsWithSpecificReconciliationState() const () from /usr/lib64/libkmm_mymoney.so.5
(gdb) bt
#0  0x00007ffff78c9215 in MyMoneyFile::countTransactionsWithSpecificReconciliationState() const () at /usr/lib64/libkmm_mymoney.so.5
#1  0x00000000005020ff in ??? ()
#2  0x00000000004e708f in ??? ()
Comment 14 Thomas Baumgart 2025-07-26 05:47:41 UTC
Git commit a519fa511af0fe37c19d504f4c30d7d53c63380d by Thomas Baumgart.
Committed on 26/07/2025 at 05:47.
Pushed by tbaumgart into branch 'master'.

Debug output to analyze bug 507404

M  +5    -0    kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/-/commit/a519fa511af0fe37c19d504f4c30d7d53c63380d
Comment 15 Thomas Baumgart 2025-07-26 06:36:16 UTC
Thank you for the update. I have added some debug output into the failing code part on the development version.  I hope that those will provide some clarity on what is going on in your case.

Please use the latest AppImage version found on https://cdn.kde.org/ci-builds/office/kmymoney/master/linux/ for the next steps.

Please run the following commands (replacing XXXX with the respective number)

./kmymoney-master-XXXX-linux-gcc-x86_64.AppImage > test.out 2>&1
gzip test.out

and send me the resulting file test.out.gz preferably via private mail (there shouldn't be any personal information in the output but one never knows).
Comment 16 Luke 2025-07-26 18:38:26 UTC
2nd reporter here, just to provide the same information. The workaround for the crash described in comment 7 (https://bugs.kde.org/show_bug.cgi?id=507404#c7) does not prevent crashing when opening the .kmy file. The crash occurs prior to any action being taken, even when the setting is changed as described in that comment. Running against AppImage Master (as of today build 4554), suggests there is some sort of hierarchy reorganization that is failing to occur though.


CLI output from kmymoney-master-4554-linux-gcc-x86_64.AppImage follows:


Open file QUrl("file:///home/me/Documents/Finances.kmy")
Model for parameters loaded with 3 items
Model for "I" loaded with 4 items in 23 ms
Model for "P" loaded with 362 items in 2 ms
Model for "G" loaded with 2 items in 0 ms
Start verifying account hierarchy
check account hierarchy: removed "5-account" from "AStd::Asset"
check account hierarchy: removed "1-account" from "AStd::Asset"
check account hierarchy: removed "2-account" from "AStd::Asset"
check account hierarchy: removed "4-account" from "AStd::Asset"
check account hierarchy: removed "52-category" from "AStd::Expense"
check account hierarchy: removed "204-category" from "AStd::Expense"
check account hierarchy: removed "70-category" from "AStd::Expense"
check account hierarchy: removed "64-category" from "AStd::Expense"
check account hierarchy: removed "201-category" from "AStd::Expense"
check account hierarchy: removed "12-category" from "AStd::Expense"
check account hierarchy: removed "176-category" from "AStd::Expense"
check account hierarchy: removed "42-category" from "AStd::Expense"
check account hierarchy: removed "47-category" from "AStd::Expense"
check account hierarchy: removed "2-category" from "AStd::Expense"
check account hierarchy: removed "43-category" from "AStd::Expense"
check account hierarchy: removed "206-category" from "AStd::Expense"
check account hierarchy: removed "82-category" from "AStd::Expense"
check account hierarchy: removed "219-category" from "AStd::Expense"
check account hierarchy: removed "180-category" from "AStd::Expense"
check account hierarchy: removed "102-category" from "AStd::Income"
check account hierarchy: removed "135-category" from "AStd::Income"
check account hierarchy: removed "187-category" from "AStd::Income"
check account hierarchy: removed "221-category" from "AStd::Income"
check account hierarchy: removed "239-category" from "AStd::Income"
check account hierarchy: removed "9-category" from "AStd::Income"
check account hierarchy: removed "3-account" from "AStd::Liability"
check account hierarchy: removed "7-account" from "AStd::Liability"
check account hierarchy: removed "6-account" from "AStd::Liability"
check account hierarchy: reparented "A000001" to ""
KCrash: appFilePath points to nullptr!
KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2
Segmentation fault (core dumped)
Comment 17 Thomas Baumgart 2025-07-27 07:03:56 UTC
Git commit fb08f06c988d4d73fff9a71787fffa147db89e23 by Thomas Baumgart.
Committed on 27/07/2025 at 07:03.
Pushed by tbaumgart into branch 'master'.

Fixup account assignments to standard accounts
FIXED-IN: 5.2.1

M  +33   -10   kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/-/commit/fb08f06c988d4d73fff9a71787fffa147db89e23
Comment 18 Alan Rubin 2025-07-27 07:12:26 UTC

(In reply to Thomas Baumgart from comment #15)
>
> 
> and send me the resulting file test.out.gz preferably via private mail
> (there shouldn't be any personal information in the output but one never
> knows).
I sent you test.out last night.
Comment 19 Thomas Baumgart 2025-07-27 08:16:27 UTC
Git commit 3ecb65186101d49c01e4d618ab9e4537cf8f08d1 by Thomas Baumgart.
Committed on 27/07/2025 at 08:15.
Pushed by tbaumgart into branch 'master'.

Prevent crash when unknown/invalid account id is found
FIXED-IN: 5.2.1

M  +6    -1    kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/-/commit/3ecb65186101d49c01e4d618ab9e4537cf8f08d1
Comment 20 Thomas Baumgart 2025-07-27 08:20:17 UTC
Git commit 7c5ac5cc0ea7a7436d0468fea83576e02f7a0239 by Thomas Baumgart.
Committed on 27/07/2025 at 08:17.
Pushed by tbaumgart into branch '5.2'.

Prevent crash when unknown/invalid account id is found
FIXED-IN: 5.2.1
(cherry picked from commit 3ecb65186101d49c01e4d618ab9e4537cf8f08d1)

M  +6    -1    kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/-/commit/7c5ac5cc0ea7a7436d0468fea83576e02f7a0239
Comment 21 Thomas Baumgart 2025-07-28 06:33:20 UTC
Git commit cb50551ca6ffc7d68ed5fbec4a392daa19fcfcf7 by Thomas Baumgart.
Committed on 28/07/2025 at 06:32.
Pushed by tbaumgart into branch '5.2'.

Fixup account assignments to standard accounts
FIXED-IN: 5.2.1
(cherry picked from commit fb08f06c988d4d73fff9a71787fffa147db89e23)

M  +33   -10   kmymoney/mymoney/mymoneyfile.cpp

https://invent.kde.org/office/kmymoney/-/commit/cb50551ca6ffc7d68ed5fbec4a392daa19fcfcf7