Bug 313102

Summary: CSV File Import
Product: [Applications] kmymoney Reporter: JKHU <XI_publici_II>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: agander93, onet.cristian
Priority: NOR    
Version: 4.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description JKHU 2013-01-11 21:05:30 UTC
Application: kmymoney (4.6.1)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-35-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I import a CSV File (from my personal bank account) to my KM account.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb3cb3740 (LWP 2302))]

Thread 4 (Thread 0xb1575b40 (LWP 2318)):
#0  0xb46ae3fc in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb466eb2b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb466f042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb466f56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb157a134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#5  0xb46926b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb681fd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0xb5201d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb0bffb40 (LWP 2319)):
#0  0xb7747424 in __kernel_vsyscall ()
#1  0xb51f35f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb467ca7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb466f0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb466f56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb22e91ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb46926b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb681fd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5201d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb01ffb40 (LWP 2430)):
#0  QTimerInfoList::timerWait (this=0xaf800cdc, tm=...) at kernel/qeventdispatcher_unix.cpp:451
#1  0xb60efe23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb01ff0bc) at kernel/qeventdispatcher_glib.cpp:136
#2  0xb60efebd in timerSourcePrepare (source=0xaf800ca8, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#3  0xb466e872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb466efaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb466f201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb60f08e7 in QEventDispatcherGlib::processEvents (this=0xaf802d70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb60bc50d in QEventLoop::processEvents (this=0xb01ff240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb60bc7a9 in QEventLoop::exec (this=0xb01ff240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5fa594c in QThread::exec (this=0xbdcdb10) at thread/qthread.cpp:501
#10 0xb6099b5d in QInotifyFileSystemWatcherEngine::run (this=0xbdcdb10) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb5fa8de0 in QThreadPrivate::start (arg=0xbdcdb10) at thread/qthread_unix.cpp:298
#12 0xb681fd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb5201d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb3cb3740 (LWP 2302)):
[KCrash Handler]
#7  0xb7747424 in __kernel_vsyscall ()
#8  0xb51411df in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb5144825 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb53b513d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb53b2ed3 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb53b2f0f in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb53b30b4 in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0xb60bca55 in QEventLoop::exec (this=0xbfebe184, flags=...) at kernel/qeventloop.cpp:218
#15 0xb60c1eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#16 0xb5525a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#17 0x0808a493 in runKMyMoney (splash=0xbfebe2d8, 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 0x8fe>, argv=<error reading variable: Cannot access memory at address 0x902>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:181

Possible duplicates by query: bug 313047, bug 313032, bug 312943, bug 312942, bug 312729.

Reported using DrKonqi
Comment 1 allan 2013-01-11 22:17:18 UTC
Unfortunately, the backtrace does not look very helpful, at least not to me, except the indication from the other possible duplicates that the problem may be external to KMyMoney.

So, we need more information.  Firstly, can you indicate the steps you take leading up to the crash.
Next, is there a possibility you can supply the input CSV file, if you wish directly to me, and with sensitive data disguised (AAAAA for alpha characters in bank details, NNNN for numeric), provided the structure stays intact and the file still results in a crash.

Then, much has happened since 4.6.1.  Could you possibly install the latest stable release, 4.6.3, from Claydoh's PPA.
Comment 2 Jekyll Wu 2013-03-05 09:58:59 UTC
Since you can reproduce the crash every time, please follow the guide[1] and provide a better backtrace. 

[1] http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_when_an_uncaught_exception_is_causing_a_crash
Comment 3 Cristian OneČ› 2013-08-29 13:07:57 UTC
We need a stack trace with debug information installed.