Bug 314792 - Kmymoney crashes - apparently while reorganizing categories
Summary: Kmymoney crashes - apparently while reorganizing categories
Status: RESOLVED UPSTREAM
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 20:50 UTC by 20120808_bugs.kde.org
Modified: 2013-09-18 05:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (12.39 KB, text/plain)
2013-08-17 14:14 UTC, thenavigator2012
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 20120808_bugs.kde.org 2013-02-09 20:50:42 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.8.0-030800rc7-generic x86_64
Distribution: Ubuntu 12.10

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

I had just completed an entry in the ledger view when I noticed a category would better fit elsewhere. Switching to category view, I entered text to filter for the category. 

Then right mouse click on it, to bring up the menu to left click edit category. 
At this poin the program crashed.

Upon restarting Kmymoney, I was happy to see the ledger entry was still intact. I performed the steps above again, to clean up the item in the categories. The second time was successful and the program did not crash.

The crash can be reproduced some of the 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 0x7f836154a780 (LWP 2656))]

Thread 2 (Thread 0x7f83490d4700 (LWP 2658)):
#0  0x00007f835ba76303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f8357154d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8357154ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f835d62fc16 in QEventDispatcherGlib::processEvents (this=0x7f83440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f835d6002bf in QEventLoop::processEvents (this=this@entry=0x7f83490d3dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f835d600548 in QEventLoop::exec (this=0x7f83490d3dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f835d501b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f835d5e09af in QInotifyFileSystemWatcherEngine::run (this=0x1559fe0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f835d504aec in QThreadPrivate::start (arg=0x1559fe0) at thread/qthread_unix.cpp:338
#9  0x00007f835e73ae9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f835ba81cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f836154a780 (LWP 2656)):
[KCrash Handler]
#5  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x16f9570, source_parent=..., parent_mapping=parent_mapping@entry=0x951cbc0, orient=orient@entry=Qt::Vertical, start=start@entry=448, end=end@entry=448, delta_item_count=delta_item_count@entry=1, remove=remove@entry=true) at itemviews/qsortfilterproxymodel.cpp:948
#6  0x00007f835ccbb5c0 in source_items_removed (orient=Qt::Vertical, end=448, start=448, source_parent=..., this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:890
#7  QSortFilterProxyModelPrivate::source_items_removed (this=0x16f9570, source_parent=..., start=448, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:848
#8  0x00007f835d616f5f in QMetaObject::activate (sender=0x13692f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd3035d0) at kernel/qobject.cpp:3547
#9  0x00007f835d660c84 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=..., _t2=448, _t3=448) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#10 0x00007f835d5faf0d in QAbstractItemModel::endRemoveRows (this=0x13692f0) at kernel/qabstractitemmodel.cpp:2487
#11 0x00007f835ccc8b24 in QStandardItemModel::removeRows (this=<optimized out>, row=448, count=1, parent=...) at itemviews/qstandarditemmodel.cpp:2800
#12 0x0000000000777985 in removeRow (aparent=..., arow=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:319
#13 AccountsModel::slotObjectRemoved (this=0x13692f0, objType=1540646736, objType@entry=MyMoneyFile::notifyAccount, id=...) at /build/buildd/kmymoney-4.6.3/kmymoney/models/accountsmodel.cpp:696
#14 0x0000000000778d9d in AccountsModel::slotObjectModified (this=0x13692f0, objType=<optimized out>, obj=0x52ceec0) at /build/buildd/kmymoney-4.6.3/kmymoney/models/accountsmodel.cpp:677
#15 0x00007f835d616f5f in QMetaObject::activate (sender=0x7f8361376ae0 <MyMoneyFile::file>, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd303a10) at kernel/qobject.cpp:3547
#16 0x00007f83611099fe in MyMoneyFile::objectModified (this=this@entry=0x7f8361376ae0 <MyMoneyFile::file>, _t1=MyMoneyFile::notifyAccount, _t2=0x52ceec0) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/mymoney/mymoneyfile.moc:134
#17 0x00007f8361113089 in MyMoneyFile::commitTransaction (this=this@entry=0x7f8361376ae0 <MyMoneyFile::file>) at /build/buildd/kmymoney-4.6.3/kmymoney/mymoney/mymoneyfile.cpp:392
#18 0x00007f83611132d5 in MyMoneyFileTransaction::commit (this=0x7fffdd303ac0) at /build/buildd/kmymoney-4.6.3/kmymoney/mymoney/mymoneyfile.cpp:2832
#19 0x000000000048359a in KMyMoneyApp::slotAccountEdit (this=0xf73000) at /build/buildd/kmymoney-4.6.3/kmymoney/kmymoney.cpp:3565
#20 0x00000000004958c5 in KMyMoneyApp::qt_static_metacall (_o=0xf73000, _c=1540646736, _id=181214784, _a=0x7f835bd46758) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/kmymoney.moc:520
#21 0x00007f835d616f5f in QMetaObject::activate (sender=0x11ec1e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd3048e0) at kernel/qobject.cpp:3547
#22 0x00007f835c727a32 in QAction::triggered (this=this@entry=0x11ec1e0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#23 0x00007f835c727c20 in QAction::activate (this=0x11ec1e0, event=<optimized out>) at kernel/qaction.cpp:1257
#24 0x00007f835cb663d3 in QMenuPrivate::activateCausedStack (this=this@entry=0x1124330, causedStack=..., action=action@entry=0x11ec1e0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1028
#25 0x00007f835cb6c6b9 in QMenuPrivate::activateAction (this=0x1124330, action=0x11ec1e0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1120
#26 0x00007f835fc664a0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#27 0x00007f835c77d850 in QWidget::event (this=0x1121450, event=0x7fffdd305480) at kernel/qwidget.cpp:8371
#28 0x00007f835cb6d96b in QMenu::event (this=0x1121450, e=0x7fffdd305480) at widgets/qmenu.cpp:2469
#29 0x00007f835c72de9c in QApplicationPrivate::notify_helper (this=this@entry=0xe832a0, receiver=receiver@entry=0x1121450, e=e@entry=0x7fffdd305480) at kernel/qapplication.cpp:4562
#30 0x00007f835c732b6b in QApplication::notify (this=<optimized out>, receiver=0x1121450, e=0x7fffdd305480) at kernel/qapplication.cpp:4105
#31 0x00007f835fbad636 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00007f835d60156e in QCoreApplication::notifyInternal (this=0xe74950, receiver=0x1121450, event=0x7fffdd305480) at kernel/qcoreapplication.cpp:915
#33 0x00007f835c72ecd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=0x1121450, event=0x7fffdd305480, alienWidget=0x0, nativeWidget=0x1121450, buttonDown=0x7f835d20a308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#35 0x00007f835c7ac41c in QETWidget::translateMouseEvent (this=this@entry=0x1121450, event=event@entry=0x7fffdd305c00) at kernel/qapplication_x11.cpp:4556
#36 0x00007f835c7ab44f in QApplication::x11ProcessEvent (this=0xe74950, event=0x7fffdd305c00) at kernel/qapplication_x11.cpp:3737
#37 0x00007f835c7d2fa2 in x11EventSourceDispatch (s=0xe8fe00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f8357154ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f8357154de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f8357154ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f835d62fbf6 in QEventDispatcherGlib::processEvents (this=0xe4dad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f835c7d2c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f835d6002bf in QEventLoop::processEvents (this=this@entry=0x7fffdd305fe0, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f835d600548 in QEventLoop::exec (this=0x7fffdd305fe0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f835cb6a395 in QMenu::exec (this=0x1121450, p=..., action=0x0) at widgets/qmenu.cpp:2113
#46 0x00000000004651f6 in KMyMoneyApp::showContextMenu (this=this@entry=0xf73000, containerName=...) at /build/buildd/kmymoney-4.6.3/kmymoney/kmymoney.cpp:5764
#47 0x000000000046546c in KMyMoneyApp::slotShowAccountContextMenu (this=0xf73000, obj=...) at /build/buildd/kmymoney-4.6.3/kmymoney/kmymoney.cpp:5801
#48 0x000000000049595e in KMyMoneyApp::qt_static_metacall (_o=0xf73000, _c=1540646736, _id=181214784, _a=0x7f835bd46758) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/kmymoney.moc:528
#49 0x00007f835d616f5f in QMetaObject::activate (sender=0x16e9300, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd306620) at kernel/qobject.cpp:3547
#50 0x00000000004f5265 in KCategoriesView::openContextMenu (this=<optimized out>, _t1=...) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/views/kcategoriesview.moc:135
#51 0x00007f835d616f5f in QMetaObject::activate (sender=0x16e9840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd306760) at kernel/qobject.cpp:3547
#52 0x000000000058cf45 in KMyMoneyAccountTreeView::openContextMenu (this=this@entry=0x16e9840, _t1=...) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/widgets/kmymoneyaccounttreeview.moc:133
#53 0x000000000058dc88 in KMyMoneyAccountTreeView::customContextMenuRequested (this=0x16e9840, pos=...) at /build/buildd/kmymoney-4.6.3/kmymoney/widgets/kmymoneyaccounttreeview.cpp:113
#54 0x00007f835d616f5f in QMetaObject::activate (sender=0x16e9840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd306d30) at kernel/qobject.cpp:3547
#55 0x00007f835c770972 in QWidget::customContextMenuRequested (this=this@entry=0x16e9840, _t1=...) at .moc/release-shared/moc_qwidget.cpp:374
#56 0x00007f835c77e02d in QWidget::event (this=0x16e9840, event=0x7fffdd307850) at kernel/qwidget.cpp:8541
#57 0x00007f835cb2cb66 in QFrame::event (this=0x16e9840, e=0x7fffdd307850) at widgets/qframe.cpp:557
#58 0x00007f835cc3859b in QAbstractItemView::viewportEvent (this=0x16e9840, event=0x7fffdd307850) at itemviews/qabstractitemview.cpp:1644
#59 0x00007f835cc7cd81 in QTreeView::viewportEvent (this=0x16e9840, event=0x7fffdd307850) at itemviews/qtreeview.cpp:1257
#60 0x00007f835d6016d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x16e9f10, event=0x7fffdd307850) at kernel/qcoreapplication.cpp:1025
#61 0x00007f835c72de6c in QApplicationPrivate::notify_helper (this=this@entry=0xe832a0, receiver=receiver@entry=0x16e9f10, e=e@entry=0x7fffdd307850) at kernel/qapplication.cpp:4558
#62 0x00007f835c732875 in QApplication::notify (this=<optimized out>, receiver=0x16e9f10, e=0x7fffdd307850) at kernel/qapplication.cpp:4184
#63 0x00007f835fbad636 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#64 0x00007f835d60156e in QCoreApplication::notifyInternal (this=0xe74950, receiver=0x16e9f10, event=0x7fffdd307850) at kernel/qcoreapplication.cpp:915
#65 0x00007f835c7ac5b1 in sendSpontaneousEvent (event=0x7fffdd307850, receiver=0x16e9f10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#66 QETWidget::translateMouseEvent (this=this@entry=0x16e9300, event=event@entry=0x7fffdd307fa0) at kernel/qapplication_x11.cpp:4627
#67 0x00007f835c7ab44f in QApplication::x11ProcessEvent (this=0xe74950, event=0x7fffdd307fa0) at kernel/qapplication_x11.cpp:3737
#68 0x00007f835c7d2fa2 in x11EventSourceDispatch (s=0xe8fe00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x00007f8357154ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007f8357154de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f8357154ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f835d62fc16 in QEventDispatcherGlib::processEvents (this=0xe4dad0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#73 0x00007f835c7d2c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007f835d6002bf in QEventLoop::processEvents (this=this@entry=0x7fffdd308370, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007f835d600548 in QEventLoop::exec (this=0x7fffdd308370, flags=...) at kernel/qeventloop.cpp:204
#76 0x00007f835d605708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#77 0x0000000000457dd6 in runKMyMoney (splash=splash@entry=0x105c600, a=0xe74950) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:282
#78 0x000000000045659f in main (argc=1, argv=0x7fffdd308e68) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:181

Possible duplicates by query: bug 306051.

Reported using DrKonqi
Comment 1 thenavigator2012 2013-08-17 14:14:44 UTC
Created attachment 81754 [details]
New crash information added by DrKonqi

kmymoney (4.6.3) on KDE Platform 4.9.5 using Qt 4.8.3

- What I was doing when the application crashed:

I was editing a transaction to move to another category. When moved program crashed

-- Backtrace (Reduced):
#5  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x2531160, source_parent=..., parent_mapping=parent_mapping@entry=0x4d49780, orient=orient@entry=Qt::Vertical, start=start@entry=34, end=end@entry=34, delta_item_count=delta_item_count@entry=1, remove=remove@entry=true) at itemviews/qsortfilterproxymodel.cpp:948
#6  0x00007fcb6270a5c0 in source_items_removed (orient=Qt::Vertical, end=34, start=34, source_parent=..., this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:890
#7  QSortFilterProxyModelPrivate::source_items_removed (this=0x2531160, source_parent=..., start=34, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:848
[...]
#9  0x00007fcb630afc84 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=..., _t2=34, _t3=34) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#10 0x00007fcb63049f0d in QAbstractItemModel::endRemoveRows (this=0x2354a00) at kernel/qabstractitemmodel.cpp:2487
Comment 2 Cristian Oneț 2013-09-17 19:24:55 UTC
This is caused by an upstream bug in Qt 4.8.3 and 4.8.4:
https://bugreports.qt-project.org/browse/QTBUG-29494
Comment 3 Cristian Oneț 2013-09-18 05:29:20 UTC
Actually it was fixed in 4.8.4