Bug 283149 - crash after transaction download complete
Summary: crash after transaction download complete
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 285922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-01 18:59 UTC by jasonb
Modified: 2014-09-01 11:08 UTC (History)
2 users (show)

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 jasonb 2011-10-01 18:59:41 UTC
Application: kmymoney (4.5.3)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.40.4-5.fc15.i686.PAE i686
Distribution: "Fedora release 15 (Lovelock)"

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

When I download transaction information from Chase, software crashes consistently upon download success when prompted to press 'Close' button.  Works fine for other account.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:1282
#8  0x4234633b in QString::append (this=0xbfa6b968, str=...) at /usr/include/bits/string3.h:52
#9  0x083bd237 in operator+= (s=..., this=0xbfa6b968) at /usr/include/QtCore/qstring.h:281
#10 operator+ (s1=0x851d459 "Unknown account id '", s2=...) at /usr/include/QtCore/qstring.h:1033
#11 0x08436776 in MyMoneySeqAccessMgr::account (this=0x957bfe0, id=...) at /usr/src/debug/kmymoney-4.5.3/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:131
#12 0x434a8c46 in MyMoneyObjectContainer::account (this=0x93d79a8, id=...) at /usr/src/debug/kmymoney-4.5.3/kmymoney/mymoney/mymoneyobjectcontainer.cpp:126
#13 0x4346a76a in MyMoneyFile::account (this=0x434d6e20, id=...) at /usr/src/debug/kmymoney-4.5.3/kmymoney/mymoney/mymoneyfile.cpp:380
#14 0x083ef57c in MyMoneyStatementReader::import (this=0xab24cf0, s=..., messages=...) at /usr/src/debug/kmymoney-4.5.3/kmymoney/converter/mymoneystatementreader.cpp:234
#15 0x080a42bc in KMyMoneyApp::slotStatementImport (this=0x94211b8, s=...) at /usr/src/debug/kmymoney-4.5.3/kmymoney/kmymoney.cpp:2304
#16 0x084cbc95 in KMyMoneyPlugin::KMMStatementInterface::import (this=0x9a5bf88, s=...) at /usr/src/debug/kmymoney-4.5.3/kmymoney/plugins/interfaces/kmmstatementinterface.cpp:44
#17 0x002056cc in KBankingPlugin::importStatement (this=0x9abefb0, s=...) at /usr/src/debug/kmymoney-4.5.3/kmymoney/plugins/kbanking/mymoneybanking.cpp:623
#18 0x0020c6cb in KMyMoneyBanking::importAccountInfo (this=0x9abf0b0, ai=0xaa6ba28) at /usr/src/debug/kmymoney-4.5.3/kmymoney/plugins/kbanking/mymoneybanking.cpp:1130
#19 0x0020efe4 in AB_Banking::importContext (this=0x9abf0b0, ctx=0xa9a7d98, flags=0) at /usr/src/debug/kmymoney-4.5.3/kmymoney/plugins/kbanking/banking.cpp:199
#20 0x00207468 in KBankingPlugin::updateAccount (this=0x9abefb0, acc=..., moreAccounts=3) at /usr/src/debug/kmymoney-4.5.3/kmymoney/plugins/kbanking/mymoneybanking.cpp:589
#21 0x080a35b6 in KMyMoneyApp::slotAccountUpdateOnline (this=0x94211b8) at /usr/src/debug/kmymoney-4.5.3/kmymoney/kmymoney.cpp:6895
#22 0x080d152d in KMyMoneyApp::qt_metacall (this=0x94211b8, _c=QMetaObject::InvokeMetaMethod, _id=102, _a=0xbfa6c6e8) at /usr/src/debug/kmymoney-4.5.3/i686-redhat-linux-gnu/kmymoney/kmymoney.moc:505
#23 0x423fae3e in metacall (argv=0xbfa6c6e8, idx=148, cl=QMetaObject::InvokeMetaMethod, object=0x94211b8) at kernel/qmetaobject.cpp:237
#24 QMetaObject::metacall (object=0x94211b8, cl=QMetaObject::InvokeMetaMethod, idx=148, argv=0xbfa6c6e8) at kernel/qmetaobject.cpp:232
#25 0x42408dca in QMetaObject::activate (sender=0x94af0a0, m=0x458c7ad8, local_signal_index=1, argv=0xbfa6c6e8) at kernel/qobject.cpp:3278
#26 0x44f7cfee in QAction::triggered (this=0x94af0a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#27 0x44f7d28b in QAction::activate (this=0x94af0a0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#28 0x4542611c in QMenuPrivate::activateCausedStack (this=0x94f92f0, causedStack=..., action=0x94af0a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#29 0x4542c9bf in QMenuPrivate::activateAction (this=0x94f92f0, action=0x94af0a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#30 0x4542f676 in QMenu::mouseReleaseEvent (this=0x94ab9b0, e=0xbfa6cf14) at widgets/qmenu.cpp:2296
#31 0x42af01bd in KMenu::mouseReleaseEvent (this=0x94ab9b0, e=0xbfa6cf14) at /usr/src/debug/kdelibs-4.6.5/kdeui/widgets/kmenu.cpp:458
#32 0x44fdeee5 in QWidget::event (this=0x94ab9b0, event=0xbfa6cf14) at kernel/qwidget.cpp:8295
#33 0x4542e0ec in QMenu::event (this=0x94ab9b0, e=0xbfa6cf14) at widgets/qmenu.cpp:2405
#34 0x44f84014 in notify_helper (e=0xbfa6cf14, receiver=0x94ab9b0, this=0x93f3488) at kernel/qapplication.cpp:4481
#35 QApplicationPrivate::notify_helper (this=0x93f3488, receiver=0x94ab9b0, e=0xbfa6cf14) at kernel/qapplication.cpp:4453
#36 0x44f8a1aa in QApplication::notify (this=0x93f3488, receiver=0x94ab9b0, e=0xbfa6cf14) at kernel/qapplication.cpp:4042
#37 0x42a098c2 in KApplication::notify (this=0x93ee6c0, receiver=0x94ab9b0, event=0xbfa6cf14) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#38 0x423f465e in QCoreApplication::notifyInternal (this=0x93ee6c0, receiver=0x94ab9b0, event=0xbfa6cf14) at kernel/qcoreapplication.cpp:787
#39 0x44f84fe6 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0x94ab9b0, event=0xbfa6cf14, alienWidget=0x0, nativeWidget=0x94ab9b0, buttonDown=0x458e3f54, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#41 0x4500f9e4 in QETWidget::translateMouseEvent (this=0x94ab9b0, event=0xbfa6d3cc) at kernel/qapplication_x11.cpp:4395
#42 0x4500e26d in QApplication::x11ProcessEvent (this=0x93ee6c0, event=0xbfa6d3cc) at kernel/qapplication_x11.cpp:3587
#43 0x45038eb5 in x11EventSourceDispatch (s=0x93f60a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#44 0x410c55bf in g_main_dispatch (context=0x93f5270) at gmain.c:2441
#45 g_main_context_dispatch (context=0x93f5270) at gmain.c:3014
#46 0x410c5d30 in g_main_context_iterate (context=0x93f5270, block=1091390080, dispatch=1, self=0x93f25b8) at gmain.c:3092
#47 0x410c606f in g_main_context_iteration (context=0x93f5270, may_block=1) at gmain.c:3155
#48 0x42422d58 in QEventDispatcherGlib::processEvents (this=0x93d4378, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0x45038b4b in QGuiEventDispatcherGlib::processEvents (this=0x93d4378, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#50 0x423f399e in QEventLoop::processEvents (this=0xbfa6d6d4, flags=...) at kernel/qeventloop.cpp:149
#51 0x423f3bf1 in QEventLoop::exec (this=0xbfa6d6d4, flags=...) at kernel/qeventloop.cpp:201
#52 0x423f835b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#53 0x44f81df5 in QApplication::exec () at kernel/qapplication.cpp:3755
#54 0x08086809 in main (argc=0, argv=0x0) at /usr/src/debug/kmymoney-4.5.3/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 jasonb 2011-10-01 22:01:24 UTC
I can download and import transactions from an OFX file from Chase Web site without error.
Comment 2 Thomas Baumgart 2011-10-02 05:37:28 UTC
According to the backtrace

#10 operator+ (s1=0x851d459 "Unknown account id '", s2=...) at
/usr/include/QtCore/qstring.h:1033

the accound id is unknown. Looks like the mapping of the account is somewhat broken. Try to unmap and remap the account and see if the problem persists.

I also suggest to upgrade to 4.6.0 since we had a few fixes in that area.
Comment 3 jasonb 2011-10-02 22:05:35 UTC
I upgraded to 4.6.0 out of Fedora 15 updates-testing.  I unmapped, then remapped the account, but no joy.  Anything I can do to help?  Could it be something in my aqbanking configuration?

Backtrace:

Application: KMyMoney (kmymoney), signal: Segmentation fault
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:1278
#8  0x08450d35 in appendTo (out=<optimized out>, a=<optimized out>) at /usr/include/bits/string3.h:52
#9  appendTo (p=<optimized out>, out=<optimized out>) at /usr/include/QtCore/qstringbuilder.h:293
#10 appendTo (out=<optimized out>, p=<optimized out>) at /usr/include/QtCore/qstringbuilder.h:292
#11 QStringBuilder<QStringBuilder<char [21], QString>, char>::operator QString (this=0xbf83520c) at /usr/include/QtCore/qstringbuilder.h:108
#12 0x0843f6e3 in MyMoneySeqAccessMgr::account (this=0x8a82ff0, id=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:131
#13 0x00747e56 in MyMoneyObjectContainer::account (this=0x87f8984, id=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/mymoney/mymoneyobjectcontainer.cpp:137
#14 0x0070437a in MyMoneyFile::account (this=0x7774c0, id=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/mymoney/mymoneyfile.cpp:641
#15 0x083f92cb in MyMoneyStatementReader::import (this=0xa082058, s=..., messages=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/converter/mymoneystatementreader.cpp:274
#16 0x080a67ec in KMyMoneyApp::slotStatementImport (this=0x88b08e8, s=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/kmymoney.cpp:2321
#17 0x084d4b85 in KMyMoneyPlugin::KMMStatementInterface::import (this=0x9042d20, s=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/plugins/interfaces/kmmstatementinterface.cpp:44
#18 0x009fe28c in KBankingPlugin::importStatement (this=0x907b150, s=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:622
#19 0x00a0567b in KMyMoneyBanking::importAccountInfo (this=0x907b660, ai=0xa18d230) at /usr/src/debug/kmymoney-4.6.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:1143
#20 0x00a08484 in AB_Banking::importContext (this=0x907b660, ctx=0x9f2fe78, flags=0) at /usr/src/debug/kmymoney-4.6.0/kmymoney/plugins/kbanking/banking.cpp:199
#21 0x00a00030 in KBankingPlugin::updateAccount (this=0x907b150, acc=..., moreAccounts=3) at /usr/src/debug/kmymoney-4.6.0/kmymoney/plugins/kbanking/mymoneybanking.cpp:588
#22 0x080a34a4 in KMyMoneyApp::slotAccountUpdateOnline (this=0x88b08e8) at /usr/src/debug/kmymoney-4.6.0/kmymoney/kmymoney.cpp:6929
#23 0x080d246d in KMyMoneyApp::qt_metacall (this=0x88b08e8, _c=QMetaObject::InvokeMetaMethod, _id=102, _a=0xbf835f38) at /usr/src/debug/kmymoney-4.6.0/i686-redhat-linux-gnu/kmymoney/kmymoney.moc:505
#24 0x423fae3e in metacall (argv=0xbf835f38, idx=148, cl=QMetaObject::InvokeMetaMethod, object=0x88b08e8) at kernel/qmetaobject.cpp:237
#25 QMetaObject::metacall (object=0x88b08e8, cl=QMetaObject::InvokeMetaMethod, idx=148, argv=0xbf835f38) at kernel/qmetaobject.cpp:232
#26 0x42408dca in QMetaObject::activate (sender=0x8908230, m=0x458c7ad8, local_signal_index=1, argv=0xbf835f38) at kernel/qobject.cpp:3278
#27 0x44f7cfee in QAction::triggered (this=0x8908230, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#28 0x44f7d28b in QAction::activate (this=0x8908230, event=QAction::Trigger) at kernel/qaction.cpp:1257
#29 0x4542611c in QMenuPrivate::activateCausedStack (this=0x8940c98, causedStack=..., action=0x8908230, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#30 0x4542c9bf in QMenuPrivate::activateAction (this=0x8940c98, action=0x8908230, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#31 0x4542f676 in QMenu::mouseReleaseEvent (this=0x88dcf70, e=0xbf836764) at widgets/qmenu.cpp:2296
#32 0x42af01bd in KMenu::mouseReleaseEvent (this=0x88dcf70, e=0xbf836764) at /usr/src/debug/kdelibs-4.6.5/kdeui/widgets/kmenu.cpp:458
#33 0x44fdeee5 in QWidget::event (this=0x88dcf70, event=0xbf836764) at kernel/qwidget.cpp:8295
#34 0x4542e0ec in QMenu::event (this=0x88dcf70, e=0xbf836764) at widgets/qmenu.cpp:2405
#35 0x44f84014 in notify_helper (e=0xbf836764, receiver=0x88dcf70, this=0x8814b40) at kernel/qapplication.cpp:4481
#36 QApplicationPrivate::notify_helper (this=0x8814b40, receiver=0x88dcf70, e=0xbf836764) at kernel/qapplication.cpp:4453
#37 0x44f8a1aa in QApplication::notify (this=0x8814b40, receiver=0x88dcf70, e=0xbf836764) at kernel/qapplication.cpp:4042
#38 0x42a098c2 in KApplication::notify (this=0x880fe48, receiver=0x88dcf70, event=0xbf836764) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#39 0x423f465e in QCoreApplication::notifyInternal (this=0x880fe48, receiver=0x88dcf70, event=0xbf836764) at kernel/qcoreapplication.cpp:787
#40 0x44f84fe6 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#41 QApplicationPrivate::sendMouseEvent (receiver=0x88dcf70, event=0xbf836764, alienWidget=0x0, nativeWidget=0x88dcf70, buttonDown=0x458e3f54, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#42 0x4500f9e4 in QETWidget::translateMouseEvent (this=0x88dcf70, event=0xbf836c1c) at kernel/qapplication_x11.cpp:4395
#43 0x4500e26d in QApplication::x11ProcessEvent (this=0x880fe48, event=0xbf836c1c) at kernel/qapplication_x11.cpp:3587
#44 0x45038eb5 in x11EventSourceDispatch (s=0x8817ba8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#45 0x410c55bf in g_main_dispatch (context=0x8816e70) at gmain.c:2441
#46 g_main_context_dispatch (context=0x8816e70) at gmain.c:3014
#47 0x410c5d30 in g_main_context_iterate (context=0x8816e70, block=1091390080, dispatch=1, self=0x8813c50) at gmain.c:3092
#48 0x410c606f in g_main_context_iteration (context=0x8816e70, may_block=1) at gmain.c:3155
#49 0x42422d58 in QEventDispatcherGlib::processEvents (this=0x87f4378, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#50 0x45038b4b in QGuiEventDispatcherGlib::processEvents (this=0x87f4378, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#51 0x423f399e in QEventLoop::processEvents (this=0xbf836f24, flags=...) at kernel/qeventloop.cpp:149
#52 0x423f3bf1 in QEventLoop::exec (this=0xbf836f24, flags=...) at kernel/qeventloop.cpp:201
#53 0x423f835b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#54 0x44f81df5 in QApplication::exec () at kernel/qapplication.cpp:3755
#55 0x0808a4d4 in runKMyMoney (a=0xa3a6fe6, splash=0xbf8370dc) at /usr/src/debug/kmymoney-4.6.0/kmymoney/main.cpp:282
#56 0x08088a1a in main (argc=1, argv=0xbf8373c4) at /usr/src/debug/kmymoney-4.6.0/kmymoney/main.cpp:181
Comment 4 Cristian Oneț 2012-11-29 16:16:03 UTC
*** Bug 285922 has been marked as a duplicate of this bug. ***
Comment 5 Cristian Oneț 2013-09-17 18:09:30 UTC
Could you try to see if this still happens with the latest version (4.6.3)? I can't see a way in which the account id string object can become invalid in that particular place so it would be nice to  work together to figure out the source of this if it still happens.
Comment 6 Cristian Oneț 2014-09-01 11:08:51 UTC
Closing these issues as unmaintained since we have been waiting for feedback on them for a year now.