Bug 332251

Summary: qif import makes kmymoney crash immediately
Product: [Applications] kmymoney Reporter: Uwe <uwe_p>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: onet.cristian, ralf.habacker
Priority: NOR Keywords: triaged
Version: 4.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Uwe 2014-03-17 13:50:50 UTC
I tried to import a qif-file which I exported from Quicken 2005. I also tried to convert the file to UTF-8 but every time I try to import the file the application crashes. As source I use "other application" and I modified the default profile to "Eröffnungssaldo" as german translation.


Reproducible: Always

Steps to Reproduce:
1 make complete export from Quicken 2005 Deluxe
2 convert qif-file with iconv to UTF-8
3 start kmymoney and create a kmy-file
4 start qif-import
5 edit default profile to "Eröffnungssaldo" as german translation
6 select file to import
7 kmymoney crashes
Actual Results:  
-- Backtrace:
Application: KMyMoney (kmymoney), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb3d3f740 (LWP 9579))]

Thread 3 (Thread 0xb1877b40 (LWP 9582)):
#0  0xb77d4424 in __kernel_vsyscall ()
#1  0xb68b59db in read () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb473a6ce in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb46fbb92 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb46fc002 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb46fc52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb18d0134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#7  0xb471f673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb68aed4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb528fbae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb0effb40 (LWP 9583)):
#0  0xb77d4424 in __kernel_vsyscall ()
#1  0xb68b59db in read () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb473a6ce in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb46fbb92 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb46fc002 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb46fc52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb23884aa in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#7  0xb471f673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb68aed4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb528fbae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb3d3f740 (LWP 9579)):
[KCrash Handler]
#7  0xb77d4424 in __kernel_vsyscall ()
#8  0xb51ce1df in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb51d1825 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb544213d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb543fed3 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb543ff0f in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb54400b4 in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0xb6149a55 in QEventLoop::exec (this=0xbfa1f9d4, flags=...) at kernel/qeventloop.cpp:218
#15 0xb614eeba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#16 0xb55b2a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#17 0x0808a493 in runKMyMoney (splash=0xbfa1fb28, a=<optimized out>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:282
#18 0x080889db in main (argc=<error reading variable: Cannot access memory at address 0x256b>, argv=<error reading variable: Cannot access memory at address 0x256f>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:181


Expected Results:  
if import fails a reason should be displayed
original Quicken export file should be importable

Application: kmymoney (4.6.1)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.11.0-18-generic i686
Distribution: Ubuntu 12.04.4 LTS
Comment 1 allan 2014-03-17 14:50:06 UTC
On 17/03/14 13:50, Uwe wrote:
> https://bugs.kde.org/show_bug.cgi?id=332251
>
>              Bug ID: 332251
>             Summary: qif import makes kmymoney crash immediately
>      Classification: Unclassified
>             Product: kmymoney4
>             Version: unspecified
>            Platform: Ubuntu Packages
>                  OS: Linux
>              Status: UNCONFIRMED
>            Severity: crash
>            Priority: NOR
>           Component: general
>            Assignee: kmymoney-devel@kde.org
>            Reporter: uwe_p@gmx.net
>
> I tried to import a qif-file which I exported from Quicken 2005. I also tried
> to convert the file to UTF-8 but every time I try to import the file the
> application crashes. As source I use "other application" and I modified the
> default profile to "Eröffnungssaldo" as german translation.
>
>
> Reproducible: Always
>
> Steps to Reproduce:
> 1 make complete export from Quicken 2005 Deluxe
> 2 convert qif-file with iconv to UTF-8
> 3 start kmymoney and create a kmy-file
> 4 start qif-import
> 5 edit default profile to "Eröffnungssaldo" as german translation
> 6 select file to import
> 7 kmymoney crashes
> Actual Results:
> -- Backtrace:
> Application: KMyMoney (kmymoney), signal: Aborted
> Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
> [Current thread is 1 (Thread 0xb3d3f740 (LWP 9579))]
>
> Thread 3 (Thread 0xb1877b40 (LWP 9582)):
> #0  0xb77d4424 in __kernel_vsyscall ()
> #1  0xb68b59db in read () from /lib/i386-linux-gnu/libpthread.so.0
> #2  0xb473a6ce in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #3  0xb46fbb92 in g_main_context_check () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #4  0xb46fc002 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #5  0xb46fc52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #6  0xb18d0134 in ?? () from
> /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
> #7  0xb471f673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #8  0xb68aed4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
> #9  0xb528fbae in clone () from /lib/i386-linux-gnu/libc.so.6
>
> Thread 2 (Thread 0xb0effb40 (LWP 9583)):
> #0  0xb77d4424 in __kernel_vsyscall ()
> #1  0xb68b59db in read () from /lib/i386-linux-gnu/libpthread.so.0
> #2  0xb473a6ce in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #3  0xb46fbb92 in g_main_context_check () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #4  0xb46fc002 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #5  0xb46fc52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #6  0xb23884aa in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
> #7  0xb471f673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #8  0xb68aed4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
> #9  0xb528fbae in clone () from /lib/i386-linux-gnu/libc.so.6
>
> Thread 1 (Thread 0xb3d3f740 (LWP 9579)):
> [KCrash Handler]
> #7  0xb77d4424 in __kernel_vsyscall ()
> #8  0xb51ce1df in raise () from /lib/i386-linux-gnu/libc.so.6
> #9  0xb51d1825 in abort () from /lib/i386-linux-gnu/libc.so.6
> #10 0xb544213d in __gnu_cxx::__verbose_terminate_handler() () from
> /usr/lib/i386-linux-gnu/libstdc++.so.6
> #11 0xb543fed3 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
> #12 0xb543ff0f in std::terminate() () from
> /usr/lib/i386-linux-gnu/libstdc++.so.6
> #13 0xb54400b4 in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6
> #14 0xb6149a55 in QEventLoop::exec (this=0xbfa1f9d4, flags=...) at
> kernel/qeventloop.cpp:218
> #15 0xb614eeba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
> #16 0xb55b2a74 in QApplication::exec () at kernel/qapplication.cpp:3820
> #17 0x0808a493 in runKMyMoney (splash=0xbfa1fb28, a=<optimized out>) at
> /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:282
> #18 0x080889db in main (argc=<error reading variable: Cannot access memory at
> address 0x256b>, argv=<error reading variable: Cannot access memory at address
> 0x256f>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:181
>
>
> Expected Results:
> if import fails a reason should be displayed
> original Quicken export file should be importable
>
> Application: kmymoney (4.6.1)
> KDE Platform Version: 4.8.5 (4.8.5)
> Qt Version: 4.8.1
> Operating System: Linux 3.11.0-18-generic i686
> Distribution: Ubuntu 12.04.4 LTS
>

Your KMyMoney version, 4.6.1, is quite old now.  Please see if you are 
able to reproduce the problem on 4.6.4.  The Claydoh PPA may help.

Allan
Comment 2 Cristian Oneț 2014-07-31 13:47:00 UTC
Please try this using the latest version.
Comment 3 Andrew Crouthamel 2018-10-07 04:28:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-06 14:46:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!