Bug 371806 - KMyMoney crashes when updating transactions of newly created credit card account
Summary: KMyMoney crashes when updating transactions of newly created credit card account
Status: RESOLVED DUPLICATE of bug 371055
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.8.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-29 00:28 UTC by vancewillbanks
Modified: 2016-10-30 10:47 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 vancewillbanks 2016-10-29 00:28:18 UTC
Application: kmymoney (4.8.0)
KDE Platform Version: 4.14.25
Qt Version: 4.8.7
Operating System: Linux 4.7.6-1-ARCH x86_64
Distribution: "Arch Linux"

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

First time setup of KMyMoney
- Created Accounts (checking, savings, and two credit cards)
    All accounts had no transactions and a start balance of $0.00
-Mapped accounts to online accounts
    NOTE: Online accounts were created with the wizard from GnuCash.
-Update transactions in each account
    Successful for checking and savings account. Trying to update credit card causes crash.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fce22727cc8 in  () at /usr/lib/kde4/kmm_kbanking.so
#7  0x00007fce2272129a in  () at /usr/lib/kde4/kmm_kbanking.so
#8  0x00007fce22729e2b in  () at /usr/lib/kde4/kmm_kbanking.so
#9  0x00007fce227245c6 in  () at /usr/lib/kde4/kmm_kbanking.so
#10 0x00007fce2272468d in  () at /usr/lib/kde4/kmm_kbanking.so
#11 0x00007fce22724780 in  () at /usr/lib/kde4/kmm_kbanking.so
#12 0x00000000004d0d2e in  ()
#13 0x000000000050f54e in  ()
#14 0x00007fce3d7a6c50 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/libQtCore.so.4
#15 0x00007fce3e1eb082 in QAction::triggered(bool) () at /usr/lib/libQtGui.so.4
#16 0x00007fce3e1ec3e3 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQtGui.so.4
#17 0x00007fce3e5c72f3 in  () at /usr/lib/libQtGui.so.4
#18 0x00007fce3e5c7444 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQtGui.so.4
#19 0x00007fce3e68ca7a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQtGui.so.4
#20 0x00007fce3e247840 in QWidget::event(QEvent*) () at /usr/lib/libQtGui.so.4
#21 0x00007fce3e1f0f2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQtGui.so.4
#22 0x00007fce3e1f95b7 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQtGui.so.4
#23 0x00007fce3ef782fa in KApplication::notify(QObject*, QEvent*) () at /usr/lib/libkdeui.so.5
#24 0x00007fce3d792b2d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/libQtCore.so.4
#25 0x00007fce3e1f75db in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQtGui.so.4
#26 0x00007fce3e272a89 in  () at /usr/lib/libQtGui.so.4
#27 0x00007fce3e27143c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib/libQtGui.so.4
#28 0x00007fce3e299db2 in  () at /usr/lib/libQtGui.so.4
#29 0x00007fce37f9c587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#30 0x00007fce37f9c7f0 in  () at /usr/lib/libglib-2.0.so.0
#31 0x00007fce37f9c89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#32 0x00007fce3d7c2ece in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
#33 0x00007fce3e299e86 in  () at /usr/lib/libQtGui.so.4
#34 0x00007fce3d7913ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
#35 0x00007fce3d791765 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
#36 0x00007fce3d7971c9 in QCoreApplication::exec() () at /usr/lib/libQtCore.so.4
#37 0x00000000004afa59 in  ()
#38 0x00000000004accb2 in  ()
#39 0x00007fce3c508291 in __libc_start_main () at /usr/lib/libc.so.6
#40 0x00000000004af28a in _start ()

Reported using DrKonqi
Comment 1 vancewillbanks 2016-10-29 00:54:34 UTC
Update.
Institution code and Institution name for credit card accounts are blank

$ aqbanking-cli listaccs
Account	0000000000	---- CARD # ----	0000000000	
Account	0000000000	---- CARD # ----	0000000000

I do not see a warning when trying to map the account from the "List" tab of the accounts page (I replicated this to verify). However, when trying the same from the "Icons" tab, I see the following error message.

When trying to map the card to one of these accounts, I get the error
Unable to map account to online account: Unknown account id
Comment 2 Christian David 2016-10-30 10:47:45 UTC
Can you update the credit card in GnuCash?

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