[Kmymoney-devel] [Bug 272631] New: Crash on importing QIF file

Paul Crook paul_crook at lineone.net
Fri May 6 16:29:38 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=272631

           Summary: Crash on importing QIF file
           Product: kmymoney4
           Version: 4.5.3
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: paul_crook at lineone.net


Application: kmymoney (4.5.3)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-9-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
When importing a QIF file, kmymoney crashes immediately on completing the
import.

This crash can be reproduced everytime.

The QIF file import works fine in kmymoney 4.5.0 but I've now tried 4.5.3 under
two different scenarios: (1) compiled from source under Ubuntu 10.10 and (2)
install as a package as part of the recent distribution upgrade of Ubuntu to
11.04.  Both these scenarios segfault in exactly the same way.  Below is on a
simple test account. But I'm getting the same behaviour on my real account.

Console output (on a simple test account) is:

laptop[currentdir]: kmymoney new.account.kmy 
Application asked to unregister timer 0xe000027 which is not registered in this
thread. Fix application.
7:2011/05/06 15-09-26:aqbanking(4308):started
KMyMoney kbanking plugin loaded
Object::disconnect: No such slot KMyMoneyView::slotRememberPage(const
QModelIndex, const QModelIndex)
Object::connect: No such slot KMyMoneyView::slotRememberPage(const QModelIndex,
const QModelIndex)
KMyMoney reconciliation report plugin loaded
KMyMoney printcheck plugin loaded
QFSFileEngine::open: No file name specified
KMyMoney ofximport plugin loaded
KMyMoney iCalendar plugin loaded
reading file
start parsing file
startDocument
reading accounts
reading transactions
reading securities
reading currencies
reading prices
reading reports
endDocument
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
Read 108 bytes
Selected date format: '%d %m %y'
Statement with 3 transactions, 0 prices and 0 securities added to the statement
list
13 lines processed
Application asked to unregister timer 0x20000039 which is not registered in
this thread. Fix application.
Importing statement for 'Current A/C'
Processing transactions (Current A/C)
Payee 'A N OTHER' created
Payee 'PERSONAL' created
Payee 'INSURANCE' created
Processing transactions done (Current A/C)
Importing statement for 'Current A/C' done
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
KCrash: Application 'kmymoney' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/xxx/.kde/socket-xxx-laptop/kdeinit4__0
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...

[1]+  Stopped                 kmymoney new.account.kmy

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0xb771a930 (LWP 4308))]

Thread 3 (Thread 0xb275fb70 (LWP 4309)):
#0  0x00afcd41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x036cddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0379a4f2 in updateCurrentTime (this=0x975325c, tm=...) at
kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x975325c, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0x03798d32 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xb275f0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x03798dcd in timerSourcePrepare (source=0x9753228, timeout=<value
optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x08ec0fd4 in g_main_context_prepare (context=<value optimized out>,
priority=0xb275f14c) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2761
#8  0x08ec1e63 in g_main_context_iterate (context=0x9753298, block=1,
dispatch=1, self=<value optimized out>) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:3071
#9  0x08ec2524 in g_main_context_iteration (context=0x9753298, may_block=1) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#10 0x03799577 in QEventDispatcherGlib::processEvents (this=0x9753650,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0376b289 in QEventLoop::processEvents (this=0xb275f290, flags=...) at
kernel/qeventloop.cpp:149
#12 0x0376b522 in QEventLoop::exec (this=0xb275f290, flags=...) at
kernel/qeventloop.cpp:201
#13 0x036752a0 in QThread::exec (this=0x9751830) at thread/qthread.cpp:492
#14 0x0374cfdb in QInotifyFileSystemWatcherEngine::run (this=0x9751830) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0x03677da2 in QThreadPrivate::start (arg=0x9751830) at
thread/qthread_unix.cpp:320
#16 0x00195e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0515673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb11b7b70 (LWP 4315)):
#0  0x00afcd41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x036cddd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0379a4f2 in updateCurrentTime (this=0xb1e03e84, tm=...) at
kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb1e03e84, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0x03798d32 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xb11b70dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x03798dcd in timerSourcePrepare (source=0xb1e03e50, timeout=<value
optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x08ec0fd4 in g_main_context_prepare (context=<value optimized out>,
priority=0xb11b714c) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2761
#8  0x08ec1e63 in g_main_context_iterate (context=0xb1e00580, block=1,
dispatch=1, self=<value optimized out>) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:3071
#9  0x08ec2524 in g_main_context_iteration (context=0xb1e00580, may_block=1) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#10 0x03799577 in QEventDispatcherGlib::processEvents (this=0x9f06808,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0376b289 in QEventLoop::processEvents (this=0xb11b7290, flags=...) at
kernel/qeventloop.cpp:149
#12 0x0376b522 in QEventLoop::exec (this=0xb11b7290, flags=...) at
kernel/qeventloop.cpp:201
#13 0x036752a0 in QThread::exec (this=0x9e36ee0) at thread/qthread.cpp:492
#14 0x0374cfdb in QInotifyFileSystemWatcherEngine::run (this=0x9e36ee0) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0x03677da2 in QThreadPrivate::start (arg=0x9e36ee0) at
thread/qthread_unix.cpp:320
#16 0x00195e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0515673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb771a930 (LWP 4308)):
[KCrash Handler]
#7  QCoreApplication::notifyInternal (this=0x93cc3e8, receiver=0x9eb1018,
event=0xbfd095b0) at kernel/qcoreapplication.cpp:718
#8  0x061619d9 in sendEvent (this=0x9750658, event=...) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#9  QInputContext::sendEvent (this=0x9750658, event=...) at
inputmethod/qinputcontext.cpp:280
#10 0x06161988 in QInputContext::sendEvent (this=0x97713d8, event=...) at
inputmethod/qinputcontext.cpp:271
#11 0x01e4cf46 in
IBusInputContext::displayPreeditText(IBus::Pointer<IBus::Text> const&, unsigned
int, bool) () from /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so
#12 0x01e4d165 in
IBusInputContext::slotUpdatePreeditText(IBus::Pointer<IBus::Text> const&,
unsigned int, bool) () from /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so
#13 0x01e50ee0 in IBusInputContext::qt_metacall(QMetaObject::Call, int, void**)
() from /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so
#14 0x037726ba in QMetaObject::metacall (object=0x97713d8,
cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfd09900) at
kernel/qmetaobject.cpp:237
#15 0x037824ff in QMetaObject::activate (sender=0x9771e00, m=0x1f93908,
local_signal_index=1, argv=0xbfd09900) at kernel/qobject.cpp:3287
#16 0x01f77ab8 in
IBus::InputContext::updatePreeditText(IBus::Pointer<IBus::Text> const&,
unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#17 0x01f6c55b in IBus::InputContext::slotUpdatePreeditText(QDBusVariant
const&, unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#18 0x01f7786d in IBus::InputContext::qt_metacall(QMetaObject::Call, int,
void**) () from /usr/lib/libibus-qt.so.1
#19 0x037726ba in QMetaObject::metacall (object=0x9771e00,
cl=QMetaObject::InvokeMetaMethod, idx=24, argv=0xbfd09a50) at
kernel/qmetaobject.cpp:237
#20 0x037824ff in QMetaObject::activate (sender=0x9751598, m=0x1f93844,
local_signal_index=17, argv=0xbfd09a50) at kernel/qobject.cpp:3287
#21 0x01f771aa in IBusInputContextProxy::UpdatePreeditText(QDBusVariant const&,
unsigned int, bool) () from /usr/lib/libibus-qt.so.1
#22 0x01f7673b in IBusInputContextProxy::qt_metacall(QMetaObject::Call, int,
void**) () from /usr/lib/libibus-qt.so.1
#23 0x00239acd in QDBusConnectionPrivate::deliverCall (this=0xb1e00628,
object=0x9751598, msg=..., metaTypes=..., slotIdx=22) at
qdbusintegrator.cpp:942
#24 0x002441d7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9fa7f68,
object=0x9751598) at qdbusintegrator_p.h:103
#25 0x037813b7 in QObject::event (this=0x9751598, e=0x9fa7f68) at
kernel/qobject.cpp:1226
#26 0x05b3ad24 in QApplicationPrivate::notify_helper (this=0x93cf608,
receiver=0x9751598, e=0x9fa7f68) at kernel/qapplication.cpp:4462
#27 0x05b3f8ce in QApplication::notify (this=0x93cc3e8, receiver=0x9751598,
e=0x9fa7f68) at kernel/qapplication.cpp:3862
#28 0x006193ca in KApplication::notify (this=0x93cc3e8, receiver=0x9751598,
event=0x9fa7f68) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x0376c0bb in QCoreApplication::notifyInternal (this=0x93cc3e8,
receiver=0x9751598, event=0x9fa7f68) at kernel/qcoreapplication.cpp:731
#30 0x0376fc79 in sendEvent (receiver=0x0, event_type=0, data=0x9393f50) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x9393f50) at kernel/qcoreapplication.cpp:1372
#32 0x0376fe0d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1265
#33 0x037993c4 in sendPostedEvents (s=0x93d2950) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x93d2950) at
kernel/qeventdispatcher_glib.cpp:277
#35 0x08ec1aa8 in g_main_dispatch (context=0x93d28c0) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#36 g_main_context_dispatch (context=0x93d28c0) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#37 0x08ec2270 in g_main_context_iterate (context=0x93d28c0, block=149760032,
dispatch=1, self=<value optimized out>) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#38 0x08ec2524 in g_main_context_iteration (context=0x93d28c0, may_block=1) at
/build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#39 0x0379953c in QEventDispatcherGlib::processEvents (this=0x9393aa8,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0x05bee775 in QGuiEventDispatcherGlib::processEvents (this=0x9393aa8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x0376b289 in QEventLoop::processEvents (this=0xbfd0a380, flags=...) at
kernel/qeventloop.cpp:149
#42 0x0376b522 in QEventLoop::exec (this=0xbfd0a380, flags=...) at
kernel/qeventloop.cpp:201
#43 0x06058003 in QDialog::exec (this=0x9bdd6c8) at dialogs/qdialog.cpp:552
#44 0x0057bb4c in KMessageBox::createKMessageBox (dialog=0x9bdd6c8, icon=...,
text=..., strlist=..., ask=..., checkboxReturn=0xbfd0a6bf, options=...,
details=..., notifyType=QMessageBox::Information) at
../../kdeui/dialogs/kmessagebox.cpp:337
#45 0x0057c335 in KMessageBox::createKMessageBox (dialog=0x9bdd6c8,
icon=QMessageBox::Information, text=..., strlist=..., ask=...,
checkboxReturn=0xbfd0a6bf, options=..., details=...) at
../../kdeui/dialogs/kmessagebox.cpp:152
#46 0x0057f126 in KMessageBox::informationListWId (parent_id=94371903,
text=..., strlist=..., caption=..., dontShowAgainName=..., options=...) at
../../kdeui/dialogs/kmessagebox.cpp:998
#47 0x0057f296 in KMessageBox::informationList (parent=0x946ccf0, text=...,
strlist=..., caption=..., dontShowAgainName=..., options=...) at
../../kdeui/dialogs/kmessagebox.cpp:969
#48 0x080c0a71 in _start ()

This bug may be a duplicate of or related to bug 238483.

Possible duplicates by query: bug 269540.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list