Application: kmymoney (4.5.3) KDE Platform Version: 4.7.1 (4.7.1) Qt Version: 4.7.4 Operating System: Linux 3.0.0-12-generic i686 Distribution: Ubuntu 11.10 -- Information about the crash: Crash while pressing on ledger button or enter during ledger process. The crash can be reproduced every time. -- Backtrace: Application: KMyMoney (kmymoney), signal: Segmentation fault [Current thread is 1 (Thread 0xb7883930 (LWP 3120))] Thread 3 (Thread 0xb6ad9b70 (LWP 3123)): #0 0x002ead44 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0 #1 0x0183820b in g_main_context_release () from /lib/i386-linux-gnu/libglib-2.0.so.0 #2 0x01839906 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x01839f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x02b53cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0 #5 0x018605f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #6 0x002e7d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #7 0x046790ce in clone () from /lib/i386-linux-gnu/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 2 (Thread 0xb3b57b70 (LWP 3125)): #0 0x00cfa416 in __kernel_vsyscall () #1 0x0466a40e in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x0184834b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x01839896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x01839c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0x05d9bb37 in QEventDispatcherGlib::processEvents (this=0xa9d8688, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #6 0x05d6c1dd in QEventLoop::processEvents (this=0xb3b572b0, flags=...) at kernel/qeventloop.cpp:149 #7 0x05d6c421 in QEventLoop::exec (this=0xb3b572b0, flags=...) at kernel/qeventloop.cpp:201 #8 0x05c6f90b in QThread::exec (this=0xa9d8668) at thread/qthread.cpp:498 #9 0x05d4ce2d in QInotifyFileSystemWatcherEngine::run (this=0xa9d8668) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x05c727b3 in QThreadPrivate::start (arg=0xa9d8668) at thread/qthread_unix.cpp:331 #11 0x002e7d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #12 0x046790ce in clone () from /lib/i386-linux-gnu/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 1 (Thread 0xb7883930 (LWP 3120)): [KCrash Handler] #7 0x06fa412d in QSpiAdaptor::checkInterface() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #8 0x06faa2e0 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #9 0x06faac9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #10 0x06f9eecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #11 0x06f9e57a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #12 0x06f9fb7d in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #13 0x0222839e in QAccessible::updateAccessibility (o=0xae6d528, who=2, reason=QAccessible::Focus) at accessible/qaccessible_unix.cpp:107 #14 0x022703ab in QTreeView::currentChanged (this=0xac68160, current=..., previous=...) at itemviews/qtreeview.cpp:3708 #15 0x0223245d in QAbstractItemView::qt_metacall (this=0xac68160, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfa99444) at .moc/release-shared/moc_qabstractitemview.cpp:238 #16 0x0227e7c2 in QTreeView::qt_metacall (this=0xac68160, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbfa99444) at .moc/release-shared/moc_qtreeview.cpp:119 #17 0x022b5302 in QTreeWidget::qt_metacall (this=0xac68160, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbfa99444) at .moc/release-shared/moc_qtreewidget.cpp:129 #18 0x05d73b7d in metacall (argv=0xbfa99444, idx=51, cl=QMetaObject::InvokeMetaMethod, object=0xac68160) at kernel/qmetaobject.cpp:237 #19 QMetaObject::metacall (object=0xac68160, cl=QMetaObject::InvokeMetaMethod, idx=51, argv=0xbfa99444) at kernel/qmetaobject.cpp:232 #20 0x05d82a6a in QMetaObject::activate (sender=0xac236f0, m=0x25eed68, local_signal_index=1, argv=0xbfa99444) at kernel/qobject.cpp:3278 #21 0x02288afd in QItemSelectionModel::currentChanged (this=0xac236f0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159 #22 0x02288c7c in QItemSelectionModel::setCurrentIndex (this=0xac236f0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1169 #23 0x0222a727 in QAbstractItemView::setCurrentIndex (this=0xac68160, index=...) at itemviews/qabstractitemview.cpp:1016 #24 0x022ae808 in QTreeWidget::setCurrentItem (this=0xac68160, item=0xb1cf100, column=0) at itemviews/qtreewidget.cpp:2814 #25 0x022ae84b in QTreeWidget::setCurrentItem (this=0xac68160, item=0xb1cf100) at itemviews/qtreewidget.cpp:2802 #26 0x081e2ac3 in AccountSet::load (this=0xbfa99838, selector=0xb137b70) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/kmymoneyaccountselector.cpp:374 #27 0x0837a61e in kMyMoneyAccountCompletion::kMyMoneyAccountCompletion (this=0xa72ec88, parent=0xbfa99924) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/kmymoneyaccountcompletion.cpp:56 #28 0x0835e296 in KMyMoneyCategory::KMyMoneyCategory (this=0xbfa99924, parent=0x0, splitButton=true) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/kmymoneycategory.cpp:94 #29 0x0820a8ce in KMyMoneyTransactionForm::TransactionForm::slotSetTransaction (this=0xaa4c080, transaction=0x0) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/transactionform.cpp:249 #30 0x0820aab9 in KMyMoneyTransactionForm::TransactionForm::clear (this=0xaa4c080) at /build/buildd/kmymoney-4.5.3/kmymoney/widgets/transactionform.cpp:222 #31 0x081575e3 in KGlobalLedgerView::clear (this=0xa7a2048) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:323 #32 0x0815780b in KGlobalLedgerView::loadView (this=0xa7a2048) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:382 #33 0x0815e550 in KGlobalLedgerView::showEvent (this=0xa7a2048, event=0xbfa9a4a0) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kgloballedgerview.cpp:1306 #34 0x01cf3445 in QWidget::event (this=0xa7a2048, event=0xbfa9a4a0) at kernel/qwidget.cpp:8502 #35 0x01c98d54 in notify_helper (e=0xbfa9a4a0, receiver=0xa7a2048, this=0xa4674d0) at kernel/qapplication.cpp:4486 #36 QApplicationPrivate::notify_helper (this=0xa4674d0, receiver=0xa7a2048, e=0xbfa9a4a0) at kernel/qapplication.cpp:4458 #37 0x01c9e1a8 in QApplication::notify (this=0xa4674d0, receiver=0xa7a2048, e=0xbfa9a4a0) at kernel/qapplication.cpp:4451 #38 0x00a5b721 in KApplication::notify (this=0xa4636c8, receiver=0xa7a2048, event=0xbfa9a4a0) at ../../kdeui/kernel/kapplication.cpp:311 #39 0x05d6d19e in QCoreApplication::notifyInternal (this=0xa4636c8, receiver=0xa7a2048, event=0xbfa9a4a0) at kernel/qcoreapplication.cpp:787 #40 0x01cf76ed in sendEvent (event=0xbfa9a4a0, receiver=0xa7a2048) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #41 QWidgetPrivate::show_helper (this=0xa9d4948) at kernel/qwidget.cpp:7475 #42 0x01cf7a21 in QWidget::setVisible (this=0xa7a2048, visible=true) at kernel/qwidget.cpp:7697 #43 0x01cd4d5d in show (this=0xa7a2048) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487 #44 QStackedLayout::setCurrentIndex (this=0xa796bf0, index=2) at kernel/qstackedlayout.cpp:311 #45 0x01cd4ebf in QStackedLayout::setCurrentWidget (this=0xa796bf0, widget=0xa7a2048) at kernel/qstackedlayout.cpp:365 #46 0x0215f6ce in QStackedWidget::setCurrentWidget (this=0xa7a2120, widget=0xa7a2048) at widgets/qstackedwidget.cpp:250 #47 0x00a92b0b in KPageViewPrivate::_k_pageSelected (this=0xa6cd150, index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:235 #48 0x00a92d05 in KPageView::qt_metacall (this=0xa46dd98, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa9a7c4) at ./kpageview.moc:100 #49 0x00a96d42 in KPageWidget::qt_metacall (this=0xa46dd98, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfa9a7c4) at ./kpagewidget.moc:76 #50 0x080f5f7a in KMyMoneyView::qt_metacall (this=0xa46dd98, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfa9a7c4) at /build/buildd/kmymoney-4.5.3/obj-i686-linux-gnu/kmymoney/views/kmymoneyview.moc:103 #51 0x05d73b7d in metacall (argv=0xbfa9a7c4, idx=30, cl=QMetaObject::InvokeMetaMethod, object=0xa46dd98) at kernel/qmetaobject.cpp:237 #52 QMetaObject::metacall (object=0xa46dd98, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfa9a7c4) at kernel/qmetaobject.cpp:232 #53 0x05d82a6a in QMetaObject::activate (sender=0xa796358, m=0x25eed68, local_signal_index=0, argv=0xbfa9a7c4) at kernel/qobject.cpp:3278 #54 0x02288a9d in QItemSelectionModel::selectionChanged (this=0xa796358, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152 #55 0x0228e6e2 in QItemSelectionModel::emitSelectionChanged (this=0xa796358, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1594 #56 0x0228fca4 in QItemSelectionModel::select (this=0xa796358, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1101 #57 0x00a93ba6 in select (command=<optimized out>, selection=..., this=0xa796358) at ../../kdeui/paged/kpageview_p.cpp:619 #58 KDEPrivate::SelectionModel::select (this=0xa796358, selection=..., command=...) at ../../kdeui/paged/kpageview_p.cpp:613 #59 0x02257b2f in QListView::setSelection (this=0xbfa9a958, rect=..., command=...) at itemviews/qlistview.cpp:1385 #60 0x0222fc36 in QAbstractItemView::mousePressEvent (this=0xa798238, event=0xbfa9b24c) at itemviews/qabstractitemview.cpp:1674 #61 0x01cf3424 in QWidget::event (this=0xa798238, event=0xbfa9b24c) at kernel/qwidget.cpp:8291 #62 0x020f8235 in QFrame::event (this=0xa798238, e=0xbfa9b24c) at widgets/qframe.cpp:557 #63 0x0218a7d1 in QAbstractScrollArea::viewportEvent (this=0xa798238, e=0xbfa9b24c) at widgets/qabstractscrollarea.cpp:1043 #64 0x0222cb6c in QAbstractItemView::viewportEvent (this=0xa798238, event=0xbfa9b24c) at itemviews/qabstractitemview.cpp:1628 #65 0x0218cee6 in viewportEvent (this=<optimized out>, event=0xbfa9b24c) at widgets/qabstractscrollarea_p.h:100 #66 eventFilter (e=0xbfa9b24c, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116 #67 QAbstractScrollAreaFilter::eventFilter (this=0xa7a1018, o=0xab5b3b8, e=0xbfa9b24c) at widgets/qabstractscrollarea_p.h:115 #68 0x05d6d336 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xa4674d0, receiver=0xab5b3b8, event=0xbfa9b24c) at kernel/qcoreapplication.cpp:902 #69 0x01c98d22 in notify_helper (e=0xbfa9b24c, receiver=0xab5b3b8, this=0xa4674d0) at kernel/qapplication.cpp:4482 #70 QApplicationPrivate::notify_helper (this=0xa4674d0, receiver=0xab5b3b8, e=0xbfa9b24c) at kernel/qapplication.cpp:4458 #71 0x01c9edbb in QApplication::notify (this=0xa4674d0, receiver=0xab5b3b8, e=0xbfa9b24c) at kernel/qapplication.cpp:4047 #72 0x00a5b721 in KApplication::notify (this=0xa4636c8, receiver=0xab5b3b8, event=0xbfa9b24c) at ../../kdeui/kernel/kapplication.cpp:311 #73 0x05d6d19e in QCoreApplication::notifyInternal (this=0xa4636c8, receiver=0xab5b3b8, event=0xbfa9b24c) at kernel/qcoreapplication.cpp:787 #74 0x01c99d15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #75 QApplicationPrivate::sendMouseEvent (receiver=0xab5b3b8, event=0xbfa9b24c, alienWidget=0xab5b3b8, nativeWidget=0xa798238, buttonDown=0x2603eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146 #76 0x01d262c4 in QETWidget::translateMouseEvent (this=0xa798238, event=0xbfa9b6cc) at kernel/qapplication_x11.cpp:4568 #77 0x01d24e4d in QApplication::x11ProcessEvent (this=0xa4636c8, event=0xbfa9b6cc) at kernel/qapplication_x11.cpp:3690 #78 0x01d5124c in x11EventSourceDispatch (s=0xa46af00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #79 0x0183925f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #80 0x01839990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #81 0x01839c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #82 0x05d9bada in QEventDispatcherGlib::processEvents (this=0xa46b710, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #83 0x01d50e3a in QGuiEventDispatcherGlib::processEvents (this=0xa46b710, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #84 0x05d6c1dd in QEventLoop::processEvents (this=0xbfa9b9d4, flags=...) at kernel/qeventloop.cpp:149 #85 0x05d6c421 in QEventLoop::exec (this=0xbfa9b9d4, flags=...) at kernel/qeventloop.cpp:201 #86 0x05d7119d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #87 0x01c968f4 in QApplication::exec () at kernel/qapplication.cpp:3760 #88 0x08086c4f in main (argc=99249940, argv=0xaedb404) at /build/buildd/kmymoney-4.5.3/kmymoney/main.cpp:260 Reported using DrKonqi
Can you upgrade to kmymoney 4.6.0 and check again?
I have reproduced this bug using version 4.6.0. I first thought it was a corrupt file, but it is independent of the file used. I recently upgraded to Ubuntu Ocelot from Natty, and that is when the bug appeared. Therefore, it seems to be Unbuntu version related. I am using the stock Unity version of 11.10. This crash happens when doing just about anything. Clicking on the ledger button is the quickest way to make it crash, but other things like closing the current file and clicking "New" will do it as well. Ditto for many other operations.
I thought there was a similar case recently that ended up being due to accessibility features being turned on, but I can't find it now either in the bugs or the list archives. Try checking in System Settings, under Workspace and Appearance, to see if any of the accessibility features are unexpectedly turned on.
Accessibility options seem to be gone under Ocelot/Unity. There is the Universal Access control panel though to replace them. I checked those, and all those options are off. Also, I do run KMouseTool to click my mouse, but I run it as a stand-alone app under Unity. I tried quitting this application and trying again, and KMyMoney still crashes with the same fault. I did not have any problem whatsoever before upgrading to Ocelot. Even under Natty, it worked great. I love the program and would like to be able to use it again. I have not found any open source alternative which comes even close.
There's an added twist, in that Ubuntu is Gnome based, and KMyMoney is a KDE app, so the settings are not all stored in the same place or set with the same apps. See if your package manager (Software Center?) has a KDE Systemsettings app. If so, install it and run it (the command line should just be systemsettings, if you can't find it in the start menus).
*** Bug 284657 has been marked as a duplicate of this bug. ***
*** Bug 284659 has been marked as a duplicate of this bug. ***
*** Bug 283977 has been marked as a duplicate of this bug. ***
I'd say that this is not a KMyMoney bug but a bug somewhere upstream (Qt accessibility) or downstream (Ubuntu system configuration) or both. Does any other KDE application run without crashing on that system?
Semantik (Mind Map) runs well.
(In reply to comment #9) > I'd say that this is not a KMyMoney bug but a bug somewhere upstream (Qt > accessibility) or downstream (Ubuntu system configuration) or both. > Does any other KDE application run without crashing on that system? I agree. I just discovered another KDE app - K9Copy crashes with a similar fault upon launching. Upgrading to Ocelet must have corrupted or wiped out some library somewhere Is there a way to track this down? I am considering installing KDE into Ubuntu and see if it fixes the problem. I'll even run under KDE if I have to for, but maybe just installing it will fix it under Unity/Gnome.
*** Bug 285140 has been marked as a duplicate of this bug. ***
Created attachment 64962 [details] New crash information added by DrKonqi kmymoney (4.5.3) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4 - What I was doing when the application crashed: Normal Use - Navigating through scheduled transactions on home page. Had crashed regularly under unity. Installed and logged into Kubuntu Plasma Desktop. Got a few clicks in before crash. -- Backtrace (Reduced): #7 0xb2dd912d in QSpiAdaptor::checkInterface() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #8 0xb2ddf2e0 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #9 0xb2ddfc9e in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #10 0xb2dd3ecc in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #11 0xb2dd357a in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
Created attachment 65129 [details] New crash information added by DrKonqi kmymoney (4.5.3) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4 - What I was doing when the application crashed: after opening the program, my database (kmy file) is registered and so, opened automatically. the homepage is shown. i clicked on my account ("ledger" ?) to see how could i could be so poor (joking). crash. -- Backtrace (Reduced): #6 0x00007fd88fa213db in QSpiAdaptor::checkInterface() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #7 0x00007fd88fa26cb6 in QSpiAdaptor::GetChildren() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #8 0x00007fd88fa275bf in QSpiAdaptor::getCacheItem() const () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #9 0x00007fd88fa1c4d1 in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so #10 0x00007fd88fa1bbd8 in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
Not sure if this will help anyone else, but running kmymoney from the command line threw a lot of errors like: "Creating accessible with different object than the original interface!" Found this thread http://ubuntuforums.org/showthread.php?t=1861605 and used the command below to run kmymoney without any issue (so far). $ export QT_ACCESSIBILITY=0 && kmymoney
*** This bug has been marked as a duplicate of bug 284005 ***
*** Bug 288005 has been marked as a duplicate of this bug. ***
*** Bug 291566 has been marked as a duplicate of this bug. ***
*** Bug 293001 has been marked as a duplicate of this bug. ***
*** Bug 293161 has been marked as a duplicate of this bug. ***
*** Bug 293239 has been marked as a duplicate of this bug. ***
*** Bug 293237 has been marked as a duplicate of this bug. ***
*** Bug 294385 has been marked as a duplicate of this bug. ***