[Kmymoney-devel] [Bug 271914] Crash in Reports - Investment

allan agander93 at gmail.com
Thu May 5 23:25:55 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=271914





--- Comment #5 from allan <agander93 gmail com>  2011-05-05 23:25:53 ---
(In reply to comment #4)
> Allan could you please provide an anonymous file to reproduce this? The setup
> to reproduce this bug looks pretty laborious :). And having an anonymous file
> where I could go directly and reproduce the crash would make fixing this a lot
> easier. Thanks!

I've started to do that but another crash has intervened.  It's probably
related, but occurred on selecting the report, before any configuring could be
done.  I'd invented some transactions and before doing the report, I decided to
save.  The save baulked on the consistency check, objecting to the lack of
opening prices on unconnected dates.  Here's the BT in case it helps.  I'll
have another try next.

Application: KMyMoney (kmymoney), signal: Floating point exception
[KCrash Handler]
#6  0x00007f970e36617b in raise () from /lib64/libpthread.so.0
#7  0x00007f970b4b551e in __gmp_invalid_operation () from
/usr/lib64/libgmp.so.10
#8  0x00007f970b4d160f in __gmpq_set_d () from /usr/lib64/libgmp.so.10
#9  0x00007f970e9d1537 in operator= (this=0x7fff7460a9a0,
dAmount=@0x7fff7460a818, denom=10000) at /usr/include/gmpxx.h:1808
#10 AlkValue::AlkValue (this=0x7fff7460a9a0, dAmount=@0x7fff7460a818,
denom=10000) at /home/aga/libalkimia-4.3.0/alkvalue.cpp:117
#11 0x00000000005711ba in MyMoneyMoney (this=0x230e680, account=...,
result=...) at /home/aga/CSV/kmymoney/kmymoney/mymoney/mymoneymoney.h:266
#12 reports::QueryTable::constructPerformanceRow (this=0x230e680, account=...,
result=...) at /home/aga/CSV/kmymoney/kmymoney/reports/querytable.cpp:1041
#13 0x000000000057eb4b in reports::QueryTable::constructAccountTable
(this=0x230e680) at /home/aga/CSV/kmymoney/kmymoney/reports/querytable.cpp:1128
#14 0x000000000057f309 in reports::QueryTable::init (this=0x230e680) at
/home/aga/CSV/kmymoney/kmymoney/reports/querytable.cpp:262
#15 0x000000000057fe7f in reports::QueryTable::QueryTable (this=0x230e680,
_report=<value optimized out>) at
/home/aga/CSV/kmymoney/kmymoney/reports/querytable.cpp:252
#16 0x00000000004db6f9 in KReportsView::KReportTab::updateReport
(this=0x12b0060) at /home/aga/CSV/kmymoney/kmymoney/views/kreportsview.cpp:183
#17 0x00000000004db7e2 in KReportsView::KReportTab::showEvent (this=0x12b0060,
event=<value optimized out>) at
/home/aga/CSV/kmymoney/kmymoney/views/kreportsview.cpp:159
#18 0x00007f970c4247f5 in QWidget::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#19 0x00007f970c3d2d14 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#20 0x00007f970c3db22a in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#21 0x00007f970f4ce9e6 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#22 0x00007f970d27ebfc in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#23 0x00007f970c427e6f in QWidgetPrivate::show_helper() () from
/usr/lib64/libQtGui.so.4
#24 0x00007f970c42819a in QWidget::setVisible(bool) () from
/usr/lib64/libQtGui.so.4
#25 0x00007f970c408e59 in QStackedLayout::setCurrentIndex(int) () from
/usr/lib64/libQtGui.so.4
#26 0x00007f970c830323 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f970c8305e0 in QTabWidget::qt_metacall(QMetaObject::Call, int,
void**) () from /usr/lib64/libQtGui.so.4
#28 0x00007f970f56c905 in KTabWidget::qt_metacall(QMetaObject::Call, int,
void**) () from /usr/lib64/libkdeui.so.5
#29 0x00007f970d293def in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/libQtCore.so.4
#30 0x00007f970c825d6e in QTabBar::currentChanged(int) () from
/usr/lib64/libQtGui.so.4
#31 0x00000000004e1e23 in KReportsView::qt_metacall (this=0x1353560,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7460c320)
at /home/aga/CSV/kmymoney/build/kmymoney/views/kreportsview.moc:122
#32 0x00007f970d293def in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/libQtCore.so.4
#33 0x00007f970c94fa40 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem*, int)
() from /usr/lib64/libQtGui.so.4
#34 0x00007f970c957f6b in QTreeWidget::qt_metacall(QMetaObject::Call, int,
void**) () from /usr/lib64/libQtGui.so.4
#35 0x00007f970d293def in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/libQtCore.so.4
#36 0x00007f970c8db465 in QAbstractItemView::doubleClicked(QModelIndex const&)
() from /usr/lib64/libQtGui.so.4
#37 0x00007f970c9218db in QTreeView::mouseDoubleClickEvent(QMouseEvent*) ()
from /usr/lib64/libQtGui.so.4
#38 0x00007f970c424552 in QWidget::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#39 0x00007f970c7c8906 in QFrame::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#40 0x00007f970c8d8c23 in QAbstractItemView::viewportEvent(QEvent*) () from
/usr/lib64/libQtGui.so.4
#41 0x00007f970c91da85 in QTreeView::viewportEvent(QEvent*) () from
/usr/lib64/libQtGui.so.4
#42 0x00007f970d27ed87 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib64/libQtCore.so.4
#43 0x00007f970c3d2ce1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#44 0x00007f970c3dbaac in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#45 0x00007f970f4ce9e6 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#46 0x00007f970d27ebfc in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#47 0x00007f970c3d3d25 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib64/libQtGui.so.4
#48 0x00007f970c451e08 in ?? () from /usr/lib64/libQtGui.so.4
#49 0x00007f970c4504c9 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib64/libQtGui.so.4
#50 0x00007f970c4780f2 in ?? () from /usr/lib64/libQtGui.so.4
#51 0x00007f9706291bd3 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#52 0x00007f97062923b0 in ?? () from /lib64/libglib-2.0.so.0
#53 0x00007f9706292650 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#54 0x00007f970d2a991f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#55 0x00007f970c477d8e in ?? () from /usr/lib64/libQtGui.so.4
#56 0x00007f970d27e052 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#57 0x00007f970d27e265 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#58 0x00007f970d2826ab in QCoreApplication::exec() () from
/usr/lib64/libQtCore.so.4
#59 0x000000000045a37e in main (argc=1, argv=0x7fff7460ea68) at
/home/aga/CSV/kmymoney/kmymoney/main.cpp:260

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list