Master appimage still crashes up opening registers in Linux Mint

Have been trying to use the Master appimage with current versions of Linux Mint for past year and right up thru latest appimage [kmymoney-master-3789-linux-gcc-x86_64.AppImage], program launches, displays home page of recent file but crashes as soon as I try to open any register. The crash happens with any file on any computer that I try it on.

I can click on a scheduled transaction and it opens that transaction; but if I click on any account in the home page, program crashes with an exception error.

This has been going on for over a year and remains unfixed making the Master appimage unusable with current version of Linux Mint.

Thanks for mentioning. This seems to either a problem on your local install or with Linux Mint. I just downloaded the mentioned AppImage file and was able to perform all those operations without any problem. It behaves the same even if I uninstall my local installation of KMyMoney.

Can you start the AppImage on a console and provide the console output (either here formatted as code or as attachment to a mail to kmymoney-devel@kde.org). I wonder if it contains any hints to what could cause this behavior.

Can you provide more details on the exception error. Terminal output is also helpful in this case.

1 Like

I don’t have any scheduled transactions, but I can certainly open up any account from the home page. Most things work for me with the master; the only problem I have is the well-known “online quotes”. For example, downloading a quote for BGC yields:
(Debug) symbol=BGC id=E000062…

Fetching URL https://query1.finance.yahoo.com/v8/finance/chart/BGC

URL found: https://query1.finance.yahoo.com/v8/finance/chart/BGC
Unable to parse symbol for BGC
Price found: ‘8.63’ (8.63)
Date found: ‘1734642003’

Date format found: ‘1734642003’ → ‘’

Received an invalid price for BGC, unable to update."
I believe I can fix this by going back to what works in the stable release, but I have not had the time.
Mark, is it possible the problem is Mint, and if so, can you switch? A

Stable AppImage works fine.
Master AppImage always crashes when opening registers.

I have tried on 4 different computers using 2 completely different files. All computers running latest version of Linux Mint and get same results.

This may be related to issue:
Master does not correctly display fonts as per settings. Stable does.
Also don’t know if this means anything, but all the computers used a separate partition for /home.

Here is terminal output:

Alkimia: static void AlkEnvironment::checkForAppImageEnvironment(const char*) AppImageInfo: “/tmp/.mount_k.AppI4fiTIU/AppRun.wrapped” “/tmp/.mount_k.AppI4fiTIU/” “AppRun.wrapped”
Alkimia: static void AlkEnvironment::checkForAppImageEnvironment(const char*) LD_LIBRARY_PATH set to “/tmp/.mount_k.AppI4fiTIU/usr/lib”
Model for “ST” loaded with 4 items in 0 ms
Monetary values will be formatted based on locale “en_US” Example: “$123.45”
Long date format “dddd, MMMM d, yyyy”
Short date format “M/d/yy”
Narrow date format “M/d/yy”
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: “Adwaita”
App icon theme as configured in KMyMoney: “oxygen”
Setting icon theme to: “oxygen”
Loading “/tmp/.mount_k.AppI4fiTIU/usr/plugins/kmymoney_plugins/konlinetasks_sepa.so”
This is not KMyMoney plugin: ‘/tmp/.mount_k.AppI4fiTIU/usr/plugins/kmymoney_plugins/konlinetasks_sepa.so’
Loading “/tmp/.mount_k.AppI4fiTIU/usr/plugins/kmymoney_plugins/csvexporter.so”
Plugins: csvexporter loaded
Loading “/tmp/.mount_k.AppI4fiTIU/usr/plugins/kmymoney_plugins/qifexporter.so”
Plugins: qifexporter loaded
Loading “/tmp/.mount_k.AppI4fiTIU/usr/plugins/kmymoney_plugins/reportsview.so”
Plugins: reportsview loaded
Loading “/tmp/.mount_k.AppI4fiTIU/usr/plugins/kmymoney_plugins/xmlstorage.so”
Plugins: xmlstorage loaded
Open file QUrl(“file:///home/mark/KMyMoney/Mark (2020+).kmy”)
Model for “I” loaded with 10 items in 62 ms
Model for “P” loaded with 71 items in 0 ms
Start verifying account hierarchy
End verifying account hierarchy
Model for accounts loaded with 189 items in 8 ms
Model for “T” loaded with 4304 items in 9 ms
Model for parameters loaded with 5 items
Model for schedules loaded with 52 items in 0 ms
Model for “E” loaded with 13 items in 0 ms
Model for currencies loaded with 6 items
Model for prices loaded with 431 items in 0 ms
Model for “R” loaded with 62 items in 0 ms
Start calculating balances: 4304 splits
End calculating balances
Adjust scheduled transaction “VoM” from QDate(“2024-12-12”) to QDate(“2024-12-19”) “Change the date to the next processing day”
Model for “SCH” loaded with 4 items in 0 ms
Processed home view section 1 in 36 ms
Processed home view section 2 in 1 ms
Processed home view section 8 in 35 ms
Processed home view section 4 in 8 ms
Model for “T” loaded with 1 items in 0 ms
current selection
Institutions: (“I000001”)
Accounts: (“A000190”)
JournalEntries: (“2024-12-19-T000000000000001948-S0001”)
Segmentation fault (core dumped)

For some time now, the same issue occurs with my Windows 11 install. Release version 5.1.3-eef04f1 works okay. Anything beyond that, and the program crashes when I try to open a register.

Let me know where to look for the logs and I’ll post the results here for review.

An interesting update:

I had downloaded the Master AppImage to my /Downloads folder in my /home partition, changed it’s permissions to allow Execute, and ran from there. As described, it loaded file, ignored Font settings and crashed when opening any register.

I just moved it to the /Opt folder in my /Computer partition and tried running it from there. It didn’t see any of my settings stored in my /home partition, including recent file list. I selected the menu option to open the KMyMoney file in my /home partition. it opened it and allowed me normal access to the registers for my accounts but my old settings were still ignored. So there seems to be a problem with how the Master AppImage deals with Environmental variables.

Second time that I launched the AppImage, it seems to have found my settings but still ignored font settings.
Reports display text for report css at top and several have wrong data.
Some favorite reports do not appear in menu.
Some previously working reports fail to display any data.

I get these

(Debug) symbol=BGC id=BGC...
Fetching URL https://query1.finance.yahoo.com/v8/finance/chart/BGC...
URL found: https://query1.finance.yahoo.com/v8/finance/chart/BGC...
Symbol found: ''
Price found: '8.75' (8,75)
Date found: '1734728402'
Date format found: '1734728402' -> 'Fr. Dez. 20 2024'
BGC BGC Fr. Dez. 20 2024 8.75

with the following set of parameters in master:

Online quote settings generated with Alkimia 8.1.92-70698c9-webengine-qtnetwork

URL: https://query1.finance.yahoo.com/v8/finance/chart/%1
Download mode: Default
Data format: Stripped HTML
Identifier: 
Select by: Symbol
Price: "regularMarketPrice":((\d+|\d{1,3}(?:[,]\d{3})).\d+)
Price decimal separator: Legacy
Date: "regularMarketTime":([\d]+)
Date format: %u
Default identifier: 
Remote source: not checked

@markhm, @rcblackwell Regarding those crashes, please try if the following has an impact:

  • Use the environment as it is when KMyMoney crashes for you
  • on Linux: rename ~/.config/kmymoney/kmymoneyrc to ~/.config/kmymoney/kmymoneyrc.ori
  • on Windows: rename C:\Users\username\AppData\Local\kmymoney\kmymoneyrc to C:\Users\username\AppData\Local\kmymoney\kmymoneyrc.ori
  • Make sure to keep this kmymoneyrc.ori file for the time being
  • Start KMyMoney and open your data file (it does not open automatically because we removed that knowledge with the prior command)
  • Check if it still crashes when you perform the operation which failed before.
  • Report back your findings about the crash here so that we can come up with the next steps.

Version 5.1.90-12e528e (and all before)

In my case the problem seems to be the “~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc”.
Because as soon as I make a change in the toolbar (i.e. removing “New book”) KMyMoney crashes with every click (sidebar or account).
This also happens with my toolbar, which I have been using for years with version 5.1.3.
As soon as I delete the changed toolbar, a new one is created and it works as it should.

greetings
Udo

The New button is a special one, because it is used by most (if not all) New actions. Press it a while to see them all. Don’t remove it.

ipwizard:
Tried your suggestion with creating a new kmymoneyrc file and renaming old one. Recreated desired settings in new file. Ran program and left data file in /home partition.

I still get crashing and it doesn’t recognize new font size setting.
Some reports are correct and some do not display any data.

Hi Thomas,

thanks for your info… i never stop learning…

Since then, the “New” button was for a “New file”. For me, it was not only unnecessary, but also “dangerous” - one click and you have closed your current file for the creation of a new file.
And yes, I see that this “New…” now has a multi-function.
Is there another button that you should definitely leave in?

@ipwizard , I followed instruction in your previous post. The results were similar to before. Selecting any button on the side bar causes the program to crash.

As a means of investigating further, I created a Windows 11 Proxmox VM, installed KMyMoney (kmymoney-master-3791-windows-cl-msvc2019-x86_64.exe). Using the same data file (Not a copy) I was able to navigate KMyMoney without witnessing any crashes. I did however notice an issue with my data file that didn’t appear in the latest stable version. A number of the transactions within the file are marked as not equaling zero. I’ll need to look for then clean up those transactions before trying again on my production machine.

@markhm @rcblackwell Can you try to repeat the above instructions with the following file(s):

  • on Linux: rename ~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc to ~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc.ori
  • on Windows rename C:\Users\username\AppData\Local\kxmlgui5\kmymoney\kmymoneyui.rc to C:\Users\username\AppData\Local\kxmlgui5\kmymoney\kmymoneyui.rc.ori.

Renaming is essential, because the kmymoneyui.rc file needs to disappear, but we might need it later for investigation. It might be, that the file does not exist in your environment, which is also valid. In that case, please let us know.

1 Like

@ipwizard, renaming that file solved the problem.

I’m know running Version 5.1.90-12e528e Yeah :smiley:!

ipwizard
see my note #10 above.
I tried your suggestion and still had some serious issues.

@rcblackwell Can you please send the original version of it to me? It does not contain any personal data and I like to see what causes the crash. You can use this mail address. Many thanks in advance.

This is very unspecific and can be the cause why it does not trigger anyone to do anything.

You’re a genius or a magician, or both! :slight_smile:
Thanks for the help. A