Bug 245233 - Downloading multiple OFX accounts using the OFX plulgin in one go crashes
Summary: Downloading multiple OFX accounts using the OFX plulgin in one go crashes
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-20 15:38 UTC by Thomas Baumgart
Modified: 2010-07-23 11:10 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 Thomas Baumgart 2010-07-20 15:38:16 UTC
Version:           unspecified (using KDE 4.3.5) 
OS:                Linux

I have a new problem unfortunately.  The kwallet feature seems to be 
working fine by itself, and I can update a single account fine, but when 
I try to update all accounts with OFX direct connect, the program 
crashes.  The crash happens after the first download is complete.


Reproducible: Always


Actual Results:  
First account works, during second account program crashes.

Expected Results:  
Download of all account works as expected without crash.

The output from gdb is as follows:

#0  0x01ce005c in QWidget::testAttribute_helper(Qt::WidgetAttribute) 
const ()
   from /usr/lib/libQtGui.so.4
#1  0x03da356d in MyMoneyOfxConnector::password (this=0x9c2b4d8)
    at 
/home/wolfemi1/svn/kmymoney/kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp:170
#2  0x03da39ba in MyMoneyOfxConnector::initRequest (this=0x9c2b4d8, 
fi=0xbfffd988)
    at 
/home/wolfemi1/svn/kmymoney/kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp:308
#3  0x03da4b17 in MyMoneyOfxConnector::statementRequest (this=0x9c2b4d8)
    at 
/home/wolfemi1/svn/kmymoney/kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp:334
#4  0x03d908df in KOfxDirectConnectDlg::init (this=0x9c2b4a0)
    at 
/home/wolfemi1/svn/kmymoney/kmymoney/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp:79
#5  0x03d816fc in OfxImporterPlugin::updateAccount (this=0x8fe3cd0, 
acc=..., moreAccounts=true)
    at 
/home/wolfemi1/svn/kmymoney/kmymoney/plugins/ofximport/ofximporterplugin.cpp:644
#6  0x080b2b3e in KMyMoneyApp::slotAccountUpdateOnlineAll (this=0x875f248)
    at /home/wolfemi1/svn/kmymoney/kmymoney/kmymoney.cpp:6830
#7  0x080de9c5 in KMyMoneyApp::qt_metacall (this=0x875f248, 
_c=QMetaObject::InvokeMetaMethod,
    _id=103, _a=0xbfffdfd8) at 
/home/wolfemi1/svn/kmymoney/build/kmymoney/kmymoney.moc:505
#8  0x01a49c9a in QMetaObject::metacall(QObject*, QMetaObject::Call, 
int, void**) ()
   from /usr/lib/libQtCore.so.4
#9  0x01a583d5 in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) ()
   from /usr/lib/libQtCore.so.4
#10 0x01c88bd9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#11 0x01c8adcc in QAction::activate(QAction::ActionEvent) () from 
/usr/lib/libQtGui.so.4
#12 0x0217dbd2 in QToolButton::nextCheckState() () from 
/usr/lib/libQtGui.so.4
#13 0x0209acb3 in ?? () from /usr/lib/libQtGui.so.4
#14 0x0209afae in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () 
from /usr/lib/libQtGui.so.4
#15 0x0217e09c in QToolButton::mouseReleaseEvent(QMouseEvent*) () from 
/usr/lib/libQtGui.so.4
#16 0x01ced7f8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x02099d4e in QAbstractButton::event(QEvent*) () from 
/usr/lib/libQtGui.so.4
#18 0x02180bca in QToolButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x01c8f4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#20 0x01c969f7 in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libQtGui.so.4
#21 0x00ea2f2a in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5
#22 0x01a44a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () 
from /usr/lib/libQtCore.so.4
#23 0x01c95952 in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) 
() from /usr/lib/libQtGui.so.4
#24 0x01d21088 in ?? () from /usr/lib/libQtGui.so.4
#25 0x01d20511 in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib/libQtGui.so.4
#26 0x01d4f60a in ?? () from /usr/lib/libQtGui.so.4
#27 0x02f615e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x02f652d8 in ?? () from /lib/libglib-2.0.so.0
#29 0x02f654b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x01a705d5 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
()
   from /usr/lib/libQtCore.so.4
#31 0x01d4f135 in ?? () from /usr/lib/libQtGui.so.4
#32 0x01a43059 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#33 0x01a434aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
Comment 1 Alvaro Soliverez 2010-07-20 15:57:21 UTC
Isn't this similar to 243439?
The BT don't look the same, but the problem seems to be on the same action.
Comment 2 Thomas Baumgart 2010-07-21 17:57:05 UTC
No, they don't seem to be related. One has to deal with mapping, the other with KWallet.
Comment 3 Thomas Baumgart 2010-07-23 10:27:44 UTC
SVN commit 1153462 by tbaumgart:

Make sure to have a valid active window before extracting the winID to be used for the wallet.

BUG: 245233

 M  +8 -1      mymoneyofxconnector.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1153462
Comment 4 Mike Wolfe 2010-07-23 11:10:26 UTC
Confirmed.  This works for me now.  Updating all accounts at once does not crash the system.  Thanks!