Bug 325980

Summary: KMM crashes when editing transaction to make it a split transaction
Product: [Applications] kmymoney Reporter: Steven <castletonroad>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.6.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steven 2013-10-13 20:39:30 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-11-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
Editing an existing transaction, to split it into 3 components.

This is the first time KMM has ever crashed on me.

I am using GDM / Gnome 3.9.9 - up until krecently I used KDM.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f0ccae25700 (LWP 2620)):
#0  0x00007f0cdecf0bbd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0cda378660 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0cda3391bc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cda33962b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0cda339afa in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0cd1ff49d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f0cda35e0e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f0cdaa02f6e in start_thread (arg=0x7f0ccae25700) at pthread_create.c:311
#8  0x00007f0cdecfeecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f0cc037b700 (LWP 2621)):
#0  0x00007f0cda3790d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0cda379389 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0cda33911c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cda33962b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0cda33979c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0ce08bea76 in QEventDispatcherGlib::processEvents (this=0x7f0cb80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0ce08905ef in QEventLoop::processEvents (this=this@entry=0x7f0cc037ad70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0ce08908e5 in QEventLoop::exec (this=this@entry=0x7f0cc037ad70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0ce078f88f in QThread::exec (this=this@entry=0x2650010) at thread/qthread.cpp:542
#9  0x00007f0ce0871d13 in QInotifyFileSystemWatcherEngine::run (this=0x2650010) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f0ce0791f2f in QThreadPrivate::start (arg=0x2650010) at thread/qthread_unix.cpp:338
#11 0x00007f0cdaa02f6e in start_thread (arg=0x7f0cc037b700) at pthread_create.c:311
#12 0x00007f0cdecfeecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f0ce43db7c0 (LWP 2617)):
[KCrash Handler]
#5  QCoreApplication::notifyInternal (this=0x1f1dbc0, receiver=receiver@entry=0x3832f40, event=event@entry=0x7fffc778eee0) at kernel/qcoreapplication.cpp:933
#6  0x00007f0cdff4aebd in sendEvent (event=0x7fffc778eee0, receiver=0x3832f40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#7  QInputContext::sendEvent (this=<optimized out>, event=...) at inputmethod/qinputcontext.cpp:280
#8  0x00007f0cdff4ae72 in QInputContext::sendEvent (this=0x26558d0, event=...) at inputmethod/qinputcontext.cpp:271
#9  0x00007f0cc05f38b1 in IBusInputContext::displayPreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so
#10 0x00007f0ce08a5a58 in QMetaObject::activate (sender=0x2655bf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc778f2e0) at kernel/qobject.cpp:3539
#11 0x00007f0cc03b1264 in IBus::InputContext::updatePreeditText(IBus::Pointer<IBus::Text> const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#12 0x00007f0cc03a6a70 in IBus::InputContext::slotUpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#13 0x00007f0ce08a5a58 in QMetaObject::activate (sender=0x26504b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc778f460) at kernel/qobject.cpp:3539
#14 0x00007f0cc03af854 in IBusInputContextProxy::UpdatePreeditText(QDBusVariant const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#15 0x00007f0cc03b07d6 in ?? () from /usr/lib/libibus-qt.so.1
#16 0x00007f0cc03b1053 in IBusInputContextProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libibus-qt.so.1
#17 0x00007f0ce04bfe36 in QDBusConnectionPrivate::deliverCall (this=0x2650a20, object=0x26504b0, msg=..., metaTypes=..., slotIdx=22) at qdbusintegrator.cpp:951
#18 0x00007f0ce08a9dce in QObject::event (this=0x26504b0, e=<optimized out>) at kernel/qobject.cpp:1194
#19 0x00007f0cdf9b3dfc in QApplicationPrivate::notify_helper (this=this@entry=0x1f28a60, receiver=receiver@entry=0x26504b0, e=e@entry=0x3898ee0) at kernel/qapplication.cpp:4567
#20 0x00007f0cdf9ba470 in QApplication::notify (this=0x1f1dbc0, receiver=0x26504b0, e=0x3898ee0) at kernel/qapplication.cpp:4353
#21 0x00007f0ce29d9a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007f0ce08918bd in QCoreApplication::notifyInternal (this=0x1f1dbc0, receiver=receiver@entry=0x26504b0, event=event@entry=0x3898ee0) at kernel/qcoreapplication.cpp:946
#23 0x00007f0ce0894e1f in sendEvent (event=0x3898ee0, receiver=0x26504b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1eea1f0) at kernel/qcoreapplication.cpp:1570
#25 0x00007f0ce08952c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#26 0x00007f0ce08bf073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x1f3b990) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007f0cda3393a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f0cda3396f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f0cda33979c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f0ce08bea55 in QEventDispatcherGlib::processEvents (this=0x1eebad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f0cdfa559d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f0ce08905ef in QEventLoop::processEvents (this=this@entry=0x7fffc778fe00, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f0ce08908e5 in QEventLoop::exec (this=this@entry=0x7fffc778fe00, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f0cdfe5a38c in QDialog::exec (this=this@entry=0x34893a0) at dialogs/qdialog.cpp:554
#36 0x000000000068af66 in KSplitTransactionDlg::exec (this=0x34893a0) at /build/buildd/kmymoney-4.6.3/kmymoney/dialogs/ksplittransactiondlg.cpp:172
#37 0x000000000069fb9e in StdTransactionEditor::slotEditSplits (this=0x3332810) at /build/buildd/kmymoney-4.6.3/kmymoney/dialogs/transactioneditor.cpp:1901
#38 0x00000000006a7aa2 in StdTransactionEditor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7fffc77904a0, _c=<optimized out>) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/dialogs/transactioneditor.moc:305
#39 0x00007f0ce08a5a58 in QMetaObject::activate (sender=sender@entry=0x32f2060, m=m@entry=0x7f0ce04862a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffc77904a0) at kernel/qobject.cpp:3539
#40 0x00007f0ce0001732 in QAbstractButton::clicked (this=this@entry=0x32f2060, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#41 0x00007f0cdfd64f73 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x255c0f0) at widgets/qabstractbutton.cpp:548
#42 0x00007f0cdfd660e3 in QAbstractButtonPrivate::click (this=this@entry=0x255c0f0) at widgets/qabstractbutton.cpp:541
#43 0x00007f0cdfd661cc in QAbstractButton::mouseReleaseEvent (this=0x32f2060, e=0x7fffc7790990) at widgets/qabstractbutton.cpp:1123
#44 0x00007f0cdfa0331e in QWidget::event (this=0x32f2060, event=0x7fffc7790990) at kernel/qwidget.cpp:8375
#45 0x00007f0cdf9b3dfc in QApplicationPrivate::notify_helper (this=this@entry=0x1f28a60, receiver=receiver@entry=0x32f2060, e=e@entry=0x7fffc7790990) at kernel/qapplication.cpp:4567
#46 0x00007f0cdf9ba5ad in QApplication::notify (this=<optimized out>, receiver=0x32f2060, e=0x7fffc7790990) at kernel/qapplication.cpp:4110
#47 0x00007f0ce29d9a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#48 0x00007f0ce08918bd in QCoreApplication::notifyInternal (this=0x1f1dbc0, receiver=receiver@entry=0x32f2060, event=event@entry=0x7fffc7790990) at kernel/qcoreapplication.cpp:946
#49 0x00007f0cdf9b9d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x32f2060, event=event@entry=0x7fffc7790990, alienWidget=alienWidget@entry=0x32f2060, nativeWidget=nativeWidget@entry=0x2772190, buttonDown=buttonDown@entry=0x7f0ce04982f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#51 0x00007f0cdfa2e7db in QETWidget::translateMouseEvent (this=this@entry=0x2772190, event=event@entry=0x7fffc7790d10) at kernel/qapplication_x11.cpp:4631
#52 0x00007f0cdfa2e079 in QApplication::x11ProcessEvent (this=0x1f1dbc0, event=event@entry=0x7fffc7790d10) at kernel/qapplication_x11.cpp:3624
#53 0x00007f0cdfa55922 in x11EventSourceDispatch (s=0x1f3cd20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x00007f0cda3393a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f0cda3396f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f0cda33979c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f0ce08bea55 in QEventDispatcherGlib::processEvents (this=0x1eebad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#58 0x00007f0cdfa559d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00007f0ce08905ef in QEventLoop::processEvents (this=this@entry=0x7fffc77910f0, flags=...) at kernel/qeventloop.cpp:149
#60 0x00007f0ce08908e5 in QEventLoop::exec (this=this@entry=0x7fffc77910f0, flags=...) at kernel/qeventloop.cpp:204
#61 0x00007f0ce0895e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#62 0x00007f0cdf9b234c in QApplication::exec () at kernel/qapplication.cpp:3828
#63 0x000000000045752a in runKMyMoney (splash=splash@entry=0x225d6c0, a=0x1f1dbc0) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:282
#64 0x0000000000455e8e in main (argc=1, argv=0x7fffc7791b78) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:181

The reporter indicates this bug may be a duplicate of or related to bug 272631.

Possible duplicates by query: bug 316479, bug 315001, bug 309586.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-14 01:29:23 UTC
Try 4.6.4, which has fixed quite a few input method related issues.

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