Bug 268391

Summary: Crash when marking report as my favorite
Product: [Applications] kmymoney Reporter: Kent Knudsen <kent>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.5.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kent Knudsen 2011-03-13 17:33:57 UTC
Application: kmymoney (4.5.2)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

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

KMyMoney crashes when I mark a report as my favorite. This happens only when I have set the application language to other (Danish) than default (American English). Workaroud: I change language to American English and mark my reports as favorites, then change back to native language. Severity: No big deal but tedious.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Floating point exception
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  (anonymous namespace)::PivotTable::calculateColumnHeadings (this=0x32e8bc0) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivottable.cpp:555
#7  0x000000000055e12b in (anonymous namespace)::PivotTable::init (this=0x32e8bc0) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivottable.cpp:400
#8  0x000000000055f4be in (anonymous namespace)::PivotTable::PivotTable (this=0x32e8bc0, _config_f=...) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivottable.cpp:94
#9  0x00000000004d2539 in KReportsView::KReportTab::updateReport (this=0x277d3a0) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/kreportsview.cpp:180
#10 0x00000000004d2652 in KReportsView::KReportTab::showEvent (this=0x277d3a0, event=<value optimized out>) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/kreportsview.cpp:158
#11 0x0000003cda2092a5 in QWidget::event (this=0x277d3a0, event=0x7fff340f14d0) at kernel/qwidget.cpp:8407
#12 0x0000003cda1b78c4 in QApplicationPrivate::notify_helper (this=0x1461cb0, receiver=0x277d3a0, e=0x7fff340f14d0) at kernel/qapplication.cpp:4445
#13 0x0000003cda1bc3da in QApplication::notify (this=<value optimized out>, receiver=0x277d3a0, e=0x7fff340f14d0) at kernel/qapplication.cpp:4324
#14 0x0000003cdb820596 in KApplication::notify (this=0x1461b10, receiver=0x277d3a0, event=0x7fff340f14d0) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#15 0x0000003cd895b7ac in QCoreApplication::notifyInternal (this=0x1461b10, receiver=0x277d3a0, event=0x7fff340f14d0) at kernel/qcoreapplication.cpp:732
#16 0x0000003cda20c92f in sendEvent (this=0x2776120) at ../../src/corelib/kernel/qcoreapplication.h:215
#17 QWidgetPrivate::show_helper (this=0x2776120) at kernel/qwidget.cpp:7380
#18 0x0000003cda20cc5a in QWidget::setVisible (this=0x277d3a0, visible=<value optimized out>) at kernel/qwidget.cpp:7602
#19 0x0000003cda1ed679 in show (this=0x1b9d870, index=2) at ../../src/gui/kernel/qwidget.h:487
#20 QStackedLayout::setCurrentIndex (this=0x1b9d870, index=2) at kernel/qstackedlayout.cpp:311
#21 0x0000003cda61b5e3 in QTabWidgetPrivate::_q_showTab (this=<value optimized out>, index=2) at widgets/qtabwidget.cpp:734
#22 0x0000003cda61b8a0 in QTabWidget::qt_metacall (this=0x1b697f0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff340f1770) at .moc/release-shared/moc_qtabwidget.cpp:142
#23 0x0000003cdb90d475 in KTabWidget::qt_metacall (this=0x1b697f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff340f1770) at /usr/src/debug/kdelibs-4.5.5/x86_64-redhat-linux-gnu/kdeui/ktabwidget.moc:128
#24 0x0000003cd897004f in QMetaObject::activate (sender=0x1ba3090, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff340f1770) at kernel/qobject.cpp:3272
#25 0x0000003cda6110ae in QTabBar::currentChanged (this=<value optimized out>, _t1=2) at .moc/release-shared/moc_qtabbar.cpp:201
#26 0x00000000004d2f59 in KReportsView::slotConfigure (this=0x1b89880) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/kreportsview.cpp:794
#27 0x00000000004da826 in KReportsView::qt_metacall (this=0x1b89880, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff340f1de0) at /usr/src/debug/kmymoney-4.5.2/x86_64-redhat-linux-gnu/kmymoney/views/kreportsview.moc:116
#28 0x0000003cd897004f in QMetaObject::activate (sender=0x2f23db0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff340f1de0) at kernel/qobject.cpp:3272
#29 0x0000003cda8288b2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#30 0x0000003cda570cbb in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#31 0x0000003cda57228b in QAbstractButtonPrivate::click (this=0x2f2e0e0) at widgets/qabstractbutton.cpp:539
#32 0x0000003cda5724fc in QAbstractButton::mouseReleaseEvent (this=0x2f23db0, e=0x7fff340f2760) at widgets/qabstractbutton.cpp:1121
#33 0x0000003cda208fe8 in QWidget::event (this=0x2f23db0, event=0x7fff340f2760) at kernel/qwidget.cpp:8200
#34 0x0000003cda1b78c4 in QApplicationPrivate::notify_helper (this=0x1461cb0, receiver=0x2f23db0, e=0x7fff340f2760) at kernel/qapplication.cpp:4445
#35 0x0000003cda1bcc5a in QApplication::notify (this=<value optimized out>, receiver=0x2f23db0, e=0x7fff340f2760) at kernel/qapplication.cpp:4006
#36 0x0000003cdb820596 in KApplication::notify (this=0x1461b10, receiver=0x2f23db0, event=0x7fff340f2760) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#37 0x0000003cd895b7ac in QCoreApplication::notifyInternal (this=0x1461b10, receiver=0x2f23db0, event=0x7fff340f2760) at kernel/qcoreapplication.cpp:732
#38 0x0000003cda1b88c5 in sendEvent (receiver=0x2f23db0, event=0x7fff340f2760, alienWidget=0x2f23db0, nativeWidget=0x1b89880, buttonDown=0x3cdac8b958, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#39 QApplicationPrivate::sendMouseEvent (receiver=0x2f23db0, event=0x7fff340f2760, alienWidget=0x2f23db0, nativeWidget=0x1b89880, buttonDown=0x3cdac8b958, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#40 0x0000003cda236868 in QETWidget::translateMouseEvent (this=0x1b89880, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#41 0x0000003cda234f49 in QApplication::x11ProcessEvent (this=0x1461b10, event=0x7fff340f30b0) at kernel/qapplication_x11.cpp:3564
#42 0x0000003cda25c896 in x11EventSourceDispatch (s=0x1465a30, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#43 0x000000340a441e33 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#44 0x000000340a442610 in ?? () from /lib64/libglib-2.0.so.0
#45 0x000000340a4428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#46 0x0000003cd89868bf in QEventDispatcherGlib::processEvents (this=0x1442430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#47 0x0000003cda25c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x0000003cd895ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x0000003cd895ad8c in QEventLoop::exec (this=0x7fff340f33c0, flags=...) at kernel/qeventloop.cpp:201
#50 0x0000003cd895f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#51 0x0000000000453ede in main (argc=2, argv=0x7fff340f3f98) at /usr/src/debug/kmymoney-4.5.2/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 Thomas Baumgart 2011-03-15 14:38:18 UTC
I am unable to duplicate the problem using neither 4.5.3 nor trunk. Can you please try if upgrading to 4.5.3 solves the problem and report back?
Comment 2 Cristian OneČ› 2011-05-20 18:45:01 UTC

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