Bug 269637 - kmymoney crash after going from budget screen to reports screen
Summary: kmymoney crash after going from budget screen to reports screen
Status: RESOLVED DUPLICATE of bug 255135
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 20:57 UTC by Andy Chrimes
Modified: 2012-01-06 09:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Chrimes 2011-03-28 20:57:12 UTC
Application: kmymoney (4.5.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
Completed changes to current budget, then went to reports screen to confirm changes to the budget had been made, kmymoney then creashed.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Floating point exception
[Current thread is 1 (Thread 0xb4345710 (LWP 4558))]

Thread 2 (Thread 0xb3f49b70 (LWP 4559)):
#0  0xb77ae424 in __kernel_vsyscall ()
#1  0xb5410df6 in poll () from /lib/libc.so.6
#2  0xb4a56a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb4a4943c in ?? () from /lib/libglib-2.0.so.0
#4  0xb4a49ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb405e9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb4a7048f in ?? () from /lib/libglib-2.0.so.0
#7  0xb6934cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb541f69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4345710 (LWP 4558)):
[KCrash Handler]
#7  0xb54b3ce3 in __moddi3 () from /lib/libgcc_s.so.1
#8  0xb76ecd92 in MyMoneyMoney::getLcd (this=0xbfaac420, b=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneymoney.cpp:567
#9  0xb76ed3d6 in MyMoneyMoney::operator+ (this=0xaf8c548, _b=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneymoney.cpp:431
#10 0x081fc8f4 in operator+= (this=0xaf8c548, value=...) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/mymoneymoney.h:606
#11 reports::PivotCell::operator+= (this=0xaf8c548, value=...) at /build/buildd/kmymoney-4.5/kmymoney/reports/pivotgrid.cpp:59
#12 0x081d3900 in reports::PivotTable::assignCell(QString const&, reports::ReportAccount const&, int, MyMoneyMoney, bool, bool) ()
#13 0x081c9da5 in reports::PivotTable::calculateBudgetMapping (this=0xafc0298) at /build/buildd/kmymoney-4.5/kmymoney/reports/pivottable.cpp:902
#14 0x081cd990 in reports::PivotTable::init (this=0xafc0298) at /build/buildd/kmymoney-4.5/kmymoney/reports/pivottable.cpp:169
#15 0x081cee9d in reports::PivotTable::PivotTable (this=0xafc0298, _config_f=...) at /build/buildd/kmymoney-4.5/kmymoney/reports/pivottable.cpp:94
#16 0x08123aad in KReportsView::KReportTab::updateReport (this=0xadab358) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:180
#17 0x08123c12 in KReportsView::KReportTab::showEvent (this=0xadab358, event=0xbfaad3e0) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:158
#18 0xb5cfcc72 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb5c9efdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb5ca50e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb6cc568a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0xb57b8b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0xb5d01655 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#24 0xb5d02e9b in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#25 0xb5ce49e2 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#26 0xb618cbcd in QStackedWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#27 0xb619c94f in ?? () from /usr/lib/libQtGui.so.4
#28 0xb619cc62 in QTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#29 0xb6de4fba in KTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#30 0xb57be8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#31 0xb57d16ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#32 0xb618fa83 in QTabBar::currentChanged(int) () from /usr/lib/libQtGui.so.4
#33 0xb6194fff in QTabBar::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#34 0xb619adcd in QTabWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#35 0x08122dbf in KReportsView::addReportTab (this=0xa771688, report=...) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:1065
#36 0x08130b94 in KReportsView::qt_metacall (this=0xa771688, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfaad854) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/views/kreportsview.moc:119
#37 0xb57be8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#38 0xb57d16ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#39 0xb62ef4c9 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem*, int) () from /usr/lib/libQtGui.so.4
#40 0xb62f1042 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb62f74a1 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#42 0xb57be8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#43 0xb57d16ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0xb62670e3 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#45 0xb62bec0f in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#46 0xb5cfcc8e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#47 0xb611e763 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#48 0xb61bba82 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#49 0xb62780f7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#50 0xb62ba883 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#51 0xb61be4d5 in ?? () from /usr/lib/libQtGui.so.4
#52 0xb57b829a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#53 0xb5c9efb9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#54 0xb5ca5c2e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#55 0xb6cc568a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#56 0xb57b8b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#57 0xb5ca4094 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#58 0xb5d32d10 in ?? () from /usr/lib/libQtGui.so.4
#59 0xb5d32151 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#60 0xb5d6136a in ?? () from /usr/lib/libQtGui.so.4
#61 0xb4a45855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#62 0xb4a49668 in ?? () from /lib/libglib-2.0.so.0
#63 0xb4a49848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#64 0xb57e7565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#65 0xb5d60be5 in ?? () from /usr/lib/libQtGui.so.4
#66 0xb57b7609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#67 0xb57b7a8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#68 0xb57bc00f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#69 0xb5c9de07 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#70 0x08086107 in main (argc=1, argv=0xbfaaefe4) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 Andy Chrimes 2011-03-28 21:24:05 UTC
After changes were made to the budget, and although the budget was saved frequently during the changes, when Kmymoney restarted itself the budget had reverted back to it's unsaved state. Since changed the budget again and saved all OK.
Comment 2 Thomas Baumgart 2011-03-29 07:03:49 UTC
The math code has been replaced in trunk to use libalkimia in the meantime. Also, upgrading to KMyMoney 4.5.3 - the latest stable release - might improve your situation.
Comment 3 Cristian Oneț 2012-01-06 09:49:30 UTC

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