Bug 277852

Summary: Crash on Import
Product: [Applications] kmymoney Reporter: Joern Seemann <joern>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: cristianbzdg, martin, rysiulg
Priority: NOR    
Version: 4.5.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Joern Seemann 2011-07-15 18:11:35 UTC
Application: kmymoney (4.5.3)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- While importing an csv kmymoney crashed evertime no matter what profile (defined or self-defined)

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7819930 (LWP 8392))]

Thread 3 (Thread 0xb2620b70 (LWP 8393)):
#0  0x0692bd41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x077b2dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0787f4f2 in updateCurrentTime (this=0x93fdebc, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x93fdebc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0787dd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb26200dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0787ddcd in timerSourcePrepare (source=0x93fde88, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x07126fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x07127e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x07128524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0787e577 in QEventDispatcherGlib::processEvents (this=0x93fb880, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x07850289 in QEventLoop::processEvents (this=0xb2620290, flags=...) at kernel/qeventloop.cpp:149
#12 0x07850522 in QEventLoop::exec (this=0xb2620290, flags=...) at kernel/qeventloop.cpp:201
#13 0x0775a2a0 in QThread::exec (this=0x94ccb90) at thread/qthread.cpp:492
#14 0x07831fdb in QInotifyFileSystemWatcherEngine::run (this=0x94ccb90) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0775cda2 in QThreadPrivate::start (arg=0x94ccb90) at thread/qthread_unix.cpp:320
#16 0x0020de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x01c2b73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb117ab70 (LWP 8399)):
#0  0x00210374 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x07127752 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0712803a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07128524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0787e577 in QEventDispatcherGlib::processEvents (this=0x9b77470, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x07850289 in QEventLoop::processEvents (this=0xb117a290, flags=...) at kernel/qeventloop.cpp:149
#6  0x07850522 in QEventLoop::exec (this=0xb117a290, flags=...) at kernel/qeventloop.cpp:201
#7  0x0775a2a0 in QThread::exec (this=0x9b812d0) at thread/qthread.cpp:492
#8  0x07831fdb in QInotifyFileSystemWatcherEngine::run (this=0x9b812d0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x0775cda2 in QThreadPrivate::start (arg=0x9b812d0) at thread/qthread_unix.cpp:320
#10 0x0020de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x01c2b73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7819930 (LWP 8392)):
[KCrash Handler]
#7  QUtf8::convertFromUnicode (uc=0x0, len=28558504, state=0x0) at codecs/qutfcodec.cpp:91
#8  0x077a4c85 in QString::toUtf8 (this=0xbfde6648) at tools/qstring.cpp:3702
#9  0x031f4f70 in ?? () from /usr/lib/libgwengui-qt4.so.0
#10 0x031fb27f in CppWidgetLinker::GetCharProperty(GWEN_WIDGET*, GWEN_DIALOG_PROPERTY, int, char const*) () from /usr/lib/libgwengui-qt4.so.0
#11 0x02c40021 in GWEN_Widget_GetCharProperty () from /usr/lib/libgwenhywfar.so.60
#12 0x031eec62 in ?? () from /usr/lib/libgwengui-qt4.so.0
#13 0x031f8d76 in CppDialogLinker::GetCharProperty(GWEN_DIALOG*, GWEN_WIDGET*, GWEN_DIALOG_PROPERTY, int, char const*) () from /usr/lib/libgwengui-qt4.so.0
#14 0x02c37fc6 in GWEN_Dialog_GetCharProperty () from /usr/lib/libgwenhywfar.so.60
#15 0x026fd830 in AB_CSV_EditProfileDialog_fromGui () from /usr/lib/aqbanking/plugins/33/imexporters/csv.so
#16 0x026fe1a4 in AB_CSV_EditProfileDialog_HandleActivated () from /usr/lib/aqbanking/plugins/33/imexporters/csv.so
#17 0x026fe487 in ?? () from /usr/lib/aqbanking/plugins/33/imexporters/csv.so
#18 0x02c36cf2 in GWEN_Dialog_EmitSignal () from /usr/lib/libgwenhywfar.so.60
#19 0x031ed3f9 in ?? () from /usr/lib/libgwengui-qt4.so.0
#20 0x031ed7f1 in ?? () from /usr/lib/libgwengui-qt4.so.0
#21 0x078576ba in QMetaObject::metacall (object=0x9eb6e70, cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0xbfde7078) at kernel/qmetaobject.cpp:237
#22 0x078674ff in QMetaObject::activate (sender=0x9f50df0, m=0x1b4e884, local_signal_index=2, argv=0xbfde7078) at kernel/qobject.cpp:3287
#23 0x018f47c9 in QAbstractButton::clicked (this=0x9f50df0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#24 0x0160c326 in QAbstractButtonPrivate::emitClicked (this=0xad606c8) at widgets/qabstractbutton.cpp:546
#25 0x0160db94 in QAbstractButtonPrivate::click (this=0xad606c8) at widgets/qabstractbutton.cpp:539
#26 0x0160de4e in QAbstractButton::mouseReleaseEvent (this=0x9f50df0, e=0xbfde77d4) at widgets/qabstractbutton.cpp:1121
#27 0x0126113a in QWidget::event (this=0x9f50df0, event=0xbfde77d4) at kernel/qwidget.cpp:8259
#28 0x0160ce9e in QAbstractButton::event (this=0x9f50df0, e=0xbfde77d4) at widgets/qabstractbutton.cpp:1080
#29 0x016aac52 in QPushButton::event (this=0x9f50df0, e=0xbfde77d4) at widgets/qpushbutton.cpp:683
#30 0x01208d24 in QApplicationPrivate::notify_helper (this=0x8fae148, receiver=0x9f50df0, e=0xbfde77d4) at kernel/qapplication.cpp:4462
#31 0x0120e201 in QApplication::notify (this=0x8fab1d8, receiver=0x9f50df0, e=0xbfde77d4) at kernel/qapplication.cpp:4023
#32 0x00f1232a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x078510bb in QCoreApplication::notifyInternal (this=0x8fab1d8, receiver=0x9f50df0, event=0xbfde77d4) at kernel/qcoreapplication.cpp:731
#34 0x01209c3b in sendSpontaneousEvent (receiver=0x9f50df0, event=0xbfde77d4, alienWidget=0x9f50df0, nativeWidget=0x9eb6e70, buttonDown=0x1b57c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#35 QApplicationPrivate::sendMouseEvent (receiver=0x9f50df0, event=0xbfde77d4, alienWidget=0x9f50df0, nativeWidget=0x9eb6e70, buttonDown=0x1b57c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#36 0x0129504c in QETWidget::translateMouseEvent (this=0x9eb6e70, event=0xbfde7cfc) at kernel/qapplication_x11.cpp:4558
#37 0x012939b5 in QApplication::x11ProcessEvent (this=0x8fab1d8, event=0xbfde7cfc) at kernel/qapplication_x11.cpp:3680
#38 0x012bf5f4 in x11EventSourceDispatch (s=0x8fb08a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x07127aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0x07128270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0x07128524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0x0787e53c in QEventDispatcherGlib::processEvents (this=0x8f72aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0x012bf1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8f72aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x07850289 in QEventLoop::processEvents (this=0xbfde7fd0, flags=...) at kernel/qeventloop.cpp:149
#45 0x07850522 in QEventLoop::exec (this=0xbfde7fd0, flags=...) at kernel/qeventloop.cpp:201
#46 0x01728a93 in QDialog::exec (this=0x9eb6e70) at dialogs/qdialog.cpp:552
#47 0x031eef1a in ?? () from /usr/lib/libgwengui-qt4.so.0
#48 0x031eda00 in QT4_Gui::execDialog(GWEN_DIALOG*, unsigned int) () from /usr/lib/libgwengui-qt4.so.0
#49 0x031f9b18 in CppGuiLinker::ExecDialog(GWEN_GUI*, GWEN_DIALOG*, unsigned int) () from /usr/lib/libgwengui-qt4.so.0
#50 0x02c3b462 in GWEN_Gui_ExecDialog () from /usr/lib/libgwenhywfar.so.60
#51 0x046a8c9a in ?? () from /usr/lib/libaqbanking.so.33
#52 0x02c36cf2 in GWEN_Dialog_EmitSignal () from /usr/lib/libgwenhywfar.so.60
#53 0x031ed3f9 in ?? () from /usr/lib/libgwengui-qt4.so.0
#54 0x031ed7f1 in ?? () from /usr/lib/libgwengui-qt4.so.0
#55 0x078576ba in QMetaObject::metacall (object=0x9b80d90, cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0xbfde8718) at kernel/qmetaobject.cpp:237
#56 0x078674ff in QMetaObject::activate (sender=0x9b901d8, m=0x1b4e884, local_signal_index=2, argv=0xbfde8718) at kernel/qobject.cpp:3287
#57 0x018f47c9 in QAbstractButton::clicked (this=0x9b901d8, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#58 0x0160c326 in QAbstractButtonPrivate::emitClicked (this=0x9b901f0) at widgets/qabstractbutton.cpp:546
#59 0x0160db94 in QAbstractButtonPrivate::click (this=0x9b901f0) at widgets/qabstractbutton.cpp:539
#60 0x0160de4e in QAbstractButton::mouseReleaseEvent (this=0x9b901d8, e=0xbfde8e74) at widgets/qabstractbutton.cpp:1121
#61 0x0126113a in QWidget::event (this=0x9b901d8, event=0xbfde8e74) at kernel/qwidget.cpp:8259
#62 0x0160ce9e in QAbstractButton::event (this=0x9b901d8, e=0xbfde8e74) at widgets/qabstractbutton.cpp:1080
#63 0x016aac52 in QPushButton::event (this=0x9b901d8, e=0xbfde8e74) at widgets/qpushbutton.cpp:683
#64 0x01208d24 in QApplicationPrivate::notify_helper (this=0x8fae148, receiver=0x9b901d8, e=0xbfde8e74) at kernel/qapplication.cpp:4462
#65 0x0120e201 in QApplication::notify (this=0x8fab1d8, receiver=0x9b901d8, e=0xbfde8e74) at kernel/qapplication.cpp:4023
#66 0x00f1232a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#67 0x078510bb in QCoreApplication::notifyInternal (this=0x8fab1d8, receiver=0x9b901d8, event=0xbfde8e74) at kernel/qcoreapplication.cpp:731
#68 0x01209c3b in sendSpontaneousEvent (receiver=0x9b901d8, event=0xbfde8e74, alienWidget=0x9b901d8, nativeWidget=0x9b818f0, buttonDown=0x1b57c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#69 QApplicationPrivate::sendMouseEvent (receiver=0x9b901d8, event=0xbfde8e74, alienWidget=0x9b901d8, nativeWidget=0x9b818f0, buttonDown=0x1b57c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#70 0x0129504c in QETWidget::translateMouseEvent (this=0x9b818f0, event=0xbfde939c) at kernel/qapplication_x11.cpp:4558
#71 0x012939b5 in QApplication::x11ProcessEvent (this=0x8fab1d8, event=0xbfde939c) at kernel/qapplication_x11.cpp:3680
#72 0x012bf5f4 in x11EventSourceDispatch (s=0x8fb08a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0x07127aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x07128270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#75 0x07128524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#76 0x0787e53c in QEventDispatcherGlib::processEvents (this=0x8f72aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#77 0x012bf1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8f72aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x07850289 in QEventLoop::processEvents (this=0xbfde9670, flags=...) at kernel/qeventloop.cpp:149
#79 0x07850522 in QEventLoop::exec (this=0xbfde9670, flags=...) at kernel/qeventloop.cpp:201
#80 0x01728a93 in QDialog::exec (this=0x9b80d90) at dialogs/qdialog.cpp:552
#81 0x031eef1a in ?? () from /usr/lib/libgwengui-qt4.so.0
#82 0x031eda00 in QT4_Gui::execDialog(GWEN_DIALOG*, unsigned int) () from /usr/lib/libgwengui-qt4.so.0
#83 0x031f9b18 in CppGuiLinker::ExecDialog(GWEN_GUI*, GWEN_DIALOG*, unsigned int) () from /usr/lib/libgwengui-qt4.so.0
#84 0x02c3b462 in GWEN_Gui_ExecDialog () from /usr/lib/libgwenhywfar.so.60
#85 0x026c465f in ?? () from /usr/lib/kde4/kmm_kbanking.so
#86 0x026c5610 in ?? () from /usr/lib/kde4/kmm_kbanking.so
#87 0x026c6033 in ?? () from /usr/lib/kde4/kmm_kbanking.so
#88 0x078576ba in QMetaObject::metacall (object=0x9872d80, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfde9b28) at kernel/qmetaobject.cpp:237
#89 0x078674ff in QMetaObject::activate (sender=0x98b0788, m=0x1b3b3f8, local_signal_index=1, argv=0xbfde9b28) at kernel/qobject.cpp:3287
#90 0x012018d9 in QAction::triggered (this=0x98b0788, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#91 0x01201b38 in QAction::activate (this=0x98b0788, event=QAction::Trigger) at kernel/qaction.cpp:1257
#92 0x0169633d in QMenuPrivate::activateCausedStack (this=0x91af7c0, causedStack=..., action=0x98b0788, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#93 0x0169cbfb in QMenuPrivate::activateAction (this=0x91af7c0, action=0x98b0788, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#94 0x0169da8e in QMenu::mouseReleaseEvent (this=0x91af7a0, e=0xbfdea3c4) at widgets/qmenu.cpp:2306
#95 0x00fefc24 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#96 0x0126113a in QWidget::event (this=0x91af7a0, event=0xbfdea3c4) at kernel/qwidget.cpp:8259
#97 0x0169df67 in QMenu::event (this=0x91af7a0, e=0xbfdea3c4) at widgets/qmenu.cpp:2415
#98 0x01208d24 in QApplicationPrivate::notify_helper (this=0x8fae148, receiver=0x91af7a0, e=0xbfdea3c4) at kernel/qapplication.cpp:4462
#99 0x0120e201 in QApplication::notify (this=0x8fab1d8, receiver=0x91af7a0, e=0xbfdea3c4) at kernel/qapplication.cpp:4023
#100 0x00f1232a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#101 0x078510bb in QCoreApplication::notifyInternal (this=0x8fab1d8, receiver=0x91af7a0, event=0xbfdea3c4) at kernel/qcoreapplication.cpp:731
#102 0x01209c3b in sendSpontaneousEvent (receiver=0x91af7a0, event=0xbfdea3c4, alienWidget=0x0, nativeWidget=0x91af7a0, buttonDown=0x1b57c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#103 QApplicationPrivate::sendMouseEvent (receiver=0x91af7a0, event=0xbfdea3c4, alienWidget=0x0, nativeWidget=0x91af7a0, buttonDown=0x1b57c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#104 0x01295253 in QETWidget::translateMouseEvent (this=0x91af7a0, event=0xbfdea8ec) at kernel/qapplication_x11.cpp:4492
#105 0x012939b5 in QApplication::x11ProcessEvent (this=0x8fab1d8, event=0xbfdea8ec) at kernel/qapplication_x11.cpp:3680
#106 0x012bf5f4 in x11EventSourceDispatch (s=0x8fb08a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#107 0x07127aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#108 0x07128270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#109 0x07128524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#110 0x0787e53c in QEventDispatcherGlib::processEvents (this=0x8f72aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#111 0x012bf1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8f72aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#112 0x07850289 in QEventLoop::processEvents (this=0xbfdeabb4, flags=...) at kernel/qeventloop.cpp:149
#113 0x07850522 in QEventLoop::exec (this=0xbfdeabb4, flags=...) at kernel/qeventloop.cpp:201
#114 0x07854ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#115 0x012068e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#116 0x08086c4f in _start ()

Reported using DrKonqi
Comment 1 Cristian Buzdugă 2011-07-22 07:12:08 UTC
Hi,
It looks that this bug is for the AqBanking plugin.
AqBanking home page is 
http://www2.aquamaniac.de/sites/aqbanking/index.php
and on their bug tracking system I saw something similar:
DKB-Cash CSV imports wrong values - leads to kmymoney crash (https://devel.aqbanking.de/trac/aqbanking/ticket/101)
Comment 2 Thomas Baumgart 2011-07-22 07:44:17 UTC
Which version of AqBanking and Gwenhywfar are you using?
Comment 3 Rysiul 2011-07-31 18:24:23 UTC
Created attachment 62392 [details]
New crash information added by DrKonqi

kmymoney (4.5.3) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
After editing CSV Import profile with KMyMoney and AqBanking plugin when clicked on OK the application KMyMoney closes unexpended even when you did'n changed anything in the CSV profile.

-- Backtrace (Reduced):
#7  QUtf8::convertFromUnicode (uc=0x0, len=-1240628056, state=0x0) at codecs/qutfcodec.cpp:91
#8  0xb6216c85 in QString::toUtf8 (this=0xbfb31c78) at tools/qstring.cpp:3702
[...]
#10 0xadaaf27f in CppWidgetLinker::GetCharProperty(GWEN_WIDGET*, GWEN_DIALOG_PROPERTY, int, char const*) () from /usr/lib/libgwengui-qt4.so.0
#11 0xada77021 in GWEN_Widget_GetCharProperty () from /usr/lib/libgwenhywfar.so.60
[...]
#13 0xadaacd76 in CppDialogLinker::GetCharProperty(GWEN_DIALOG*, GWEN_WIDGET*, GWEN_DIALOG_PROPERTY, int, char const*) () from /usr/lib/libgwengui-qt4.so.0
Comment 4 Thomas Baumgart 2011-07-31 20:36:33 UTC
This is an AqBanking problem and it would help if you leave version information about AqBanking and Gwenhywfar. Thanks.