Bug 375254 - KMyMoney app crashes when trying to see account details
Summary: KMyMoney app crashes when trying to see account details
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: database (show other bugs)
Version: 4.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 18:10 UTC by Pavol
Modified: 2017-08-11 21:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
QIF file (932 bytes, text/plain)
2017-01-18 18:35 UTC, Pavol
Details
CSV file (2.59 KB, application/vnd.ms-excel)
2017-01-18 18:36 UTC, Pavol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavol 2017-01-18 18:10:31 UTC
I can launch the application however when trying to see details in my account, the app crashes with the following error: Node was not TRANSACTION in file e:\r\build\extragear\kmymoney-4.6.1-20110918\work\kmymoney-4.8.0\kmymoney\mymoney\mymoneytransaction.cpp line 53.
Comment 1 Pavol 2017-01-18 18:34:52 UTC
everything was working fine until I was trying to import a .qif file based on a .csv file I was trying to import. please find both files attached
Comment 2 Pavol 2017-01-18 18:35:44 UTC
Created attachment 103506 [details]
QIF file
Comment 3 Pavol 2017-01-18 18:36:16 UTC
Created attachment 103507 [details]
CSV file
Comment 4 Pavol 2017-01-19 19:15:36 UTC
restored a backup file, otherwise could not resolve the issue.
Comment 5 Ralf Habacker 2017-07-01 12:54:40 UTC
I just tried to import the csv file with kmymoney 4.8.1 64 bit snapshot running with gdb on Windows (See bug 380075 how to get a kmymoney snapshot) and got the following segfault sometimes in the column selection page on selecting entries in this dialog. 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 5824.0x1ac0]
0x000007fefe777c8a in ole32!CoSetProxyBlanket () from C:\Windows\system32\ole32.dll
(gdb) bt
#0  0x000007fefe777c8a in ole32!CoSetProxyBlanket () from C:\Windows\system32\ole32.dll
#1  0x0000000010ab2088 in ?? ()
#2  0x0000000000000008 in ?? () at /usr/x86_64-w64-mingw32/sys-root/mingw/include/QtCore/qvector.h:429
#3  0x0000000000000000 in ?? ()
(gdb)

This stacktrace indicates that the crash may be caused by a stack corruption.
Comment 6 Ralf Habacker 2017-08-11 20:02:03 UTC
Comment 4 indicates that this issue has been caused by a corrupted kmymoney file.
Comment 7 Ralf Habacker 2017-08-11 21:25:10 UTC
(In reply to Ralf Habacker from comment #5)
> got the following segfault sometimes in the column selection page on
> selecting entries in this dialog. 
Could not reproduce anymore.