Bug 454477

Summary: Crash after updating account via aqbanking
Product: [Applications] kmymoney Reporter: kdebugs
Component: onlinebankingAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdebugs
Priority: NOR    
Version: 5.1.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kdebugs 2022-05-27 10:30:23 UTC
SUMMARY
***
KMyMoney now crashes after updating one/many accounts via aqbanking while the same procedure has worked for me before. First thought this is because I was pulling a longer time frame (~2 months) but the result stays the same when I reduce the time frame to a few days.
***


STEPS TO REPRODUCE
1. Open KMyMoney
2. Select account (configured with aqbanking/hbci) to update or select "Update all accounts"
3. Type in password as prompted, wait for aqbanking to finish communication
4. Select "Close" after aqbanking transaction finished successfully 

OBSERVED RESULT
KMyMoney crashes

EXPECTED RESULT
KMyMoney should import the transactions obtained by aqbanking

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel: 5.17.9-arch1-1
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Last time this worked for me was 20.04.2022, so I think there were two updates in the archlinux packages since then. Could be something with those updates?

CRASH LOG:
Application: KMyMoney (kmymoney), signal: Aborted

[KCrash Handler]
#4  0x00007fa104a9f36c in  () at /usr/lib/libc.so.6
#5  0x00007fa104a4f838 in raise () at /usr/lib/libc.so.6
#6  0x00007fa104a39535 in abort () at /usr/lib/libc.so.6
#7  0x00007fa104a9345e in  () at /usr/lib/libc.so.6
#8  0x00007fa104aa90cc in  () at /usr/lib/libc.so.6
#9  0x00007fa104aab04a in  () at /usr/lib/libc.so.6
#10 0x00007fa104aad8f3 in free () at /usr/lib/libc.so.6
#11 0x00007fa106ee6d88 in MyMoneyTransaction::~MyMoneyTransaction() () at /usr/lib/libkmm_mymoney.so.5
#12 0x00007fa106ee9143 in  () at /usr/lib/libkmm_mymoney.so.5
#13 0x00007fa106f27001 in MyMoneyStorageMgr::addTransaction(MyMoneyTransaction&, bool) () at /usr/lib/libkmm_mymoney.so.5
#14 0x00007fa106ec622f in MyMoneyFile::addTransaction(MyMoneyTransaction&) () at /usr/lib/libkmm_mymoney.so.5
#15 0x000055ea26c29dd3 in  ()
#16 0x000055ea26c26810 in  ()
#17 0x000055ea26c27291 in  ()
#18 0x000055ea26c38256 in  ()
#19 0x00007fa0b82f9454 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#20 0x00007fa0b82f63d4 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#21 0x00007fa0b82fa456 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#22 0x00007fa0b82f4063 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#23 0x000055ea26a9995a in  ()
#24 0x000055ea26a9d727 in  ()
#25 0x00007fa105313791 in  () at /usr/lib/libQt5Core.so.5
#26 0x00007fa105dc9e07 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007fa105dcf817 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007fa105f519db in  () at /usr/lib/libQt5Widgets.so.5
#29 0x00007fa105f51afd in  () at /usr/lib/libQt5Widgets.so.5
#30 0x00007fa105e0d677 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007fa105dd6a7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007fa105ddc289 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007fa1052e2ff8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#34 0x00007fa105dda287 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007fa105e2b824 in  () at /usr/lib/libQt5Widgets.so.5
#36 0x00007fa105e2d0ee in  () at /usr/lib/libQt5Widgets.so.5
#37 0x00007fa105dd6a7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007fa1052e2ff8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#39 0x00007fa105736fdc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#40 0x00007fa105720945 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#41 0x00007fa0e92c1df0 in  () at /usr/lib/libQt5XcbQpa.so.5
#42 0x00007fa0fad3c163 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#43 0x00007fa0fad929e9 in  () at /usr/lib/libglib-2.0.so.0
#44 0x00007fa0fad396c5 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#45 0x00007fa10532d7bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#46 0x00007fa1052db79c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#47 0x00007fa1052e62a9 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#48 0x000055ea26a67c8d in  ()
#49 0x00007fa104a3a290 in  () at /usr/lib/libc.so.6
#50 0x00007fa104a3a34a in __libc_start_main () at /usr/lib/libc.so.6
#51 0x000055ea26a69765 in  ()
[Inferior 1 (process 8131) detached]
Comment 1 Thomas Baumgart 2022-05-28 08:56:03 UTC

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