Bug 293841

Summary: KMyMoney crashed after clicking on "Accounts"
Product: [Applications] kmymoney Reporter: Matthias <m.deege>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.5.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthias 2012-02-11 14:10:03 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-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
1. Adding a Credit and an Asset Account
2. Created a Account hierarchy
3. Opened two Reports (one with investment performance and one with the Account Balance I think)
4. Switched between some views (I don't fully remember wich ones)
5. Clicked on "Accounts"
6. KMyMoney crashed

The crash does not seem to be reproducible.

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

Thread 2 (Thread 0x7fd62534a700 (LWP 16196)):
#0  0x0000003331ed5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003333644f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000003333645429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd63088cf3e in QEventDispatcherGlib::processEvents (this=0x2ad9690, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd630860cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd630860ef7 in QEventLoop::exec (this=0x7fd625349dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd63077827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fd630843cbf in QInotifyFileSystemWatcherEngine::run (this=0x2acb330) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd63077ad05 in QThreadPrivate::start (arg=0x2acb330) at thread/qthread_unix.cpp:331
#9  0x0000003332607efc in start_thread (arg=0x7fd62534a700) at pthread_create.c:304
#10 0x0000003331ee189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd62d162780 (LWP 16195)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff460c85c0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x2a81860, child=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1657
#8  0x00007fd62fede12b in parent (this=0x773ca30) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x2a493f0, index=...) at itemviews/qtreeview.cpp:2759
#10 0x00007fd62fee1c29 in itemHeight (item=0, this=0x2a4a8c0) at itemviews/qtreeview.cpp:3232
#11 QTreeViewPrivate::itemHeight (this=0x2a4a8c0, item=<optimized out>) at itemviews/qtreeview.cpp:3221
#12 0x00007fd62fee1ec3 in QTreeViewPrivate::updateScrollBars (this=0x2a4a8c0) at itemviews/qtreeview.cpp:3457
#13 0x00007fd62fee229f in QTreeView::updateGeometries (this=0x2a493f0) at itemviews/qtreeview.cpp:2686
#14 0x00007fd62f9e7cd0 in QWidget::event (this=0x2a493f0, event=0x7fff460c9360) at kernel/qwidget.cpp:8449
#15 0x00007fd62fd905b6 in QFrame::event (this=0x2a493f0, e=0x7fff460c9360) at widgets/qframe.cpp:557
#16 0x00007fd62fea125b in QAbstractItemView::viewportEvent (this=0x2a493f0, event=0x7fff460c9360) at itemviews/qabstractitemview.cpp:1628
#17 0x00007fd62fee5df5 in QTreeView::viewportEvent (this=0x2a493f0, event=0x7fff460c9360) at itemviews/qtreeview.cpp:1256
#18 0x00007fd630861c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x2a495a0, event=0x7fff460c9360) at kernel/qcoreapplication.cpp:902
#19 0x00007fd62f99743f in notify_helper (e=0x7fff460c9360, receiver=0x2a495a0, this=0x23df540) at kernel/qapplication.cpp:4482
#20 QApplicationPrivate::notify_helper (this=0x23df540, receiver=0x2a495a0, e=0x7fff460c9360) at kernel/qapplication.cpp:4458
#21 0x00007fd62f99c2e1 in QApplication::notify (this=0x23d5f20, receiver=0x2a495a0, e=0x7fff460c9360) at kernel/qapplication.cpp:4365
#22 0x00007fd632594466 in KApplication::notify (this=0x23d5f20, receiver=0x2a495a0, event=0x7fff460c9360) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fd630861afc in QCoreApplication::notifyInternal (this=0x23d5f20, receiver=0x2a495a0, event=0x7fff460c9360) at kernel/qcoreapplication.cpp:787
#24 0x00007fd62fa31b57 in sendEvent (event=0x7fff460c9360, receiver=0x2a495a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QWidgetPrivate::setGeometry_sys (this=0x2a4ad50, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, isMove=true) at kernel/qwidget_x11.cpp:2650
#26 0x00007fd62f9e3d95 in QWidget::setGeometry (this=0x2a495a0, r=...) at kernel/qwidget.cpp:6897
#27 0x00007fd62fe11468 in QAbstractScrollAreaPrivate::layoutChildren (this=0x2a4a8c0) at widgets/qabstractscrollarea.cpp:480
#28 0x00007fd62fe124ed in QAbstractScrollArea::event (this=0x2a493f0, e=<optimized out>) at widgets/qabstractscrollarea.cpp:924
#29 0x00007fd62feaac1b in QAbstractItemView::event (this=0x2a493f0, event=0x7fff460c9b30) at itemviews/qabstractitemview.cpp:1564
#30 0x00007fd62f997474 in notify_helper (e=0x7fff460c9b30, receiver=0x2a493f0, this=0x23df540) at kernel/qapplication.cpp:4486
#31 QApplicationPrivate::notify_helper (this=0x23df540, receiver=0x2a493f0, e=0x7fff460c9b30) at kernel/qapplication.cpp:4458
#32 0x00007fd62f99c2e1 in QApplication::notify (this=0x23d5f20, receiver=0x2a493f0, e=0x7fff460c9b30) at kernel/qapplication.cpp:4365
#33 0x00007fd632594466 in KApplication::notify (this=0x23d5f20, receiver=0x2a493f0, event=0x7fff460c9b30) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fd630861afc in QCoreApplication::notifyInternal (this=0x23d5f20, receiver=0x2a493f0, event=0x7fff460c9b30) at kernel/qcoreapplication.cpp:787
#35 0x00007fd62fa31b57 in sendEvent (event=0x7fff460c9b30, receiver=0x2a493f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QWidgetPrivate::setGeometry_sys (this=0x2a4a8c0, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, isMove=true) at kernel/qwidget_x11.cpp:2650
#37 0x00007fd62f9e3d95 in QWidget::setGeometry (this=0x2a493f0, r=...) at kernel/qwidget.cpp:6897
#38 0x00007fd62f9c48c4 in setGeometry (this=<optimized out>, ah=655, aw=1335, ay=<optimized out>, ax=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1004
#39 setGeometry (rect=<optimized out>, this=0x2a532b0) at kernel/qlayoutitem.cpp:490
#40 QWidgetItem::setGeometry (this=0x2a532b0, rect=<optimized out>) at kernel/qlayoutitem.cpp:436
#41 0x00007fd62f9a6309 in QBoxLayout::setGeometry (this=0x2a49170, r=...) at kernel/qboxlayout.cpp:868
#42 0x00007fd62f9c0dc3 in QLayoutPrivate::doResize (this=0x2a491a0, r=...) at kernel/qlayout.cpp:681
#43 0x00007fd62f997431 in notify_helper (e=0x7fff460ca2a0, receiver=0x2a49840, this=0x23df540) at kernel/qapplication.cpp:4477
#44 QApplicationPrivate::notify_helper (this=0x23df540, receiver=0x2a49840, e=0x7fff460ca2a0) at kernel/qapplication.cpp:4458
#45 0x00007fd62f99c2e1 in QApplication::notify (this=0x23d5f20, receiver=0x2a49840, e=0x7fff460ca2a0) at kernel/qapplication.cpp:4365
#46 0x00007fd632594466 in KApplication::notify (this=0x23d5f20, receiver=0x2a49840, event=0x7fff460ca2a0) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007fd630861afc in QCoreApplication::notifyInternal (this=0x23d5f20, receiver=0x2a49840, event=0x7fff460ca2a0) at kernel/qcoreapplication.cpp:787
#48 0x00007fd62fa31b57 in sendEvent (event=0x7fff460ca2a0, receiver=0x2a49840) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#49 QWidgetPrivate::setGeometry_sys (this=0x2a48f10, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, isMove=true) at kernel/qwidget_x11.cpp:2650
#50 0x00007fd62f9e3d95 in QWidget::setGeometry (this=0x2a49840, r=...) at kernel/qwidget.cpp:6897
#51 0x00007fd62f9c0dc3 in QLayoutPrivate::doResize (this=0x2a48800, r=...) at kernel/qlayout.cpp:681
#52 0x00007fd62f997431 in notify_helper (e=0x7fff460ca860, receiver=0x2a0b2b0, this=0x23df540) at kernel/qapplication.cpp:4477
#53 QApplicationPrivate::notify_helper (this=0x23df540, receiver=0x2a0b2b0, e=0x7fff460ca860) at kernel/qapplication.cpp:4458
#54 0x00007fd62f99c2e1 in QApplication::notify (this=0x23d5f20, receiver=0x2a0b2b0, e=0x7fff460ca860) at kernel/qapplication.cpp:4365
#55 0x00007fd632594466 in KApplication::notify (this=0x23d5f20, receiver=0x2a0b2b0, event=0x7fff460ca860) at ../../kdeui/kernel/kapplication.cpp:311
#56 0x00007fd630861afc in QCoreApplication::notifyInternal (this=0x23d5f20, receiver=0x2a0b2b0, event=0x7fff460ca860) at kernel/qcoreapplication.cpp:787
#57 0x00007fd62fa31b57 in sendEvent (event=0x7fff460ca860, receiver=0x2a0b2b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#58 QWidgetPrivate::setGeometry_sys (this=0x2a0b320, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, isMove=true) at kernel/qwidget_x11.cpp:2650
#59 0x00007fd62f9e3d95 in QWidget::setGeometry (this=0x2a0b2b0, r=...) at kernel/qwidget.cpp:6897
#60 0x00007fd62fdf7a02 in QTabWidget::setUpLayout (this=0x2a0b010, onlyCheck=false) at widgets/qtabwidget.cpp:788
#61 0x00007fd632676279 in KTabWidget::resizeEvent (this=0x2a0b010, event=<optimized out>) at ../../kdeui/widgets/ktabwidget.cpp:704
#62 0x00007fd62f9e7cd0 in QWidget::event (this=0x2a0b010, event=0x7fff460cb0f0) at kernel/qwidget.cpp:8449
#63 0x00007fd62f997474 in notify_helper (e=0x7fff460cb0f0, receiver=0x2a0b010, this=0x23df540) at kernel/qapplication.cpp:4486
#64 QApplicationPrivate::notify_helper (this=0x23df540, receiver=0x2a0b010, e=0x7fff460cb0f0) at kernel/qapplication.cpp:4458
#65 0x00007fd62f99c2e1 in QApplication::notify (this=0x23d5f20, receiver=0x2a0b010, e=0x7fff460cb0f0) at kernel/qapplication.cpp:4365
#66 0x00007fd632594466 in KApplication::notify (this=0x23d5f20, receiver=0x2a0b010, event=0x7fff460cb0f0) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x00007fd630861afc in QCoreApplication::notifyInternal (this=0x23d5f20, receiver=0x2a0b010, event=0x7fff460cb0f0) at kernel/qcoreapplication.cpp:787
#68 0x00007fd62fa31b57 in sendEvent (event=0x7fff460cb0f0, receiver=0x2a0b010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#69 QWidgetPrivate::setGeometry_sys (this=0x2a0b050, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, isMove=true) at kernel/qwidget_x11.cpp:2650
#70 0x00007fd62f9e3d95 in QWidget::setGeometry (this=0x2a0b010, r=...) at kernel/qwidget.cpp:6897
#71 0x00007fd62f9c48c4 in setGeometry (this=<optimized out>, ah=720, aw=1347, ay=<optimized out>, ax=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1004
#72 setGeometry (rect=<optimized out>, this=0x2a7cde0) at kernel/qlayoutitem.cpp:490
#73 QWidgetItem::setGeometry (this=0x2a7cde0, rect=<optimized out>) at kernel/qlayoutitem.cpp:436
#74 0x00007fd62f9a6309 in QBoxLayout::setGeometry (this=0x2a0ad90, r=...) at kernel/qboxlayout.cpp:868
#75 0x00007fd62f9c0dc3 in QLayoutPrivate::doResize (this=0x2a0adc0, r=...) at kernel/qlayout.cpp:681
#76 0x00007fd62f9c24a1 in QLayout::activate (this=0x2a0ad90) at kernel/qlayout.cpp:1259
#77 0x00007fd62f997431 in notify_helper (e=0x31f95a0, receiver=0x2a0a9a0, this=0x23df540) at kernel/qapplication.cpp:4477
#78 QApplicationPrivate::notify_helper (this=0x23df540, receiver=0x2a0a9a0, e=0x31f95a0) at kernel/qapplication.cpp:4458
#79 0x00007fd62f99c2e1 in QApplication::notify (this=0x23d5f20, receiver=0x2a0a9a0, e=0x31f95a0) at kernel/qapplication.cpp:4365
#80 0x00007fd632594466 in KApplication::notify (this=0x23d5f20, receiver=0x2a0a9a0, event=0x31f95a0) at ../../kdeui/kernel/kapplication.cpp:311
#81 0x00007fd630861afc in QCoreApplication::notifyInternal (this=0x23d5f20, receiver=0x2a0a9a0, event=0x31f95a0) at kernel/qcoreapplication.cpp:787
#82 0x00007fd63086551f in sendEvent (event=0x31f95a0, receiver=0x2a0a9a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#83 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23af430) at kernel/qcoreapplication.cpp:1428
#84 0x00007fd63088ca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#85 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#86 0x0000003333644a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#87 0x0000003333645258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#88 0x0000003333645429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#89 0x00007fd63088ced6 in QEventDispatcherGlib::processEvents (this=0x23b0f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#90 0x00007fd62fa3f10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#91 0x00007fd630860cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#92 0x00007fd630860ef7 in QEventLoop::exec (this=0x7fff460cbb70, flags=...) at kernel/qeventloop.cpp:201
#93 0x00007fd630865789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#94 0x0000000000454115 in _start ()

Possible duplicates by query: bug 274398, bug 272884, bug 272240, bug 267454.

Reported using DrKonqi
Comment 1 Alvaro Soliverez 2012-04-28 22:32:51 UTC
There  have been multiple fixes to the model that seems to have triggered this crash. Please update to 4.6.x if possible, since the version you are using is years old.