Bug 262163 - KMyMoney crashes when opening existing reports
Summary: KMyMoney crashes when opening existing reports
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-05 10:22 UTC by janstart
Modified: 2011-06-04 17:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description janstart 2011-01-05 10:22:51 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-24-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
1  no more sorting on payees on new rapports

2 when i try to open existing rapports (they still exist after update KMYMONEY)
the program crashes.

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

Thread 2 (Thread 0xb3ed9b70 (LWP 2881)):
#0  0xb777c424 in __kernel_vsyscall ()
#1  0xb53e1df6 in poll () from /lib/libc.so.6
#2  0xb4a27a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb4a1a43c in ?? () from /lib/libglib-2.0.so.0
#4  0xb4a1aba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb3fee6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb4a4148f in ?? () from /lib/libglib-2.0.so.0
#7  0xb6905cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb53f069e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4317710 (LWP 2880)):
[KCrash Handler]
#7  0xb777c424 in __kernel_vsyscall ()
#8  0xb534a941 in raise () from /lib/libc.so.6
#9  0xb534de42 in abort () from /lib/libc.so.6
#10 0xb556d055 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#11 0xb556af35 in ?? () from /usr/lib/libstdc++.so.6
#12 0xb556af72 in std::terminate() () from /usr/lib/libstdc++.so.6
#13 0xb556b0e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#14 0x084f121e in MyMoneySeqAccessMgr::account (this=0x8be0260, id=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:147
#15 0xb77388b9 in MyMoneyObjectContainer::account (this=0x895f2b8, id=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneyobjectcontainer.cpp:126
#16 0xb76f572a in MyMoneyFile::account (this=0xb776554c, id=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneyfile.cpp:362
#17 0x081ecf20 in reports::ListTable::includeInvestmentSubAccounts (this=0x9408a28) at /build/buildd/kmymoney-4.5/kmymoney/reports/listtable.cpp:626
#18 0x081d8662 in reports::QueryTable::constructTransactionTable (this=0x9408a28) at /build/buildd/kmymoney-4.5/kmymoney/reports/querytable.cpp:384
#19 0x081e91a3 in reports::QueryTable::init (this=0x9408a28) at /build/buildd/kmymoney-4.5/kmymoney/reports/querytable.cpp:265
#20 0x081ea169 in reports::QueryTable::QueryTable (this=0x9408a28, _report=...) at /build/buildd/kmymoney-4.5/kmymoney/reports/querytable.cpp:250
#21 0x08123ad5 in KReportsView::KReportTab::updateReport (this=0x9486228) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:182
#22 0x08123c12 in KReportsView::KReportTab::showEvent (this=0x9486228, event=0xbfd302e0) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:158
#23 0xb5ccdc72 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb5c6ffdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb5c760e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb6c9668a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb5789b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb5cd2655 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#29 0xb5cd3e9b in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#30 0xb5cb59e2 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#31 0xb615dbcd in QStackedWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#32 0xb616d94f in ?? () from /usr/lib/libQtGui.so.4
#33 0xb616dc62 in QTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#34 0xb6db5fba in KTabWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#35 0xb578f8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#36 0xb57a26ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#37 0xb6160a83 in QTabBar::currentChanged(int) () from /usr/lib/libQtGui.so.4
#38 0xb6165fff in QTabBar::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#39 0xb616bdcd in QTabWidget::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#40 0x08122dbf in KReportsView::addReportTab (this=0x8e7a8b8, report=...) at /build/buildd/kmymoney-4.5/kmymoney/views/kreportsview.cpp:1065
#41 0x08130b94 in KReportsView::qt_metacall (this=0x8e7a8b8, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfd30754) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/views/kreportsview.moc:119
#42 0xb578f8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#43 0xb57a26ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0xb62c04c9 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem*, int) () from /usr/lib/libQtGui.so.4
#45 0xb62c2042 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb62c84a1 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#47 0xb578f8ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#48 0xb57a26ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#49 0xb62380e3 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#50 0xb628fc0f in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#51 0xb5ccdc8e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#52 0xb60ef763 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#53 0xb618ca82 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#54 0xb62490f7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#55 0xb628b883 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#56 0xb618f4d5 in ?? () from /usr/lib/libQtGui.so.4
#57 0xb578929a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#58 0xb5c6ffb9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#59 0xb5c76c2e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#60 0xb6c9668a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#61 0xb5789b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#62 0xb5c75094 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#63 0xb5d03d10 in ?? () from /usr/lib/libQtGui.so.4
#64 0xb5d03151 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#65 0xb5d3236a in ?? () from /usr/lib/libQtGui.so.4
#66 0xb4a16855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#67 0xb4a1a668 in ?? () from /lib/libglib-2.0.so.0
#68 0xb4a1a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#69 0xb57b8565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#70 0xb5d31be5 in ?? () from /usr/lib/libQtGui.so.4
#71 0xb5788609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#72 0xb5788a8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#73 0xb578d00f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#74 0xb5c6ee07 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#75 0x08086107 in main (argc=1, argv=0xbfd31ee4) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 Thomas Baumgart 2011-01-08 09:09:53 UTC
The following frames of your BT give the impression, that your account hierarchy contains some problems:

#13 0xb556b0e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#14 0x084f121e in MyMoneySeqAccessMgr::account (this=0x8be0260, id=...) at
/build/buildd/kmymoney-4.5/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:147

The exception is thrown if you try to get information for an unknown account.

Try to run "Tools/Consistency Check" after opening the file and see if that solves the issue.
Comment 2 Cristian Oneț 2011-05-20 22:37:32 UTC
Did the consistency check solved this issue?
Comment 3 Thomas Baumgart 2011-05-27 17:20:16 UTC
Any news? If not, I will close the entry.