This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] -- Kmymoney Crashes When Opening Data File

Tags: None
(comma "," separated)
dreslick
Registered Member
Posts
4
Karma
0
OS
Hello!

It looks like my kmymoney data files are corrupt.

When I open my file, I get the following error message:

Uncaught error. Please report the details to the developers
Details
Unknown account id 'A000066' in file mymoneyseqaccessmgr.cpp line 145


I have tried starting from a terminal with kmymoney2 -n

Here is the terminal output:
[DadnMom@FedoraVirtual ~]$ kmymoney2 -n
reading file
start parsing file
startDocument
reading accounts
reading transactions
reading securities
reading prices
reading reports
endDocument
terminate called after throwing an instance of 'MyMoneyException*'
KCrash: Application 'kmymoney2' crashing...

[1]+ Stopped kmymoney2 -n


I have already disabled the "Check Schedules on Startup"

Do you have any suggestions to get this file open?

Thank you for looking!

Nathan

Edit 7/29/2010 Found the information on backtrace. Here is the result of the procedure:
Code: Select all
(gdb) backtrace full
#0  0x00427416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00224a91 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x0022635a in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x00694a77 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0x006928f6 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x00692933 in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x00692a72 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7  0x08182993 in main ()
No symbol table info available.
(gdb) info registers
eax            0x0      0
ecx            0x8c9    2249
edx            0x6      6
ebx            0x8c9    2249
esp            0xbfffeca4       0xbfffeca4
ebp            0xbfffecb0       0xbfffecb0
esi            0x36b844 3586116
edi            0x36aff4 3583988
eip            0x427416 0x427416 <__kernel_vsyscall+2>
eflags         0x206    [ PF IF ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
(gdb) thread apply all backtrace

Thread 1 (Thread 0xb7fdd700 (LWP 2249)):
#0  0x00427416 in __kernel_vsyscall ()
#1  0x00224a91 in raise () from /lib/libc.so.6
#2  0x0022635a in abort () from /lib/libc.so.6
#3  0x00694a77 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/libstdc++.so.6
#4  0x006928f6 in ?? () from /usr/lib/libstdc++.so.6
#5  0x00692933 in std::terminate() () from /usr/lib/libstdc++.so.6
#6  0x00692a72 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0x08182993 in main ()


Is there any other information you need to help me out?

Nathan

Last edited by dreslick on Sat Jul 31, 2010 12:35 pm, edited 1 time in total.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
if you start kmymoney2 -n and it crashes, that's because the installation is hosed. The '-n' switch means it doesn't open a file. So, the problem is not in the file but in your install.

Reinstall, update or upgrade, depending on your distro.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
dreslick
Registered Member
Posts
4
Karma
0
OS
Thank you for your response! I'll clarify a bit. The crash happens when I attempt to open the data file. The progress bar at the bottom moves over until the readout says "reports," then the crash happens with the pop up window. I have moved the data file to other computers and have had the same result!

Nathan
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
As has been mentioned before, start KMyMoney using the option -n. That prevents opening the file. Next turn off all options available for the homepage. Then try to open the file. Does it still crash? If not, run Tools/Consistency check.

There's a reference to an account which does not exist (anymore) and that is causing the problem. We've had these reports before and they all were related to a reporting issue.

Hope that helps.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
dreslick
Registered Member
Posts
4
Karma
0
OS
Thank you for your reply!

I unset the homepage options and the program opened my file!!! Thank YOU!!! I ran a consistency check. The problem was, as my research showed, with a scheduled transaction. Deleted that, and the software works very well now.

Have a great weekend!

Nathan


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]