Bug 371055 - crash while attempting to update account / download bank transactions
Summary: crash while attempting to update account / download bank transactions
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: 4.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
: 371806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-18 01:17 UTC by bob@mroczka.com
Modified: 2020-12-18 01:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.09 KB, text/plain)
2016-12-04 16:29 UTC, Saikrishna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bob@mroczka.com 2016-10-18 01:17:01 UTC
Application: kmymoney (4.8.0)
KDE Platform Version: 4.14.22
Qt Version: 4.8.7
Operating System: Linux 4.8.0-22-generic x86_64
Distribution: Ubuntu 16.10

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

From ledger view attempting to update account crashes kmymoney.  This issue is only happening for one credit card account and it crashes every time in the same place.  After closing the dialog after authenticating with bank.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0272c0b900 (LWP 5207))]

Thread 2 (Thread 0x7f0257511700 (LWP 5209)):
#0  0x00007f02684d186d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f02684d1aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f026df5b22e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f026df2912f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f026df29495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f026de18549 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f026df091c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f026de1ae3c in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f02689ba70a in start_thread (arg=0x7f0257511700) at pthread_create.c:333
#9  0x00007f026cd700af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f0272c0b900 (LWP 5207)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xf8) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QMap<QDate, MyMoneyMoney>::QMap (other=..., this=0x7ffc453cede0) at /usr/include/qt4/QtCore/qmap.h:184
#8  MyMoneyAccount::MyMoneyAccount (this=0x7ffc453ced60) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/mymoney/mymoneyaccount.h:81
#9  0x00007f0255507991 in KMyMoneyBanking::importAccountInfo (this=0x55fff6cfa220, ai=0x55fff6a16a00) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:1437
#10 0x00007f0255511a7b in AB_Banking::importContext (this=0x55fff6cfa220, ctx=0x55fff5c3d3d0, flags=0) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/banking.cpp:199
#11 0x00007f025550a8c6 in KBankingPlugin::executeQueue (this=this@entry=0x55fff6d28070) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:571
#12 0x00007f025550a99d in KBankingPlugin::executeQueue (this=0x55fff6d28070) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:566
#13 0x00007f025550aaa8 in KBankingPlugin::updateAccount (this=<optimized out>, acc=..., moreAccounts=<optimized out>) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:559
#14 0x000055fff3783416 in KMyMoneyApp::slotAccountUpdateOnline (this=this@entry=0x55fff5657810) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/kmymoney.cpp:7576
#15 0x000055fff37cbfb5 in KMyMoneyApp::qt_static_metacall (_o=0x55fff5657810, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc453cf580) at /build/kmymoney-8ALMks/kmymoney-4.8.0/obj-x86_64-linux-gnu/kmymoney/moc_kmymoney.cpp:531
#16 0x00007f026df3ef70 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f026e931dc2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f026e933113 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f026e93366c in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007f026f5b3c12 in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007f026e93803c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007f026e93ef76 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f026f69e4ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f026df2a8ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007f026e96ef78 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f026e96f167 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007f026e94034e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f026f69e4ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f026df2a8ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f026e9e2703 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f026e9e2c12 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f026e9bad81 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f026e9e5592 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f02684d17d7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f02684d1a40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f02684d1aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f026df5b20e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007f026e9e5666 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007f026df2912f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f026df29495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f026df2f459 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x000055fff376604b in runKMyMoney (splash=<optimized out>, a=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/main.cpp:283
#43 0x000055fff37632de in main (argc=<optimized out>, argv=0x7ffc453d10a8) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/main.cpp:182

Reported using DrKonqi
Comment 1 Christian David 2016-10-30 10:32:28 UTC
Are you using HBCI/FinTS or QIF?

I think aqbanking does not support requesting credit card statements using HBCI/FinTS. So a legal work around is to unmap the credit card account from aqbanking (so no updates are done with this account anymore).

However, KMyMoney should not crash at all. From a first glance the crash seems to be in KMyMoney's core (called by the aqbanking plugin).
Comment 2 Christian David 2016-10-30 10:47:45 UTC
*** Bug 371806 has been marked as a duplicate of this bug. ***
Comment 3 bob@mroczka.com 2016-10-30 14:41:13 UTC
I am using QIF.  I attempted to unmap and map the troubled account and a download worked once but then crashed thereafter.  I also attemtped to create a new credit card account to the same bank account to see if I could at least download the transactions and then move them to my existing credit card account.  In the process of different things it is working now but everytime I click to update the account it always asks me to which account I want to assign the downloaded transactions to.  As long as I don't get a crash I happy to reselect the account everytime.
Comment 4 bob@mroczka.com 2016-10-30 15:03:36 UTC
Correction.  I could be wrong but I don't believe my bank is sending QIF behind the scenes.  I believe the format is actually OFX.
Comment 5 Thomas Baumgart 2016-10-30 16:16:55 UTC
@Christian: KMyMoney/AqBanking using HBCI/FinTS also works with CC accounts, at least for me for some years.
Comment 6 Saikrishna 2016-12-04 16:29:33 UTC
Created attachment 102619 [details]
New crash information added by DrKonqi

kmymoney (4.8.0) on KDE Platform 4.14.22 using Qt 4.8.7

- What I was doing when the application crashed:

I was updating my credit card and checking account ledgers, and after asking to match transactions, KMyMoney crashes.

-- Backtrace (Reduced):
#7  QMap<QDate, MyMoneyMoney>::QMap (other=..., this=0x7ffd0a0cd880) at /usr/include/qt4/QtCore/qmap.h:184
#8  MyMoneyAccount::MyMoneyAccount (this=0x7ffd0a0cd800) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/mymoney/mymoneyaccount.h:81
#9  0x00007fa02117b991 in KMyMoneyBanking::importAccountInfo (this=0x55836056fd00, ai=0x558361632390) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:1437
#10 0x00007fa021185a7b in AB_Banking::importContext (this=0x55836056fd00, ctx=0x558361dc2310, flags=0) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/banking.cpp:199
#11 0x00007fa02117e8c6 in KBankingPlugin::executeQueue (this=this@entry=0x55836056e7f0) at /build/kmymoney-8ALMks/kmymoney-4.8.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:571
Comment 7 Justin Zobel 2020-12-17 05:24:03 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 8 bob@mroczka.com 2020-12-18 01:37:21 UTC
Please close the ticket. I am no longer seeing this issue. Thanks.
Comment 9 Jack 2020-12-18 01:55:03 UTC
Per OP, closing as fixed by some more recent version.