Bug 349920 - KMyMoney crashes when connecting to DKB Bank Berlin; AqBanking related?
Summary: KMyMoney crashes when connecting to DKB Bank Berlin; AqBanking related?
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: 4.6.6
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-05 09:01 UTC by daniel
Modified: 2021-01-16 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daniel 2015-07-05 09:01:40 UTC
Application: kmymoney (4.6.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-21-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
I tried to connect to DKB Bank via aqbanking and this seems to provoke the crash. Up until ~3 months ago I did not have any issues. I assume some mechanism in the communication interface has changed which now provokes a crash.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f9bc17e3700 (LWP 5838)):
#0  0x00007f9bd591f8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9bd13edebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9bd13ee242 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9bc8eafaf6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f9bd1414955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9bd86ae6aa in start_thread (arg=0x7f9bc17e3700) at pthread_create.c:333
#6  0x00007f9bd592aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9bbbfff700 (LWP 5839)):
#0  0x00007f9bd591f8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9bd13edebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9bd13edfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9bd13ee009 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9bd1414955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9bd86ae6aa in start_thread (arg=0x7f9bbbfff700) at pthread_create.c:333
#6  0x00007f9bd592aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9bdb3e4800 (LWP 5837)):
[KCrash Handler]
#6  0x00007f9bd5859267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f9bd585aeca in __GI_abort () at abort.c:89
#8  0x00007f9bd585203d in __assert_fail_base (fmt=0x7f9bd59b4028 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f9ba5fad102 "dlg->usage", file=file@entry=0x7f9ba5fad0de "dialog.c", line=line@entry=95, function=function@entry=0x7f9ba5fada15 <__PRETTY_FUNCTION__.14240> "AH_Dialog_free") at assert.c:92
#9  0x00007f9bd58520f2 in __GI___assert_fail (assertion=assertion@entry=0x7f9ba5fad102 "dlg->usage", file=file@entry=0x7f9ba5fad0de "dialog.c", line=line@entry=95, function=function@entry=0x7f9ba5fada15 <__PRETTY_FUNCTION__.14240> "AH_Dialog_free") at assert.c:101
#10 0x00007f9ba5f30d6b in AH_Dialog_free (dlg=dlg@entry=0x53e5780) at dialog.c:95
#11 0x00007f9ba5f81d09 in AH_Outbox__CBox_PerformNonDialogQueues (jql=0x1014620, cbox=0x4b450b0) at outbox.c:1205
#12 AH_Outbox__CBox_SendAndRecvSelected (cbox=cbox@entry=0x4b450b0, jqflags=jqflags@entry=3, jqmask=7) at outbox.c:1386
#13 0x00007f9ba5f862d5 in AH_Outbox__CBox_SendAndRecvBox (cbox=0x4b450b0) at outbox.c:1448
#14 AH_Outbox_SendAndRecv (ob=<optimized out>) at outbox.c:1837
#15 AH_Outbox__Execute (ob=0x4af1980) at outbox.c:2061
#16 AH_Outbox_Execute (ob=ob@entry=0x4af1980, ctx=ctx@entry=0x4a0f970, withProgress=withProgress@entry=1, nounmount=nounmount@entry=0, doLock=doLock@entry=1) at outbox.c:2126
#17 0x00007f9ba5f93222 in AH_Provider_GetAccountSepaInfo (pro=<optimized out>, al=al@entry=0x4b43e60, ctx=ctx@entry=0x4a0f970, withProgress=withProgress@entry=1, nounmount=nounmount@entry=0, doLock=doLock@entry=1) at provider.c:4226
#18 0x00007f9ba5fac0f3 in AH_EditAccountDialog_HandleActivatedSepa (dlg=dlg@entry=0x49c3150) at dlg_editaccount.c:959
#19 0x00007f9ba5fac38e in AH_EditAccountDialog_HandleActivated (dlg=dlg@entry=0x49c3150, sender=sender@entry=0x489d030 "getSepaButton") at dlg_editaccount.c:1005
#20 0x00007f9ba5fac44b in AH_EditAccountDialog_SignalHandler (dlg=0x49c3150, t=GWEN_DialogEvent_TypeActivated, sender=0x489d030 "getSepaButton") at dlg_editaccount.c:1042
#21 0x00007f9ba784962d in GWEN_Dialog_EmitSignal (dlg=0x16cd, t=5837, sender=0x6 <error: Cannot access memory at address 0x6>) at dialog.c:265
#22 0x00007f9ba7cbe9b2 in QT4_DialogBox::slotActivated (this=0x499d2d0) at qt4dialogbox.cpp:118
#23 0x00007f9bd752e1ec in QMetaObject::activate (sender=sender@entry=0x4b89140, m=m@entry=0x7f9bd70ff8e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd0c1849e0) at kernel/qobject.cpp:3567
#24 0x00007f9bd6c7c332 in QAbstractButton::clicked (this=this@entry=0x4b89140, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#25 0x00007f9bd69b9573 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x49ed2d0) at widgets/qabstractbutton.cpp:548
#26 0x00007f9bd69ba924 in QAbstractButtonPrivate::click (this=this@entry=0x49ed2d0) at widgets/qabstractbutton.cpp:541
#27 0x00007f9bd69baa34 in QAbstractButton::mouseReleaseEvent (this=0x4b89140, e=0x7ffd0c184f40) at widgets/qabstractbutton.cpp:1123
#28 0x00007f9bd6636dc8 in QWidget::event (this=0x4b89140, event=0x7ffd0c184f40) at kernel/qwidget.cpp:8775
#29 0x00007f9bd65e39bc in QApplicationPrivate::notify_helper (this=this@entry=0xcc4110, receiver=receiver@entry=0x4b89140, e=e@entry=0x7ffd0c184f40) at kernel/qapplication.cpp:4570
#30 0x00007f9bd65ea63f in QApplication::notify (this=<optimized out>, receiver=0x4b89140, e=0x7ffd0c184f40) at kernel/qapplication.cpp:4113
#31 0x00007f9bd98ebb4a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00007f9bd75191cd in QCoreApplication::notifyInternal (this=0xcb6700, receiver=receiver@entry=0x4b89140, event=event@entry=0x7ffd0c184f40) at kernel/qcoreapplication.cpp:955
#33 0x00007f9bd65e9c9f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x4b89140, event=event@entry=0x7ffd0c184f40, alienWidget=alienWidget@entry=0x4b89140, nativeWidget=nativeWidget@entry=0x499d2d0, buttonDown=buttonDown@entry=0x7f9bd7111578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#35 0x00007f9bd66639a2 in QETWidget::translateMouseEvent (this=this@entry=0x499d2d0, event=event@entry=0x7ffd0c1852a0) at kernel/qapplication_x11.cpp:4632
#36 0x00007f9bd666324c in QApplication::x11ProcessEvent (this=0xcb6700, event=event@entry=0x7ffd0c1852a0) at kernel/qapplication_x11.cpp:3626
#37 0x00007f9bd668bba2 in x11EventSourceDispatch (s=0xcc4b80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f9bd13edc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f9bd13edf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f9bd13edfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f9bd754885e in QEventDispatcherGlib::processEvents (this=0xc95390, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#42 0x00007f9bd668bc66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f9bd7517d21 in QEventLoop::processEvents (this=this@entry=0x7ffd0c185690, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f9bd7518085 in QEventLoop::exec (this=this@entry=0x7ffd0c185690, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f9bd6abdd9c in QDialog::exec (this=0x499d2d0) at dialogs/qdialog.cpp:562
#46 0x00007f9ba7cc000d in QT4_GuiDialog::execute (this=this@entry=0x7ffd0c185820) at qt4_gui_dialog.cpp:122
#47 0x00007f9ba7cbfe23 in QT4_Gui::execDialog (this=<optimized out>, dlg=<optimized out>, guiid=<optimized out>) at qt4_gui.cpp:145
#48 0x00007f9ba755e352 in AB_SetupDialog_EditAccount (dlg=dlg@entry=0x11faf60) at dlg_setup.c:872
#49 0x00007f9ba755ed58 in AB_SetupDialog_HandleActivated (dlg=0x11faf60, sender=0x29454d0 "editAccountButton") at dlg_setup.c:1059
#50 0x00007f9ba784962d in GWEN_Dialog_EmitSignal (dlg=0x16cd, t=5837, sender=0x6 <error: Cannot access memory at address 0x6>) at dialog.c:265
#51 0x00007f9ba7cbe9b2 in QT4_DialogBox::slotActivated (this=0x16edc40) at qt4dialogbox.cpp:118
#52 0x00007f9bd752e1ec in QMetaObject::activate (sender=sender@entry=0x43dc140, m=m@entry=0x7f9bd70ff8e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd0c185e80) at kernel/qobject.cpp:3567
#53 0x00007f9bd6c7c332 in QAbstractButton::clicked (this=this@entry=0x43dc140, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#54 0x00007f9bd69b9573 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x458d000) at widgets/qabstractbutton.cpp:548
#55 0x00007f9bd69ba924 in QAbstractButtonPrivate::click (this=this@entry=0x458d000) at widgets/qabstractbutton.cpp:541
#56 0x00007f9bd69baa34 in QAbstractButton::mouseReleaseEvent (this=0x43dc140, e=0x7ffd0c1863e0) at widgets/qabstractbutton.cpp:1123
#57 0x00007f9bd6636dc8 in QWidget::event (this=0x43dc140, event=0x7ffd0c1863e0) at kernel/qwidget.cpp:8775
#58 0x00007f9bd65e39bc in QApplicationPrivate::notify_helper (this=this@entry=0xcc4110, receiver=receiver@entry=0x43dc140, e=e@entry=0x7ffd0c1863e0) at kernel/qapplication.cpp:4570
#59 0x00007f9bd65ea63f in QApplication::notify (this=<optimized out>, receiver=0x43dc140, e=0x7ffd0c1863e0) at kernel/qapplication.cpp:4113
#60 0x00007f9bd98ebb4a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#61 0x00007f9bd75191cd in QCoreApplication::notifyInternal (this=0xcb6700, receiver=receiver@entry=0x43dc140, event=event@entry=0x7ffd0c1863e0) at kernel/qcoreapplication.cpp:955
#62 0x00007f9bd65e9c9f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#63 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x43dc140, event=event@entry=0x7ffd0c1863e0, alienWidget=alienWidget@entry=0x43dc140, nativeWidget=nativeWidget@entry=0x16edc40, buttonDown=buttonDown@entry=0x7f9bd7111578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#64 0x00007f9bd66639a2 in QETWidget::translateMouseEvent (this=this@entry=0x16edc40, event=event@entry=0x7ffd0c186740) at kernel/qapplication_x11.cpp:4632
#65 0x00007f9bd666324c in QApplication::x11ProcessEvent (this=0xcb6700, event=event@entry=0x7ffd0c186740) at kernel/qapplication_x11.cpp:3626
#66 0x00007f9bd668bba2 in x11EventSourceDispatch (s=0xcc4b80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007f9bd13edc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f9bd13edf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007f9bd13edfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007f9bd754885e in QEventDispatcherGlib::processEvents (this=0xc95390, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#71 0x00007f9bd668bc66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007f9bd7517d21 in QEventLoop::processEvents (this=this@entry=0x7ffd0c186b30, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007f9bd7518085 in QEventLoop::exec (this=this@entry=0x7ffd0c186b30, flags=...) at kernel/qeventloop.cpp:204
#74 0x00007f9bd6abdd9c in QDialog::exec (this=0x16edc40) at dialogs/qdialog.cpp:562
#75 0x00007f9ba7cc000d in QT4_GuiDialog::execute (this=this@entry=0x7ffd0c186cc0) at qt4_gui_dialog.cpp:122
#76 0x00007f9ba7cbfe23 in QT4_Gui::execDialog (this=<optimized out>, dlg=<optimized out>, guiid=<optimized out>) at qt4_gui.cpp:145
#77 0x00007f9ba7ee2cab in KBankingPlugin::slotSettings (this=<optimized out>) at /build/buildd/kmymoney-4.6.6/kmymoney/plugins/kbanking/mymoneybanking.cpp:284
#78 0x00007f9bd752e1ec in QMetaObject::activate (sender=sender@entry=0x1870770, m=m@entry=0x7f9bd70d8540 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd0c186f70) at kernel/qobject.cpp:3567
#79 0x00007f9bd65dcfd2 in QAction::triggered (this=this@entry=0x1870770, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#80 0x00007f9bd65deb57 in QAction::activate (this=0x1870770, event=<optimized out>) at kernel/qaction.cpp:1257
#81 0x00007f9bd75328e1 in QObject::event (this=0x1870770, e=<optimized out>) at kernel/qobject.cpp:1222
#82 0x00007f9bd65df022 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1187
#83 0x00007f9bd9807fa2 in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#84 0x00007f9bd65e39bc in QApplicationPrivate::notify_helper (this=this@entry=0xcc4110, receiver=receiver@entry=0x1870770, e=e@entry=0x18687b0) at kernel/qapplication.cpp:4570
#85 0x00007f9bd65ea4d8 in QApplication::notify (this=0xcb6700, receiver=0x1870770, e=0x18687b0) at kernel/qapplication.cpp:4356
#86 0x00007f9bd98ebb4a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#87 0x00007f9bd75191cd in QCoreApplication::notifyInternal (this=0xcb6700, receiver=receiver@entry=0x1870770, event=event@entry=0x18687b0) at kernel/qcoreapplication.cpp:955
#88 0x00007f9bd751ca71 in sendEvent (event=0x18687b0, receiver=0x1870770) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#89 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xc93ef0) at kernel/qcoreapplication.cpp:1579
#90 0x00007f9bd751cf03 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#91 0x00007f9bd75486ee in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#92 postEventSourceDispatch (s=0xcbfd70) at kernel/qeventdispatcher_glib.cpp:300
#93 0x00007f9bd13edc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#94 0x00007f9bd13edf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#95 0x00007f9bd13edfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#96 0x00007f9bd754885e in QEventDispatcherGlib::processEvents (this=0xc95390, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#97 0x00007f9bd668bc66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#98 0x00007f9bd7517d21 in QEventLoop::processEvents (this=this@entry=0x7ffd0c187690, flags=...) at kernel/qeventloop.cpp:149
#99 0x00007f9bd7518085 in QEventLoop::exec (this=this@entry=0x7ffd0c187690, flags=...) at kernel/qeventloop.cpp:204
#100 0x00007f9bd751db09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#101 0x00007f9bd65e1c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#102 0x00000000004578c6 in runKMyMoney (splash=splash@entry=0xf42920, a=0xcb6700) at /build/buildd/kmymoney-4.6.6/kmymoney/main.cpp:282
#103 0x00000000004561c9 in main (argc=1, argv=0x7ffd0c1880f8) at /build/buildd/kmymoney-4.6.6/kmymoney/main.cpp:181

Possible duplicates by query: bug 341348, bug 335915.

Reported using DrKonqi
Comment 1 Thomas Baumgart 2015-07-06 07:00:41 UTC
Did you upgrade AqBanking packages in between? Please try to upgrade KMyMoney as well. Current stable is 4.7.2 which should also be available as package for your distro.

Yes, it is certainly AqBanking related (which does not mean that the cause is in AqBanking itself).
Comment 2 daniel 2015-07-06 08:42:42 UTC
I have checked my bank account and was notified that the bank actually blocks access to it. I had similar experience before with them as they are quite aggressive with blocking accounts with "suspicious" behavior. I will get new account details soon - so this explains that access is blocked and therefore I assume the login problems are not related to KMyMoney or AqBanking. 

What I however do not understand is why the wrong login details can provoke the whole application to break. I assume there should be a notice about probably wrong credentials rather than a stall. Maybe someone finds the time to look into this

Kind regards and thanks for the efforts on working on this application
Comment 3 Thomas Baumgart 2015-07-10 12:41:45 UTC
What I have found out is that the underrun of a counter throws an assertion in AqBanking code. I have no idea why that is, but have forwarded this entry to its author. Let's see what he comes up with.
Comment 4 Justin Zobel 2020-12-17 05:30:01 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 5 Bug Janitor Service 2021-01-01 04:35:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2021-01-16 04:34:30 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!