Bug 455072 - Crash after HCBI import has finished
Summary: Crash after HCBI import has finished
Status: RESOLVED DUPLICATE of bug 453896
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: 5.1.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-09 07:49 UTC by delf.tonder
Modified: 2022-06-09 10:40 UTC (History)
0 users

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 delf.tonder 2022-06-09 07:49:14 UTC
SUMMARY
When i pull online statements via HCBI, the application crashes after HCBI fetch is done but before showing the summary window (where it normally tells something like "Fetched X statements, Y are new"). This process used to work, so i guess its either due to one of my statements or because some underlying lib changed..just a wild guess though. 


STEPS TO REPRODUCE
1. Open the application
2. Click "Accounts"
3. Right click on the one you want to update via HCBI
4. click "update account"
5. On the dialog window click "OK"
6. Find the enter-pin window *grr*, enter password, click ok
7. find importer window, see that it has "Operation finished, you can now close this window."
8. close the window

OBSERVED RESULT
Idle/busy for ~5 seconds, then crash

EXPECTED RESULT
Show the summary window

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.15.41-1-MANJARO
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Here is the full gdb output:
(gdb) run
Starting program: /usr/bin/kmymoney 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd9f85640 (LWP 98964)]
[New Thread 0x7fffd1bff640 (LWP 98965)]
[New Thread 0x7fffd100e640 (LWP 98966)]
[New Thread 0x7fffd080d640 (LWP 98967)]
[New Thread 0x7fffcbfff640 (LWP 98968)]
[New Thread 0x7fffcb7fe640 (LWP 98969)]
[New Thread 0x7fffcaffd640 (LWP 98970)]
[New Thread 0x7fffca7fc640 (LWP 98971)]
[New Thread 0x7fffc9ffb640 (LWP 98972)]
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
System icon theme as reported by QT:  "breeze"
Located plugin "/usr/lib/qt/plugins/kmymoney/icalendarexporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kcm_reportsview.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/ofximporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/csvexporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kcm_xmlstorage.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/qifexporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/gncimporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/konlinetasks_sepa.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/xmlstorage.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/weboob.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kcm_checkprinting.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/sqlstorage.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/reportsview.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/budgetview.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/checkprinting.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kcm_csvimporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/qifimporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kcm_forecastview.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/reconciliationreport.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/onlinejoboutboxview.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kcm_icalendarexporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kcm_qif.so" Validity false
Located plugin "/usr/lib/qt/plugins/kmymoney/csvimporter.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/kbanking.so" Validity true
Located plugin "/usr/lib/qt/plugins/kmymoney/forecastview.so" Validity true
Loading "/usr/lib/qt/plugins/kmymoney/budgetview.so"
Plugins: budgetview loaded
Loading "/usr/lib/qt/plugins/kmymoney/checkprinting.so"
Plugins: checkprinting loaded
Loading "/usr/lib/qt/plugins/kmymoney/csvexporter.so"
Plugins: csvexporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/csvimporter.so"
Plugins: csvimporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/forecastview.so"
Plugins: forecastview loaded
Loading "/usr/lib/qt/plugins/kmymoney/gncimporter.so"
Plugins: gncimporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/icalendarexporter.so"
Plugins: icalendarexporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/kbanking.so"
"Plugins: kbanking loaded, build with (5.9.0stable-0/6.4.1.0stable), run with (5.9.0.0/6.4.1.0)"
7:2022-06-09 09:32:52:aqbanking started
Loading "/usr/lib/qt/plugins/kmymoney/ofximporter.so"
Plugins: ofximporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/usr/lib/qt/plugins/kmymoney/qifexporter.so"
Plugins: qifexporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/qifimporter.so"
Plugins: qifimporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/reconciliationreport.so"
Plugins: reconciliation report loaded
Loading "/usr/lib/qt/plugins/kmymoney/reportsview.so"
Plugins: reportsview loaded
Loading "/usr/lib/qt/plugins/kmymoney/sqlstorage.so"
Plugins: sqlstorage loaded
Loading "/usr/lib/qt/plugins/kmymoney/weboob.so"
Python interpreter found: 3.10.4 (main, Mar 23 2022, 23:05:40) [GCC 11.2.0]
Saved a copy of the embedded :/plugins/weboob/kmymoneyweboob.py script as "/tmp/kmymoneyGLwiba.py"
Attempt to load the "kmymoneyGLwiba" python module from "/tmp"
Traceback (most recent call last):
  File "/tmp/kmymoneyGLwiba.py", line 9, in <module>
    from woob.core import Woob
ModuleNotFoundError: No module named 'woob'
Plugins: weboob loaded
Loading "/usr/lib/qt/plugins/kmymoney/xmlstorage.so"
Plugins: xmlstorage loaded
reading file
start parsing file
startDocument
reading securities
endDocument
Cost center model created with items 0
Payees model created with items 0
[New Thread 0x7fffaf1e0640 (LWP 98974)]
[Detaching after fork from child process 98975]
[Detaching after fork from child process 98976]
[Detaching after fork from child process 98977]
[New Thread 0x7fffae9df640 (LWP 98980)]
[New Thread 0x7fffae1de640 (LWP 98981)]
[New Thread 0x7fffad9dd640 (LWP 98982)]
[New Thread 0x7fffad1dc640 (LWP 98983)]
[New Thread 0x7fffac9db640 (LWP 98984)]
[New Thread 0x7fff93fff640 (LWP 98985)]
[New Thread 0x7fff937fe640 (LWP 98986)]
[New Thread 0x7fff92ffd640 (LWP 98987)]
[New Thread 0x7fff927fc640 (LWP 98988)]
[New Thread 0x7fff91ffb640 (LWP 98989)]
[New Thread 0x7fff917fa640 (LWP 98990)]
[New Thread 0x7fff90ff9640 (LWP 98991)]
[New Thread 0x7fff73fff640 (LWP 98992)]
[New Thread 0x7fff737fe640 (LWP 98993)]
[New Thread 0x7fff72ffd640 (LWP 98994)]
[New Thread 0x7fff727fc640 (LWP 98995)]
[New Thread 0x7fff71ffb640 (LWP 98996)]
[New Thread 0x7fff572fa640 (LWP 99010)]
[New Thread 0x7fff4ffff640 (LWP 99011)]
[New Thread 0x7fff4f7fe640 (LWP 99012)]
3:2022-06-09 09:33:04: cppgui.cpp:  141: CppGuiLinker::OpenDialog
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3163, resource id: 14681077, major code: 40 (TranslateCoords), minor code: 0
7:2022-06-09 09:33:04:aqhbci started
3:2022-06-09 09:33:10:gwenhywfar dialog.c:  752: Widget [storePasswordCheck] not found
7:2022-06-09 09:33:13:aqhbci stopped
[Thread 0x7fffca7fc640 (LWP 98971) exited]
[Thread 0x7fffc9ffb640 (LWP 98972) exited]
[Thread 0x7fffcaffd640 (LWP 98970) exited]
[Thread 0x7fffcb7fe640 (LWP 98969) exited]
[Thread 0x7fffcbfff640 (LWP 98968) exited]
[Thread 0x7fffd080d640 (LWP 98967) exited]
[Thread 0x7fffd100e640 (LWP 98966) exited]
[Thread 0x7fff927fc640 (LWP 98988) exited]
[Thread 0x7fff93fff640 (LWP 98985) exited]
[Thread 0x7fffad9dd640 (LWP 98982) exited]
Executed AB_Job without KMyMoney id
Executed AB_Job without KMyMoney id
KMyMoneyPlugin::KMMStatementInterface::import start
free(): invalid next size (fast)

Thread 1 "kmymoney" received signal SIGABRT, Aborted.
0x00007ffff585736c in ?? () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff585736c in  () at /usr/lib/libc.so.6
#1  0x00007ffff5807838 in raise () at /usr/lib/libc.so.6
#2  0x00007ffff57f1535 in abort () at /usr/lib/libc.so.6
#3  0x00007ffff584b45e in  () at /usr/lib/libc.so.6
#4  0x00007ffff58610cc in  () at /usr/lib/libc.so.6
#5  0x00007ffff586304a in  () at /usr/lib/libc.so.6
#6  0x00007ffff58658f3 in free () at /usr/lib/libc.so.6
#7  0x00007ffff7cab9d8 in  () at /usr/lib/libkmm_mymoney.so.5
#8  0x00007ffff7c78ff5 in MyMoneyFile::modifyAccount(MyMoneyAccount const&) () at /usr/lib/libkmm_mymoney.so.5
#9  0x00005555557ea63b in  ()
#10 0x00005555557ec291 in  ()
#11 0x00005555557fd256 in  ()
#12 0x00007fffc88d2454 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#13 0x00007fffc88cf3d4 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#14 0x00007fffc88d3456 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#15 0x00007fffc88cd063 in  () at /usr/lib/qt/plugins/kmymoney/kbanking.so
#16 0x000055555565e95a in  ()
#17 0x000055555566295c in  ()
#18 0x00007ffff60cb791 in  () at /usr/lib/libQt5Core.so.5
#19 0x00007ffff6b81e07 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff6b87817 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff6d099db in  () at /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff6d09afd in  () at /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff6bc5677 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff6b8ea7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007ffff6b94289 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff609aff8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007ffff6b92287 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff6be3824 in  () at /usr/lib/libQt5Widgets.so.5


If there is anything else i can do, let me know
Comment 1 Thomas Baumgart 2022-06-09 10:40:07 UTC
Your assumption about the change of an underlying lib is correct. See hints in the original ticket on how to solve it.

<nitpick>
BTW: it's HBCI (abbreviation for Home Banking Computer Interface) not HCBI
</nitpick>

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