Bug 293237

Summary: KMyMoney Crash when Duplicating Entry and Attempting to edit it
Product: [Applications] kmymoney Reporter: Roger <ptn-admin>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.5.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roger 2012-02-03 20:41:15 UTC
Application: kmymoney (4.5.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

Click on existing entry, choosing duplicate from drop down right click menu, then going to new duplicated entry and adjust date and  amount, Crashes when click enter

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb68ffb70 (LWP 3986)):
#0  0x004aed8f in __pthread_mutex_lock (mutex=0x9441134) at pthread_mutex_lock.c:47
#1  0x014a770b in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x014a8637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x014a8f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03ef7cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0x014cf5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x004acd31 in start_thread (arg=0xb68ffb70) at pthread_create.c:304
#7  0x091770ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb35d4b70 (LWP 3987)):
#0  0x00369416 in __kernel_vsyscall ()
#1  0x0916840e in __GI___poll (fds=0xb690e968, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x014b734b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x014a8896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x014a8c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0459db37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x0456e1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0x0456e421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0x0447190b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0x0454ee2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x044747b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x004acd31 in start_thread (arg=0xb35d4b70) at pthread_create.c:304
#12 0x091770ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb770d930 (LWP 3983)):
[KCrash Handler]
#7  0x05915034 in QAbstractScrollArea::viewport() const () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#8  0x02a5a7b2 in ?? () from /usr/lib/i386-linux-gnu/qt4/plugins/accessible/libqtaccessiblewidgets.so
#9  0x02cc40ab in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#10 0x02cca5bb in QSpiAdaptor::getChild(int) const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#11 0x02cd0426 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x02cd0c9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x02cc4ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#14 0x02cc457a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#15 0x02cc5554 in QSpiAccessibleBridge::objectToAccessible(QObject*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#16 0x02ce1fa4 in QSpiAccessible::getParentReference() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#17 0x02cd0ba8 in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#18 0x02cc4ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#19 0x02cc457a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#20 0x02cc5b7d in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#21 0x059b13ee in QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0x059f93fb in QTreeView::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0x059bb4ad in QAbstractItemView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0x05a07812 in QTreeView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0x05a3e352 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0x04575b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#27 0x04584a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#28 0x05a11b4d in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0x05a11ccc in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0x059b3777 in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0x05a37858 in QTreeWidget::setCurrentItem(QTreeWidgetItem*, int) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0x05a3789b in QTreeWidget::setCurrentItem(QTreeWidgetItem*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#33 0x081e2ac3 in AccountSet::load (this=0xbfffca88, selector=0xc3cae60) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/kmymoneyaccountselector.cpp:374
#34 0x0837a61e in kMyMoneyAccountCompletion::kMyMoneyAccountCompletion (this=0xc22af48, parent=0xbfffcb74) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/kmymoneyaccountcompletion.cpp:56
#35 0x0835e296 in KMyMoneyCategory::KMyMoneyCategory (this=0xbfffcb74, parent=0x0, splitButton=true) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/kmymoneycategory.cpp:94
#36 0x0820a8ce in KMyMoneyTransactionForm::TransactionForm::slotSetTransaction (this=0x9a14880, transaction=0x0) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/transactionform.cpp:249
#37 0x0820aab9 in KMyMoneyTransactionForm::TransactionForm::clear (this=0x9a14880) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/transactionform.cpp:222
#38 0x081575e3 in KGlobalLedgerView::clear (this=0x95a7ca0) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:323
#39 0x0815780b in KGlobalLedgerView::loadView (this=0x95a7ca0) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:382
#40 0x0815e5e8 in KGlobalLedgerView::slotLoadView (this=0x95a7ca0) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:296
#41 0x0815e759 in KGlobalLedgerView::slotLeaveEditMode (this=0x95a7ca0, list=...) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:1257
#42 0x0815f037 in KGlobalLedgerView::qt_metacall (this=0x95a7ca0, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfffd4a8) at /build/buildd/kmymoney-4.5.3/obj-i686-linux-gnu/kmymoney/views/kgloballedgerview.moc:225
#43 0x04575b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#44 0x04584a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#45 0x08327653 in TransactionEditor::finishEdit (this=0xa1c1dd0, _t1=...) at /build/buildd/kmymoney-4.5.3/obj-i686-linux-gnu/kmymoney/dialogs/transactioneditor.moc:142
#46 0x08331977 in TransactionEditor::~TransactionEditor (this=0xa1c1dd0, __in_chrg=<optimized out>) at /build/buildd/kmymoney-4.5.3/kmymoney/dialogs/transactioneditor.cpp:91
#47 0x08331b0a in ~StdTransactionEditor (this=0xa1c1dd0, __in_chrg=<optimized out>) at /build/buildd/kmymoney-4.5.3/kmymoney/dialogs/transactioneditor.cpp:705
#48 StdTransactionEditor::~StdTransactionEditor (this=0xa1c1dd0, __in_chrg=<optimized out>) at /build/buildd/kmymoney-4.5.3/kmymoney/dialogs/transactioneditor.cpp:707
#49 0x080bd042 in deleteTransactionEditor (this=0x9639800) at /build/buildd/kmymoney-4.5.3/kmymoney/kmymoney.cpp:5121
#50 KMyMoneyApp::slotTransactionsEnter (this=0x9639800) at /build/buildd/kmymoney-4.5.3/kmymoney/kmymoney.cpp:5181
#51 0x080d5477 in KMyMoneyApp::qt_metacall (this=0x9639800, _c=QMetaObject::InvokeMetaMethod, _id=78, _a=0xbfffd8f8) at /build/buildd/kmymoney-4.5.3/obj-i686-linux-gnu/kmymoney/kmymoney.moc:481
#52 0x04575b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#53 0x04584a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#54 0x0541a86d in QAction::triggered(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#55 0x0541ab0b in QAction::activate(QAction::ActionEvent) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#56 0x0590e1c0 in QToolButton::nextCheckState() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#57 0x05836c07 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#58 0x05836f06 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#59 0x0590e25d in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#60 0x0547bfc8 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#61 0x058361a9 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#62 0x0590f99c in QToolButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#63 0x05421d84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#64 0x05427deb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#65 0x0113f971 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#66 0x0456f19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#67 0x05422d45 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#68 0x054af304 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#69 0x054ade8d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#70 0x054da28c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#71 0x014a825f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0x014a8990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#73 0x014a8c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#74 0x0459dada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#75 0x054d9e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#76 0x0456e1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#77 0x0456e421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#78 0x0457319d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#79 0x0541f924 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#80 0x08086c4f in main (argc=52, argv=0x32002f) at /build/buildd/kmymoney-4.5.3/kmymoney/main.cpp:260

Possible duplicates by query: bug 293161, bug 291566, bug 284371.

Reported using DrKonqi
Comment 1 Cristian OneČ› 2012-02-04 06:34:06 UTC
This is a known Ubuntu bug, please check bug 284371 for a workaround.

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