Bug 497174 - configure aqbanking w/o customerID crashes KMyMoney
Summary: configure aqbanking w/o customerID crashes KMyMoney
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: 5.1.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-07 18:59 UTC by Heiko Zinke
Modified: 2024-12-09 17:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
crash file (20.18 KB, text/vnd.kde.kcrash-report)
2024-12-07 18:59 UTC, Heiko Zinke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Zinke 2024-12-07 18:59:07 UTC
Created attachment 176423 [details]
crash file

SUMMARY
Configure aqbanking without a customerID crashes KMyMoney. It's most likely an aqbanking bug (AH_User_SetSelectedTanMethod: Assertion `u' failed).
But KMyMoney should not crash. 

STEPS TO REPRODUCE
1. have a vanilla KMyMoney installation, no ~/.aqbanking folder
2. click settings -> configure aqbanking -> create user
3. select hbci aqbanking
4. setup pin/tan
5. fill in a valid bank code (12030000), bank name (DKB), server url (https://fints.dkb.de/fints)
6. fill in a valid user name and user id, keep customer id blank!
7. accept certificate
8. fill in a valid pin
9. select a tan method (e.g. chiptan)

OBSERVED RESULT
KMyMoney crashes

[17180:6:1207/195019.351202:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
7:2024-12-07 19:50:22:aqhbci started
7:2024-12-07 19:50:22:aqpaypal started
3:2024-12-07 19:50:24:gwenhywfar pathmanager.c:   85: Path "aqhbci/xmldatadir" already exists
7:2024-12-07 19:50:24:aqhbci stopped
3:2024-12-07 19:50:24:gwenhywfar dialog.c:  723: Widget [hbciInitChipcardRadio] not found
3:2024-12-07 19:51:20: cppgui.cpp:  141: CppGuiLinker::OpenDialog
4:2024-12-07 19:51:20:gwenhywfar syncio_tls.c:  137: No checkCertFn set, using GWEN_GUI
kmymoney: user.c:1854: AH_User_SetSelectedTanMethod: Assertion `u' failed.
KCrash: Application 'kmymoney' crashing...
KCrash: Attempting to start /usr/lib/drkonqi

EXPECTED RESULT
KMyMoney should give me a reasonable error message if something in the backend fails. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
aqbanking-config --vstring
6.5.12

gwenhywfar-config --vstring
5.11.2