Bug 285721 - App crashes when opening a monthly budget report
Summary: App crashes when opening a monthly budget report
Status: RESOLVED DUPLICATE of bug 290487
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 01:48 UTC by Kenneth Skertchly
Modified: 2012-01-19 18:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
anon file (569.91 KB, text/xml)
2012-01-14 13:11 UTC, Dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Skertchly 2011-11-04 01:48:38 UTC
Application: kmymoney (4.5.3)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-12-generic-pae i686
Distribution: Ubuntu 11.04

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

1. Open Reporting module
2. Open Monthly budget
3. The application crashes

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Aborted
[Current thread is 1 (Thread 0xb4256930 (LWP 7636))]

Thread 2 (Thread 0xb3e0eb70 (LWP 7637)):
#0  0xb776d424 in __kernel_vsyscall ()
#1  0xb549af76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4b0784b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4af71af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4af792b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb3f4b304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb4b202df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb6931e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb54a973e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4256930 (LWP 7636)):
[KCrash Handler]
#7  0xb776d424 in __kernel_vsyscall ()
#8  0xb5403e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb540734e in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb562a0b5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb5627fa5 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb5627fe2 in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb562814e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0x0844da2b in MyMoneySeqAccessMgr::account (this=0x9af98f8, id=...) at /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:132
#15 0xb7728645 in MyMoneyObjectContainer::account (this=0x9853ca8, id=...) at /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/mymoneyobjectcontainer.cpp:126
#16 0xb76eaa6a in MyMoneyFile::account (this=0xb775556c, id=...) at /build/buildd/kmymoney-4.5.3/kmymoney/mymoney/mymoneyfile.cpp:380
#17 0x0818f84c in reports::ReportAccount::ReportAccount (this=0xbf8ffd90, accountid=...) at /build/buildd/kmymoney-4.5.3/kmymoney/reports/reportaccount.cpp:58
#18 0x081a48e2 in reports::PivotTable::calculateBudgetMapping (this=0xa27dc50) at /build/buildd/kmymoney-4.5.3/kmymoney/reports/pivottable.cpp:863
#19 0x081aa9d3 in reports::PivotTable::init (this=0xa27dc50) at /build/buildd/kmymoney-4.5.3/kmymoney/reports/pivottable.cpp:169
#20 0x081ab3cb in reports::PivotTable::PivotTable (this=0xa27dc50, _config_f=...) at /build/buildd/kmymoney-4.5.3/kmymoney/reports/pivottable.cpp:94
#21 0x081123b5 in KReportsView::KReportTab::updateReport (this=0xa21da38) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kreportsview.cpp:180
#22 0x081124d2 in KReportsView::KReportTab::showEvent (this=0xa21da38, event=0xbf9009e0) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kreportsview.cpp:158
#23 0xb57ee262 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb5795d24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb579a97b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb6cc032a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb62b40bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb57f23b6 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#29 0xb57f271b in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#30 0xb57d0242 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#31 0xb5c46fed in QStackedWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#32 0xb5c5636f in ?? () from /usr/lib/libQtGui.so.4
#33 0xb5c566b2 in QTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#34 0xb6dc201a in KTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#35 0xb62ba6ba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#36 0xb62ca4ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#37 0xb5c4a453 in QTabBar::currentChanged(int) () from /usr/lib/libQtGui.so.4
#38 0xb5c4e021 in QTabBar::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#39 0xb5c53b1d in QTabWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#40 0x0811198f in KReportsView::addReportTab (this=0x9c6cab8, report=...) at /build/buildd/kmymoney-4.5.3/kmymoney/views/kreportsview.cpp:1066
#41 0x0811b604 in KReportsView::qt_metacall (this=0x9c6cab8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf900e24) at /build/buildd/kmymoney-4.5.3/obj-i686-linux-gnu/kmymoney/views/kreportsview.moc:119
#42 0xb62ba6ba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#43 0xb62ca4ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0xb5d8b779 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem*, int) () from /usr/lib/libQtGui.so.4
#45 0xb5d8b7ed in ?? () from /usr/lib/libQtGui.so.4
#46 0xb5d9484e in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#47 0xb62ba6ba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#48 0xb62ca4ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#49 0xb5d12de3 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#50 0xb5d5bc67 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#51 0xb57ee156 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#52 0xb5be29f3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#53 0xb5c71062 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#54 0xb5d10227 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#55 0xb5d57e83 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#56 0xb5c73965 in ?? () from /usr/lib/libQtGui.so.4
#57 0xb62b425a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#58 0xb5795d00 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#59 0xb579b201 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#60 0xb6cc032a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#61 0xb62b40bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#62 0xb5796c3b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#63 0xb582204c in ?? () from /usr/lib/libQtGui.so.4
#64 0xb58209b5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#65 0xb584c5f4 in ?? () from /usr/lib/libQtGui.so.4
#66 0xb4af6aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#67 0xb4af7270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#68 0xb4af7524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#69 0xb62e153c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#70 0xb584c1e5 in ?? () from /usr/lib/libQtGui.so.4
#71 0xb62b3289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#72 0xb62b3522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#73 0xb62b7ecc in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#74 0xb57938e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#75 0x08086c4f in main (argc=) at /build/buildd/kmymoney-4.5.3/kmymoney/main.cpp:260

This bug may be a duplicate of or related to bug 262163.

Possible duplicates by query: bug 283149, bug 275904, bug 262163.

Reported using DrKonqi
Comment 1 Thomas Baumgart 2011-11-05 07:15:43 UTC
Does the "Tools/Consistency check" feature identify any problem? From the stack trace it looks like KMyMoney tries to reference a non existing account.
Comment 2 Dave 2011-11-26 18:35:58 UTC
I also reported this bug under previous version.
I was told it had been fixed, so just spent 4 hours trying to rebuild 4.6.1.
Turns out the bug is still there?

Is it supposed to have been fixed?

thanks
Comment 3 Alvaro Soliverez 2011-11-26 18:57:38 UTC
Please provide an anonymized file.
Comment 4 Dave 2011-11-27 13:20:16 UTC
sorry for maybe being dumb, but what kind of file and what kind of anonymization?
Comment 5 Alvaro Soliverez 2011-11-27 14:01:36 UTC
Go to Save As... In file type, select Anonymous file.
Make sure the file extension is .anon.xml

That will get your file, scramble all numbers, strip off any personal data and save the rest, which will give us a test file to check your bug.
Comment 6 Thomas Baumgart 2011-11-27 14:20:35 UTC
See http://kmymoney2.sourceforge.net/kde4/online-manual/details.formats.anonymous.html for more details on what Alvaro described.
Comment 7 Dave 2012-01-14 13:11:50 UTC
Created attachment 67817 [details]
anon file

hope this is what you are after
Comment 8 Cristian Oneț 2012-01-15 08:20:01 UTC
Fix will be available in 4.6.2.

*** This bug has been marked as a duplicate of bug 290487 ***
Comment 9 Dave 2012-01-19 18:38:12 UTC
thanks