[Kmymoney-devel] [Bug 294385] New: Import QIF file
Allan
agander93 at gmail.com
Sun Feb 19 00:56:46 UTC 2012
On 18/02/12 21:41, sia dehghan wrote:
> https://bugs.kde.org/show_bug.cgi?id=294385
>
> Summary: Import QIF file
> Product: kmymoney4
> Version: 4.5.3
> Platform: Compiled Sources
> OS/Version: Linux
> Status: UNCONFIRMED
> Severity: crash
> Priority: NOR
> Component: general
> AssignedTo: kmymoney-devel at kde.org
> ReportedBy: siadehghan at gmail.com
>
>
> Application: kmymoney (4.5.3)
> KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources)
> Qt Version: 4.7.4
> Operating System: Linux 3.0.0-16-generic i686
> Distribution: Ubuntu 11.10
>
> -- Information about the crash:
> - What I was doing when the application crashed: I tried to import QIF file -
> it did not recognized the accounts from my Quicken - QIF file
>
> -- Backtrace:
> Application: KMyMoney (kmymoney), signal: Segmentation fault
> [Current thread is 1 (Thread 0xb7780930 (LWP 15002))]
>
> Thread 3 (Thread 0xb6bffb70 (LWP 15005)):
> #0 0x003dd416 in __kernel_vsyscall ()
> #1 0x009b640e in poll () from /lib/i386-linux-gnu/libc.so.6
> #2 0x034bc34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #3 0x034ad896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #4 0x034adf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #5 0x03c4ecea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
> #6 0x034d45f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #7 0x00b00d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
> #8 0x009c50ce in clone () from /lib/i386-linux-gnu/libc.so.6
> Backtrace stopped: Not enough registers or memory available to unwind further
>
> Thread 2 (Thread 0xb75bbb70 (LWP 15013)):
> #0 0x00b02da8 in pthread_mutex_lock () from
> /lib/i386-linux-gnu/libpthread.so.0
> #1 0x034acceb in g_main_context_check () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #2 0x034ad8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #3 0x034adc2a in g_main_context_iteration () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #4 0x013eab37 in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #5 0x013bb1dd in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #6 0x013bb421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #7 0x012be90b in QThread::exec() () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #8 0x0139be2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #9 0x012c17b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #10 0x00b00d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
> #11 0x009c50ce in clone () from /lib/i386-linux-gnu/libc.so.6
> Backtrace stopped: Not enough registers or memory available to unwind further
>
> Thread 1 (Thread 0xb7780930 (LWP 15002)):
> [KCrash Handler]
> #7 0x03340c21 in QSpiAccessibleBridge::notifyAccessibilityUpdate(int,
> QAccessibleInterface*, int) () from
> /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
> #8 0x01bde3ee in QAccessible::updateAccessibility(QObject*, int,
> QAccessible::Event) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
> #9 0x0169bb59 in QWidget::setFocus(Qt::FocusReason) () from
> /usr/lib/i386-linux-gnu/libQtGui.so.4
> #10 0x01652e30 in QApplication::setActiveWindow(QWidget*) () from
> /usr/lib/i386-linux-gnu/libQtGui.so.4
> #11 0x016db459 in QApplication::x11ProcessEvent(_XEvent*) () from
> /usr/lib/i386-linux-gnu/libQtGui.so.4
> #12 0x0170728c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
> #13 0x034ad25f in g_main_context_dispatch () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #14 0x034ad990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #15 0x034adc2a in g_main_context_iteration () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #16 0x013eaada in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #17 0x01706e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
> #18 0x013bb1dd in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #19 0x013bb421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #20 0x01b86819 in QDialog::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
> #21 0x092ebb74 in KMessageBox::createKMessageBox(KDialog*, QIcon const&,
> QString const&, QStringList const&, QString const&, bool*,
> QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from
> /usr/lib/libkdeui.so.5
> #22 0x092ec408 in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon,
> QString const&, QStringList const&, QString const&, bool*,
> QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libkdeui.so.5
> #23 0x092ef679 in KMessageBox::informationListWId(unsigned long, QString
> const&, QStringList const&, QString const&, QString const&,
> QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
> #24 0x092ef80b in KMessageBox::informationList(QWidget*, QString const&,
> QStringList const&, QString const&, QString const&,
> QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
> #25 0x092ef86d in KMessageBox::information(QWidget*, QString const&, QString
> const&, QString const&, QFlags<KMessageBox::Option>) () from
> /usr/lib/libkdeui.so.5
> #26 0x080a623f in KMyMoneyApp::createAccount (this=0x9dee7b0, newAccount=...,
> parentAccount=..., brokerageAccount=..., openingBal=...) at
> /build/buildd/kmymoney-4.5.3/kmymoney/kmymoney.cpp:2937
> #27 0x083d29f9 in MyMoneyQifReader::processCategoryEntry (this=0xaaacb88) at
> /build/buildd/kmymoney-4.5.3/kmymoney/converter/mymoneyqifreader.cpp:886
> #28 0x083df658 in MyMoneyQifReader::processQifEntry (this=0xaaacb88) at
> /build/buildd/kmymoney-4.5.3/kmymoney/converter/mymoneyqifreader.cpp:650
> #29 0x083dff6b in MyMoneyQifReader::slotProcessData (this=0xaaacb88) at
> /build/buildd/kmymoney-4.5.3/kmymoney/converter/mymoneyqifreader.cpp:386
> #30 0x083e01c3 in MyMoneyQifReader::qt_metacall (this=0xaaacb88,
> _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xa6a10b0) at
> /build/buildd/kmymoney-4.5.3/obj-i686-linux-gnu/kmymoney/converter/mymoneyqifreader.moc:87
> #31 0x013c2b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int,
> void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #32 0x013cd685 in QMetaCallEvent::placeMetaCall(QObject*) () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #33 0x013d4b52 in QObject::event(QEvent*) () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #34 0x0164ed84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
> /usr/lib/i386-linux-gnu/libQtGui.so.4
> #35 0x01654133 in QApplication::notify(QObject*, QEvent*) () from
> /usr/lib/i386-linux-gnu/libQtGui.so.4
> #36 0x09394971 in KApplication::notify(QObject*, QEvent*) () from
> /usr/lib/libkdeui.so.5
> #37 0x013bc19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #38 0x013bff93 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int,
> QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #39 0x013c00ec in QCoreApplication::sendPostedEvents(QObject*, int) () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #40 0x013ea6a4 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #41 0x034ad25f in g_main_context_dispatch () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #42 0x034ad990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #43 0x034adc2a in g_main_context_iteration () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #44 0x013eaada in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #45 0x01706e7a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
> #46 0x013bb1dd in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #47 0x013bb421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
> from /usr/lib/i386-linux-gnu/libQtCore.so.4
> #48 0x013c019d in QCoreApplication::exec() () from
> /usr/lib/i386-linux-gnu/libQtCore.so.4
> #49 0x0164c924 in QApplication::exec() () from
> /usr/lib/i386-linux-gnu/libQtGui.so.4
> #50 0x08086c4f in main (argc=) at
> /build/buildd/kmymoney-4.5.3/kmymoney/main.cpp:260
>
> Reported using DrKonqi
>
Version: 4.5.3 is pretty old now, and a lot of bugs have been fixed in
the mean time. Later versions are available for Ubuntu.
That said, we do often have problems importing qif files because of the
looseness of that format, although they don't usually cause crashes.
Are you able to run KMM from the command line, to see if anything
untoward is flagged prior to the crash? The next thing after that, is
to investigate your file, although that obviously may not be easy for
you agree to. It appears though that KMM was attempting to create a
category account, so it might be worthwhile you looking at the category
entries, to see if anything looks amiss. If not, as an experiment,
make a copy of the file minus the category entries, and see if that goes
further.
Another possible avenue to explore is to think about reducing the
size/complexity of the file, that is, assuming you are attempting to
import all your Quicken data in one file. Try reducing the number of
accounts to see if that helps. Generally, it is perfectly possible to
import these files, although sometimes a bit of juggling may be required.
Allan
More information about the KMyMoney-devel
mailing list