Bug 372996 - KMyMoney crashes after mapping an online account w/ AqBanking
Summary: KMyMoney crashes after mapping an online account w/ AqBanking
Status: RESOLVED DUPLICATE of bug 375391
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-27 14:41 UTC by dgns2009
Modified: 2017-07-02 08:49 UTC (History)
3 users (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 dgns2009 2016-11-27 14:41:11 UTC
Application: kmymoney (4.8.0)
KDE Platform Version: 4.14.25
Qt Version: 4.8.7
Operating System: Linux 4.8.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to map KMyMoney account onto an Online Account. This Online Accoout set up was just for testing purpose, it was never online, and probably missing entries in the setup. After applying the mapping, KMyMoney crashed, and keeps doing this whenever I try to read *any* saved kmy-file. Even creating a new kmy file crashes when the wizard ends.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#7  0x00007fe468c6740a in __GI_abort () at abort.c:89
#8  0x00007fe468c5ee47 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7fe454136565 "buffer", file=file@entry=0x7fe45411a72b "buffer.c", line=line@entry=1017, function=function@entry=0x7fe454116cc0 "GWEN_Buffer_AppendString") at assert.c:92
#9  0x00007fe468c5eef2 in __GI___assert_fail (assertion=0x7fe454136565 "buffer", file=0x7fe45411a72b "buffer.c", line=1017, function=0x7fe454116cc0 "GWEN_Buffer_AppendString") at assert.c:101
#10 0x00007fe45407aeaf in GWEN_Buffer_AppendString () from /usr/lib/libgwenhywfar.so.60
#11 0x00007fe4539af671 in ?? () from /usr/lib/libaqbanking.so.35
#12 0x00007fe4549a374e in KBankingPlugin::availableJobs (this=0x3d0e2b0, accountId=...) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:632
#13 0x00007fe46cf9cd7b in onlineJobAdministration::canSendCreditTransfer (this=0x7fe46d20b040 <onlineJobAdministration::m_instance>) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/mymoney/onlinejobadministration.cpp:311
#14 0x00000000004c78f0 in KMyMoneyApp::slotUpdateActions (this=this@entry=0x2e7a4e0) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/kmymoney.cpp:6407
#15 0x00000000004cc730 in KMyMoneyApp::updateCaption (this=0x2e7a4e0, skipActions=false) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/kmymoney.cpp:6355
#16 0x0000000000515e45 in KMyMoneyApp::qt_static_metacall (_o=0x2e7a4e0, _c=<optimized out>, _id=<optimized out>, _a=0x7ffcb860a090) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/obj-x86_64-linux-gnu/kmymoney/moc_kmymoney.cpp:522
#17 0x00007fe469ca2660 in QMetaObject::activate (sender=sender@entry=0x7fe46d20a940 <MyMoneyFile::file>, m=m@entry=0x7fe46d207900 <MyMoneyFile::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#18 0x00007fe46cfa1c00 in MyMoneyFile::dataChanged (this=this@entry=0x7fe46d20a940 <MyMoneyFile::file>) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/obj-x86_64-linux-gnu/kmymoney/mymoney/moc_mymoneyfile.cpp:112
#19 0x00007fe46cf27d4d in MyMoneyFile::attachStorage (this=0x7fe46d20a940 <MyMoneyFile::file>, storage=storage@entry=0x3467080) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/mymoney/mymoneyfile.cpp:352
#20 0x000000000053b8fa in KMyMoneyView::readFile (this=0x32b6cc0, url=...) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/views/kmymoneyview.cpp:858
#21 0x00000000004fa763 in KMyMoneyApp::slotFileOpenRecent (this=0x2e7a4e0, url=...) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/kmymoney.cpp:1639
#22 0x00000000004b006d in runKMyMoney (splash=splash@entry=0x2de7f30, a=0x2ceabb0) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/main.cpp:270
#23 0x00000000004ad22e in main (argc=<optimized out>, argv=0x7ffcb860b568) at /build/kmymoney-IPWDZV/kmymoney-4.8.0/kmymoney/main.cpp:182

The reporter indicates this bug may be a duplicate of or related to bug 349920.

Possible duplicates by query: bug 359869, bug 349920, bug 341348.

Reported using DrKonqi
Comment 1 Thomas Baumgart 2016-11-27 21:17:47 UTC
Something is wrong with the information managed by AqBanking. Did you ever use AqBanking for production purposes? Are there any mapped accounts with valid information setup? Do you use another application (e.g. GnuCash) that uses AqBanking? I am asking, becuase it might be the easiest to wipe out the AqBanking data that is certainly missing something. But before I tell you how to do it, I want to make sure we don't wipe out important data.

You could try to start KMyMoney from the command line with option -n which prevents opening the last opened file after startup. Goto Settings/Aqbanking settings and remove entries for accounts and users you don't need. See if that makes a difference when loading a KMyMoney file.
Comment 2 dgns2009 2016-11-28 18:21:24 UTC
I never used AqBanking for production purpose. I set up an "testing" account in the fleeting hope to be able to connect to PostFinance (in spite of all information to the contrary...)

After deleting ~/.kde/share/config/kmymoneyrc, starting KMyMoney without loading an existing file, disabling all plugins in the settings menu, I was able to load my original kmy-file again. Since then I'm able to load/save without problems.

I haven't tried to re-enable the AqBanking-plugin again.
Comment 3 bob@mroczka.com 2017-01-24 12:44:41 UTC
Please see if the information at https://bugs.kde.org/show_bug.cgi?id=375391 helps you.
Comment 4 NSLW 2017-07-02 08:49:14 UTC

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