This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMM hangs in report generation

Tags: None
(comma "," separated)
zebulon
Registered Member
Posts
417
Karma
2
OS

KMM hangs in report generation

Sun Nov 21, 2021 6:58 pm
I have used KMM 5 on windows 10 for several months without issues. I just moved to Kubuntu 20.04 and installed KMM 5.0.8. I had noticed that my customized report of Investment Performance by Account made the program hang at 100% of CPU usage. The default report worked. I tried changing the parameters until I found that I can replicate the problem as soon as i uncheck the option Convert values to base currency.

My kmm file has several investment accounts in 2 currencies (USD and EUR). I tried a very old much smaller kmm file with just one investment account and there I could not reproduce the issue, possibly because it was only using EUR.

I ran kmymoney under the debugger and stopped it while it was hanging. Traceback is below, though probably not all that helpful.
Code: Select all
#0  0x00007fffd99bbf78 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so
#1  0x00007fffd99d0ce9 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so
#2  0x00007fffd99d1846 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so
#3  0x00007fffd9966540 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so
#4  0x00007fffd9967596 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so
#5  0x00007ffff3e372b6 in QWidget::event(QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007ffff3df4a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff3dfe0f0 in QApplication::notify(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff2f1493a in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff3e33c17 in QWidgetPrivate::show_helper() ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff3e36d6b in QWidgetPrivate::setVisible(bool) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff3e1aca4 in QStackedLayout::setCurrentIndex(int) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff3fcb156 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff3fcd292 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff2f40300 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff3fab632 in QTabBar::currentChanged(int) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff3fafdfc in QTabBar::setCurrentIndex(int) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fffd9964702 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so
#18 0x00007fffd9964d23 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so
#19 0x00007ffff2f40458 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ffff40dabd4 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem*, int) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff40e3aab in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff2f40300 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff405b2c9 in QAbstractItemView::doubleClicked(QModelIndex const&) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff40d54ab in QTreeView::mouseDoubleClickEvent(QMouseEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff3e3786b in QWidget::event(QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff3ee4d52 in QFrame::event(QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff4069482 in QAbstractItemView::viewportEvent(QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff40d762f in QTreeView::viewportEvent(QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff2f1464b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff3df4a55 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff3dfe343 in QApplication::notify(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff2f1493a in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff3dfd457 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff3e5335d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff3e561ec in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff3df4a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff3dfe0f0 in QApplication::notify(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff2f1493a in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff37c571c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfa--Type <RET> for more, q to quit, c to continue without paging--
cePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#40 0x00007ffff37c710b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007ffff37a135b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007fffecf0132e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#43 0x00007ffff0bed17d in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ffff0bed400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ffff0bed4a3 in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff2f6c565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007ffff2f134db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007ffff2f1b246 in QCoreApplication::exec() ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x0000555555622e19 in ?? ()
#50 0x0000555555620882 in ?? ()
#51 0x00007ffff27750b3 in __libc_start_main (main=0x55555561fa20, argc=1,
    argv=0x7fffffffe018, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe008) at ../csu/libc-start.c:308
#52 0x000055555562154e in _start ()
atheist
Registered Member
Posts
109
Karma
0
OS

Re: KMM hangs in report generation

Mon Nov 22, 2021 4:22 am
I had a problem of dividing by zero in Cap Gains report that caused the program to crash. The resultant bug fix showed up in version 5.1.3 available through the appimage. Why are you using 5.08 when 5.12 is in the repository? A
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
zebulon wrote:I have used KMM 5 on windows 10 for several months without issues. I just moved to Kubuntu 20.04 and installed KMM 5.0.8. I had noticed that my customized report of Investment Performance by Account made the program hang at 100% of CPU usage. The default report worked. I tried changing the parameters until I found that I can replicate the problem as soon as i uncheck the option Convert values to base currency.

This one was fixed almost a year ago. 5.0.8 is just too old.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: KMM hangs in report generation

Mon Nov 22, 2021 2:39 pm
Upgraded to latest stable. Fixed. Thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]