Bug 302408

Summary: Kmymoney crashes when importing QIF
Product: [Applications] kmymoney Reporter: Sylvain Garsault <sylvain.garsault>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
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 Sylvain Garsault 2012-06-23 15:21:52 UTC
Application: kmymoney (4.6.1)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
Kmymoney crashes when importing QIF. Can be repeated any time.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb0653b40 (LWP 27840)):
#0  0xb4775dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb6052315 in do_gettime (frac=0xb0652fb0, sec=0xb0652fa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb613c226 in QTimerInfoList::updateCurrentTime (this=0xafd02074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb613c57a in QTimerInfoList::timerWait (this=0xafd02074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb613ae23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb06530bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb613aebd in timerSourcePrepare (source=0xafd02040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb46bf872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb46bffaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb46c0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb613b8e7 in QEventDispatcherGlib::processEvents (this=0xafd00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb610750d in QEventLoop::processEvents (this=0xb0653240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb61077a9 in QEventLoop::exec (this=0xb0653240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb5ff094c in QThread::exec (this=0x8c7e138) at thread/qthread.cpp:501
#14 0xb60e4b5d in QInotifyFileSystemWatcherEngine::run (this=0x8c7e138) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5ff3de0 in QThreadPrivate::start (arg=0x8c7e138) at thread/qthread_unix.cpp:298
#16 0xb6864d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb524dace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb3d04740 (LWP 27839)):
[KCrash Handler]
#7  QCoreApplication::notifyInternal (this=0x86b6380, receiver=0xa57a8f8, event=0xbff0a640) at kernel/qcoreapplication.cpp:864
#8  0xb5bdeac7 in sendEvent (event=0xbff0a640, receiver=0xa57a8f8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#9  QInputContext::sendEvent (this=0x8c7c070, event=...) at inputmethod/qinputcontext.cpp:280
#10 0xb5bdea6e in QInputContext::sendEvent (this=0x8c83a80, event=...) at inputmethod/qinputcontext.cpp:271
#11 0xb06d2f4a in IBusInputContext::displayPreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/i386-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
#12 0xb06d3167 in IBusInputContext::slotUpdatePreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/i386-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
#13 0xb06d6e50 in IBusInputContext::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
#14 0xb610fc9d in metacall (argv=0xbff0a9a0, idx=5, cl=QMetaObject::InvokeMetaMethod, object=0x8c83a80) at kernel/qmetaobject.cpp:245
#15 QMetaObject::metacall (object=0x8c83a80, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbff0a9a0) at kernel/qmetaobject.cpp:240
#16 0xb611f9bd in QMetaObject::activate (sender=0x8c846d0, m=0xb06aa908, local_signal_index=1, argv=0xbff0a9a0) at kernel/qobject.cpp:3566
#17 0xb0690600 in IBus::InputContext::updatePreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#18 0xb068526f in IBus::InputContext::slotUpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#19 0xb06903b5 in IBus::InputContext::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libibus-qt.so.1
#20 0xb610fc9d in metacall (argv=0xbff0ab10, idx=24, cl=QMetaObject::InvokeMetaMethod, object=0x8c846d0) at kernel/qmetaobject.cpp:245
#21 QMetaObject::metacall (object=0x8c846d0, cl=QMetaObject::InvokeMetaMethod, idx=24, argv=0xbff0ab10) at kernel/qmetaobject.cpp:240
#22 0xb611f9bd in QMetaObject::activate (sender=0x8c83908, m=0xb06aa844, local_signal_index=17, argv=0xbff0ab10) at kernel/qobject.cpp:3566
#23 0xb068fcf8 in IBusInputContextProxy::UpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#24 0xb068f28f in IBusInputContextProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libibus-qt.so.1
#25 0xb5f2aa38 in QDBusConnectionPrivate::deliverCall (this=0x8c7fca0, object=0x8c83908, msg=..., metaTypes=..., slotIdx=-1226306904) at qdbusintegrator.cpp:947
#26 0xb5f34c8d in QDBusCallDeliveryEvent::placeMetaCall (this=0xa6af9c8, object=0x8c83908) at qdbusintegrator_p.h:103
#27 0xb6123c7b in QObject::event (this=0x8c83908, e=0xa6af9c8) at kernel/qobject.cpp:1195
#28 0xb5572ed4 in notify_helper (e=0xa6af9c8, receiver=0x8c83908, this=0x86c07b0) at kernel/qapplication.cpp:4559
#29 QApplicationPrivate::notify_helper (this=0x86c07b0, receiver=0x8c83908, e=0xa6af9c8) at kernel/qapplication.cpp:4531
#30 0xb557830d in QApplication::notify (this=0xa6af9c8, receiver=0x8c83908, e=0xa6af9c8) at kernel/qapplication.cpp:4288
#31 0xb6c39b61 in KApplication::notify (this=0x86b6380, receiver=0x8c83908, event=0xa6af9c8) at ../../kdeui/kernel/kapplication.cpp:311
#32 0xb610897e in QCoreApplication::notifyInternal (this=0x86b6380, receiver=0x8c83908, event=0xa6af9c8) at kernel/qcoreapplication.cpp:876
#33 0xb610cad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8696130) at kernel/qcoreapplication.cpp:1500
#35 0xb610ce0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#36 0xb613b494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0x86c0330) at kernel/qeventdispatcher_glib.cpp:279
#38 0xb46bfd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb46c0125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb46c0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb613b887 in QEventDispatcherGlib::processEvents (this=0x8696ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0xb562baaa in QGuiEventDispatcherGlib::processEvents (this=0x8696ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0xb610750d in QEventLoop::processEvents (this=0xbff0b3f0, flags=...) at kernel/qeventloop.cpp:149
#44 0xb61077a9 in QEventLoop::exec (this=0xbff0b3f0, flags=...) at kernel/qeventloop.cpp:204
#45 0xb5ac50c9 in QDialog::exec (this=0xa4e8818) at dialogs/qdialog.cpp:554
#46 0xb6b8ea4c in KMessageBox::createKMessageBox (dialog=0xa4e8818, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbff0b74f, options=..., details=..., notifyType=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:344
#47 0xb6b8f28c in KMessageBox::createKMessageBox (dialog=0xa4e8818, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0xbff0b74f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#48 0xb6b928c9 in informationListWId (options=..., dontShowAgainName=..., caption=..., strlist=..., text=..., parent_id=121634845) at ../../kdeui/dialogs/kmessagebox.cpp:1005
#49 KMessageBox::informationListWId (parent_id=121634845, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:979
#50 0xb6b92a5b in KMessageBox::informationList (parent=0x88f60c0, text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:976
#51 0x080baadb in KMyMoneyApp::slotQifImportFinished (this=0x88f60c0) at /build/buildd/kmymoney-4.6.1/kmymoney/kmymoney.cpp:2119
#52 0x080d267d in KMyMoneyApp::qt_static_metacall (_o=0x88f60c0, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbff0bb10) at /build/buildd/kmymoney-4.6.1/obj-i686-linux-gnu/kmymoney/kmymoney.moc:412
#53 0xb611f6b1 in QMetaObject::activate (sender=0xa569f00, m=0x8635e98, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#54 0x083db445 in MyMoneyQifReader::importFinished (this=0xa569f00) at /build/buildd/kmymoney-4.6.1/obj-i686-linux-gnu/kmymoney/converter/mymoneyqifreader.moc:114
#55 0x083ec2ce in MyMoneyQifReader::slotProcessData (this=0xa569f00) at /build/buildd/kmymoney-4.6.1/kmymoney/converter/mymoneyqifreader.cpp:398
#56 0x083ec68d in MyMoneyQifReader::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/kmymoney-4.6.1/obj-i686-linux-gnu/kmymoney/converter/mymoneyqifreader.moc:64
#57 0xb611ac01 in QMetaCallEvent::placeMetaCall (this=0x90f9150, object=0xa569f00) at kernel/qobject.cpp:525
#58 0xb6123c7b in QObject::event (this=0xa569f00, e=0x90f9150) at kernel/qobject.cpp:1195
#59 0xb5572ed4 in notify_helper (e=0x90f9150, receiver=0xa569f00, this=0x86c07b0) at kernel/qapplication.cpp:4559
#60 QApplicationPrivate::notify_helper (this=0x86c07b0, receiver=0xa569f00, e=0x90f9150) at kernel/qapplication.cpp:4531
#61 0xb557830d in QApplication::notify (this=0x90f9150, receiver=0xa569f00, e=0x90f9150) at kernel/qapplication.cpp:4288
#62 0xb6c39b61 in KApplication::notify (this=0x86b6380, receiver=0xa569f00, event=0x90f9150) at ../../kdeui/kernel/kapplication.cpp:311
#63 0xb610897e in QCoreApplication::notifyInternal (this=0x86b6380, receiver=0xa569f00, event=0x90f9150) at kernel/qcoreapplication.cpp:876
#64 0xb610cad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#65 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8696130) at kernel/qcoreapplication.cpp:1500
#66 0xb610ce0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#67 0xb613b494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#68 postEventSourceDispatch (s=0x86c0330) at kernel/qeventdispatcher_glib.cpp:279
#69 0xb46bfd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#70 0xb46c0125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#71 0xb46c0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0xb613b887 in QEventDispatcherGlib::processEvents (this=0x8696ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#73 0xb562baaa in QGuiEventDispatcherGlib::processEvents (this=0x8696ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0xb610750d in QEventLoop::processEvents (this=0xbff0c364, flags=...) at kernel/qeventloop.cpp:149
#75 0xb61077a9 in QEventLoop::exec (this=0xbff0c364, flags=...) at kernel/qeventloop.cpp:204
#76 0xb610ceba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#77 0xb5570a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#78 0x0808a493 in runKMyMoney (splash=0xbff0c4b8, a=<optimized out>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:282
#79 0x080889db in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:181

This bug may be a duplicate of or related to bug 272631.

Possible duplicates by query: bug 296404, bug 296206, bug 288265, bug 277400, bug 276454.

Reported using DrKonqi
Comment 1 allan 2012-06-23 23:17:59 UTC
You may have noticed at the bottom of the backtrace
"This bug may be a duplicate of or related to bug 272631."

Are you able to disable ibus and report back whether the fault persists or doesn't.
Comment 2 Sylvain Garsault 2012-06-24 18:35:39 UTC
> Are you able to disable ibus and report back whether the fault persists or
> doesn't.

I confirm the problem disappears if I kill IBUS.

Regards,
Sylvain
Comment 3 Cristian OneČ› 2012-11-27 14:51:50 UTC

*** This bug has been marked as a duplicate of bug 272631 ***