Bug 345113 - KMyMoney crashes when trying to retrieve deleted account details
Summary: KMyMoney crashes when trying to retrieve deleted account details
Status: RESOLVED UPSTREAM
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 12:30 UTC by ranc0ur
Modified: 2017-11-11 23:38 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 ranc0ur 2015-03-13 12:30:11 UTC
Application: kmymoney (4.6.6)
KDE Platform Version: 4.14.1
Qt Version: 4.8.6
Operating System: Linux 3.16.0-31-generic x86_64
Distribution: Ubuntu 14.10

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  0x00007fe3f11ffe37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007fe3f1201528 in __GI_abort () at abort.c:89
#7  0x00007fe3f11f8ce6 in __assert_fail_base (fmt=0x7fe3f1348c08 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fe3dae3d0e7 "u", file=file@entry=0x7fe3dae45dd5 "user.c", line=line@entry=562, function=function@entry=0x7fe3dae46fc0 <__PRETTY_FUNCTION__.14795> "AH_User_GetCryptMode") at assert.c:92
#8  0x00007fe3f11f8d92 in __GI___assert_fail (assertion=assertion@entry=0x7fe3dae3d0e7 "u", file=file@entry=0x7fe3dae45dd5 "user.c", line=line@entry=562, function=function@entry=0x7fe3dae46fc0 <__PRETTY_FUNCTION__.14795> "AH_User_GetCryptMode") at assert.c:101
#9  0x00007fe3dade2196 in AH_User_GetCryptMode (u=<optimized out>) at user.c:562
#10 0x00007fe3dadc179d in AH_Dialog_Disconnect (dlg=dlg@entry=0x5bf6b40) at dialog.c:301
#11 0x00007fe3dae11cef in AH_Outbox__CBox_PerformNonDialogQueues (jql=0x5711130, cbox=0x582ccd0) at outbox.c:1201
#12 AH_Outbox__CBox_SendAndRecvSelected (cbox=cbox@entry=0x582ccd0, jqflags=jqflags@entry=3, jqmask=7) at outbox.c:1386
#13 0x00007fe3dae162d5 in AH_Outbox__CBox_SendAndRecvBox (cbox=0x582ccd0) at outbox.c:1448
#14 AH_Outbox_SendAndRecv (ob=<optimized out>) at outbox.c:1837
#15 AH_Outbox__Execute (ob=0x5796180) at outbox.c:2061
#16 AH_Outbox_Execute (ob=0x5796180, ctx=ctx@entry=0x578ab10, withProgress=withProgress@entry=0, nounmount=nounmount@entry=1, doLock=doLock@entry=1) at outbox.c:2126
#17 0x00007fe3dae18f93 in AH_Provider_Execute (pro=0x2973da0, ctx=0x578ab10) at provider.c:874
#18 0x00007fe3dd85faf9 in AB_Provider_Execute (pro=pro@entry=0x2973da0, ctx=ctx@entry=0x578ab10) at provider.c:382
#19 0x00007fe3dd84e18f in AB_Banking__ExecuteQueue (ctx=0x578ab10, jl=0x2ceec60, ab=0x25e52e0) at banking_online.c:112
#20 AB_Banking_ExecuteJobs (ab=0x25e52e0, jl2=0x2ceec60, ctx=0x578ab10) at banking_online.c:188
#21 0x00007fe3de208882 in KMyMoneyBanking::executeQueue (this=0x324db90, ctx=ctx@entry=0x578ab10) at /build/buildd/kmymoney-4.6.6/kmymoney/plugins/kbanking/mymoneybanking.cpp:687
#22 0x00007fe3de20f63a in KBankingPlugin::updateAccount (this=0x29742a0, acc=..., moreAccounts=<optimized out>) at /build/buildd/kmymoney-4.6.6/kmymoney/plugins/kbanking/mymoneybanking.cpp:586
#23 0x0000000000483b49 in KMyMoneyApp::slotAccountUpdateOnlineAll (this=this@entry=0x26792d0) at /build/buildd/kmymoney-4.6.6/kmymoney/kmymoney.cpp:6995
#24 0x0000000000496e0d in KMyMoneyApp::qt_static_metacall (_o=0x26792d0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff9468f2f0) at /build/buildd/kmymoney-4.6.6/obj-x86_64-linux-gnu/kmymoney/kmymoney.moc:480
#25 0x00007fe3f2e84a7a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007fe3f1f7abf2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fe3f1f7c5c3 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fe3f23b29b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007fe3f23b7059 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007fe3f50db253 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#31 0x00007fe3f1fd0ce8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fe3f23bae7b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007fe3f1f8111c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007fe3f1f879be in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007fe3f501357a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x00007fe3f2e7086d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007fe3f1f8707f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007fe3f1ffcf6d in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007fe3f1ffc477 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007fe3f2024432 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007fe3ecb80c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fe3ecb80f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fe3ecb80ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fe3f2e9e031 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007fe3f20244e6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#46 0x00007fe3f2e6f4f1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007fe3f2e6f805 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007fe3f23b9b97 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#49 0x00007fe3f23f27e2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#50 0x00007fe3f2e88e0b in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x00007fe3f1fd16b3 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#52 0x00007fe3f1f8111c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#53 0x00007fe3f1f87870 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#54 0x00007fe3f501357a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#55 0x00007fe3f2e7086d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#56 0x00007fe3f2ea04eb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#57 0x00007fe3f2e9d711 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#58 0x00007fe3ecb80c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007fe3ecb80f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007fe3ecb80ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fe3f2e9e031 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#62 0x00007fe3f20244e6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#63 0x00007fe3f2e6f4f1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#64 0x00007fe3f2e6f805 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#65 0x00007fe3f2e74f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#66 0x00000000004579b7 in runKMyMoney (splash=splash@entry=0x26072a0, a=0x24bc610) at /build/buildd/kmymoney-4.6.6/kmymoney/main.cpp:282
#67 0x00000000004562d5 in main (argc=1, argv=0x7fff946911f8) at /build/buildd/kmymoney-4.6.6/kmymoney/main.cpp:181

Reproducible: Always

Steps to Reproduce:
- What I was doing when the application crashed:

After setting up a valid online bank account with AqBanking everything works. But when the account login data gets invalid (because account was cancelled on side of the bank) KMyMoney crashes upon trying to retrieve data.

The crash can be reproduced every time.

Actual Results:  
Crash

Expected Results:  
Throw error that login was not possible.
Comment 1 Thomas Baumgart 2015-03-14 06:05:15 UTC
This looks like an AqBanking problem to me. Can you also report this upstream on aqbanking-user@lists.aqbanking.de pleae? You can post your message in German there, if you want. Please feel free to refer to this entry here.

Do you see something printed on the screen if you start KMyMoney from a terminal? Can you attach it to this bug here?
Comment 2 wojnilowicz 2017-08-27 05:02:49 UTC
(In reply to Thomas Baumgart from comment #1)
> This looks like an AqBanking problem to me[...]