Bug 268294 - KMyMoney crashing on AqBanking CSV Importer Change
Summary: KMyMoney crashing on AqBanking CSV Importer Change
Status: RESOLVED UPSTREAM
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: 2011-03-12 15:59 UTC by enno+kde
Modified: 2011-05-12 12:22 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 enno+kde 2011-03-12 15:59:50 UTC
Application: kmymoney (4.5.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.36-gentoo-r5 x86_64
Distribution: "Gentoo Base System release 1.12.14"

-- Information about the crash:
I was trying to import a csv file from comdirect Bank AG using FIle -> Import -> AqBanking Importer.
I selected the file, chose "comdirect" from the profile list, but couldn't continue ("Weiter" button didn't work). That's why I changed the profile.
I increased the amount of ignore lines to 21 and changed the column devider to ";", which seemed to be reasonable values for my csv file.
Pressing "OK" after these changes makes KMyMoney crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f85dfa580bf in QString::toUtf8() const () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f85cfd33108 in Qt4_W_TextEdit::getCharProperty(GWEN_DIALOG_PROPERTY, int, char const*) () from /usr/lib64/libgwengui-qt4.so.0
#7  0x00007f85cfad49af in GWEN_Dialog_GetCharProperty () from /usr/lib64/libgwenhywfar.so.60
#8  0x00007f85cc85fba9 in AB_CSV_EditProfileDialog_fromGui () from /usr/lib64/aqbanking/plugins/33/imexporters/csv.so
#9  0x00007f85cc860352 in AB_CSV_EditProfileDialog_HandleActivated () from /usr/lib64/aqbanking/plugins/33/imexporters/csv.so
#10 0x00007f85cfad44ec in GWEN_Dialog_EmitSignal () from /usr/lib64/libgwenhywfar.so.60
#11 0x00007f85cfd2b2fd in QT4_DialogBox::slotActivated() () from /usr/lib64/libgwengui-qt4.so.0
#12 0x00007f85cfd2b450 in QT4_DialogBox::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libgwengui-qt4.so.0
#13 0x00007f85dfb14b80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f85df2de792 in QAbstractButton::clicked(bool) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f85deff86db in QAbstractButtonPrivate::emitClicked() () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f85deff94eb in QAbstractButtonPrivate::click() () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f85deff976c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f85dec99802 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f85dec42ddd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f85dec4ad3c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f85e1c0a626 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007f85dfb01753 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f85dec498db in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f85deccb008 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f85decca1bc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f85decf258a in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f85d9791e21 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f85d9795d20 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0x00007f85d9795ed4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f85dfb2a87c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f85decf212f in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f85dfb000c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f85dfb00494 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f85df10b52e in QDialog::exec() () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f85cfd2d3b2 in QT4_GuiDialog::execute() () from /usr/lib64/libgwengui-qt4.so.0
#36 0x00007f85cfd2b7e0 in QT4_Gui::execDialog(GWEN_DIALOG*, unsigned int) () from /usr/lib64/libgwengui-qt4.so.0
#37 0x00007f85cf7ea267 in AB_ImporterDialog_HandleActivated () from /usr/lib64/libaqbanking.so.33
#38 0x00007f85cfad44ec in GWEN_Dialog_EmitSignal () from /usr/lib64/libgwenhywfar.so.60
#39 0x00007f85cfd2b2fd in QT4_DialogBox::slotActivated() () from /usr/lib64/libgwengui-qt4.so.0
#40 0x00007f85cfd2b450 in QT4_DialogBox::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libgwengui-qt4.so.0
#41 0x00007f85dfb14b80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f85df2de792 in QAbstractButton::clicked(bool) () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007f85deff86db in QAbstractButtonPrivate::emitClicked() () from /usr/lib64/qt4/libQtGui.so.4
#44 0x00007f85deff94eb in QAbstractButtonPrivate::click() () from /usr/lib64/qt4/libQtGui.so.4
#45 0x00007f85deff976c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007f85dec99802 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007f85dec42ddd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#48 0x00007f85dec4ad3c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#49 0x00007f85e1c0a626 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#50 0x00007f85dfb01753 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#51 0x00007f85dec498db in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#52 0x00007f85deccb008 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#53 0x00007f85decca1bc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#54 0x00007f85decf258a in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#55 0x00007f85d9791e21 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x00007f85d9795d20 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#57 0x00007f85d9795ed4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x00007f85dfb2a87c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#59 0x00007f85decf212f in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#60 0x00007f85dfb000c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#61 0x00007f85dfb00494 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#62 0x00007f85df10b52e in QDialog::exec() () from /usr/lib64/qt4/libQtGui.so.4
#63 0x00007f85cfd2d3b2 in QT4_GuiDialog::execute() () from /usr/lib64/libgwengui-qt4.so.0
#64 0x00007f85cfd2b7e0 in QT4_Gui::execDialog(GWEN_DIALOG*, unsigned int) () from /usr/lib64/libgwengui-qt4.so.0
#65 0x00007f85cff5336c in KMyMoneyBanking::interactiveImport() () from /usr/lib64/kde4/kmm_kbanking.so
#66 0x00007f85cff53991 in KBankingPlugin::slotImport() () from /usr/lib64/kde4/kmm_kbanking.so
#67 0x00007f85cff53bb4 in KBankingPlugin::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/kmm_kbanking.so
#68 0x00007f85dfb14b80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#69 0x00007f85dec3ccb2 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#70 0x00007f85dec3ecc0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#71 0x00007f85df07d4d9 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /usr/lib64/qt4/libQtGui.so.4
#72 0x00007f85df082d87 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib64/qt4/libQtGui.so.4
#73 0x00007f85e1ce465e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#74 0x00007f85dec99802 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#75 0x00007f85df084ebb in QMenu::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#76 0x00007f85dec42ddd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#77 0x00007f85dec4ad3c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#78 0x00007f85e1c0a626 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#79 0x00007f85dfb01753 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#80 0x00007f85dec498db in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#81 0x00007f85deccb1cb in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#82 0x00007f85decca1bc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#83 0x00007f85decf258a in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#84 0x00007f85d9791e21 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#85 0x00007f85d9795d20 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#86 0x00007f85d9795ed4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#87 0x00007f85dfb2a87c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#88 0x00007f85decf212f in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#89 0x00007f85dfb000c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#90 0x00007f85dfb00494 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#91 0x00007f85dfb040e6 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#92 0x0000000000457ad8 in main ()

Reported using DrKonqi
Comment 1 enno+kde 2011-03-12 17:08:58 UTC
Importing the csv with a patched comdirect profile in aqbanking works, because that way I avoid changing the profile.
I'm pretty unsure if this bug really belongs to KMyMoney or if it should be filed against aqbanking or gwenyfar. Leaving it open for you to decide.

The bug (changing the profile leads to a crash) still exists.
Comment 2 martin 2011-03-12 18:33:38 UTC
Hi,

this was a stupid bug in Gwen. Fixed in SVN now.


Regards
Martin
Comment 3 Cristian Oneț 2011-05-12 12:22:49 UTC
Closed by upstream - Gwenhywfar.