I changed an older custom report on budgeting to the budget of the current year. This MAY be a duplicate of #290737 but that one is closed and for an older version. Reproducible: Always Application: kmymoney (4.6.1) KDE Platform Version: 4.8.5 (4.8.5) Qt Version: 4.8.1 Operating System: Linux 3.5.0-36-generic x86_64 Distribution: Ubuntu 12.04.2 LTS 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 0x7fa1a4edc780 (LWP 18242))] Thread 3 (Thread 0x7fa18bcb3700 (LWP 18243)): #0 0x00007fa1a22cfd2d in read () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007fa19ac508cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fa19ac15ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fa19ac15fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fa19ac1649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fa18bcb898b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so #6 0x00007fa19ac379e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007fa1a22c8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #8 0x00007fa19f5b3ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #9 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fa18b4b2700 (LWP 18244)): #0 0x00007fa19f5a8313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007fa19ac16036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fa19ac1649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fa19239d406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007fa19ac379e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fa1a22c8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007fa19f5b3ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fa1a4edc780 (LWP 18242)): [KCrash Handler] #6 0x00007fa19f275fa2 in __gmpq_mul () from /usr/lib/x86_64-linux-gnu/libgmp.so.10 #7 0x00007fa1a293bc81 in AlkValue::operator*(AlkValue const&) const () from /usr/lib/libalkimia.so.4 #8 0x00007fa1a4a67510 in MyMoneyMoney::operator* (this=<optimized out>, _b=...) at /build/buildd/kmymoney-4.6.1/kmymoney/mymoney/mymoneymoney.cpp:272 #9 0x0000000000561453 in reports::PivotTable::calculateBudgetMapping (this=0x6afc220) at /build/buildd/kmymoney-4.6.1/kmymoney/reports/pivottable.cpp:880 #10 0x000000000056578a in reports::PivotTable::init (this=0x6afc220) at /build/buildd/kmymoney-4.6.1/kmymoney/reports/pivottable.cpp:169 #11 0x00000000005662cd in reports::PivotTable::PivotTable (this=0x6afc220, _config_f=...) at /build/buildd/kmymoney-4.6.1/kmymoney/reports/pivottable.cpp:94 #12 0x00000000004d74f9 in KReportsView::KReportTab::updateReport (this=0x4ce6070) at /build/buildd/kmymoney-4.6.1/kmymoney/views/kreportsview.cpp:181 #13 0x00000000004dd439 in KReportsView::loadView (this=0x1e68260) at /build/buildd/kmymoney-4.6.1/kmymoney/views/kreportsview.cpp:550 #14 0x00000000004ddb6d in KReportsView::slotLoadView (this=0x1e68260) at /build/buildd/kmymoney-4.6.1/kmymoney/views/kreportsview.cpp:366 #15 0x00007fa1a116c281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #16 0x00007fa1a4a94ceb in MyMoneyFile::commitTransaction (this=0x7fa1a4cf7b20) at /build/buildd/kmymoney-4.6.1/kmymoney/mymoney/mymoneyfile.cpp:423 #17 0x00007fa1a4a94f05 in MyMoneyFileTransaction::commit (this=0x7fff0d6d8a90) at /build/buildd/kmymoney-4.6.1/kmymoney/mymoney/mymoneyfile.cpp:2786 #18 0x00000000004d671a in KReportsView::slotConfigure (this=0x1e68260) at /build/buildd/kmymoney-4.6.1/kmymoney/views/kreportsview.cpp:770 #19 0x00007fa1a116c281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #20 0x00007fa1a0257132 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #21 0x00007fa1a025731f in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #22 0x00007fa1a06a9119 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #23 0x00007fa1a06af272 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #24 0x00007fa1a35b2030 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5 #25 0x00007fa1a02ae144 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #26 0x00007fa1a06b080b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #27 0x00007fa1a025d894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #28 0x00007fa1a02630bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #29 0x00007fa1a34f13f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #30 0x00007fa1a1157e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #31 0x00007fa1a025e862 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #32 0x00007fa1a02de2c1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #33 0x00007fa1a02dcbae in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #34 0x00007fa1a03060d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #35 0x00007fa19ac15d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007fa19ac160a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007fa19ac16164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007fa1a11873bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #39 0x00007fa1a0305d5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #40 0x00007fa1a1156c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #41 0x00007fa1a1156ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #42 0x00007fa1a115bf67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #43 0x0000000000457dcd in runKMyMoney (splash=<optimized out>, a=<optimized out>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:282 #44 0x00000000004564f3 in main (argc=1, argv=0x7fff0d6db028) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:181
I just found out that KMyMoney STOPS crashing when I un-tick ‘include subaccounts’ from every category in the budget planner.
Oh, I now found out that it also works as expected, when I set ‘Detail’ to ‘Top-Level’ in the report configuration. Now everything works just as expected. :) I won't attempt to close this bug since this crash still is unintentional behaviour.
Disregard that! With ‘include subaccounts’ KMyMoney still crashes when ‘Detail’ is set to ‘Top-Level’ after I restart KMyMoney. :( (That is: After I restart KMyMoney AND select the report. It does NOT crash instantly.)
Fixed, but on a version still unreleased. Best workaround is to recreate the budget to skip the missing accounts. *** This bug has been marked as a duplicate of bug 290737 ***