Bug 333057 - KMyMoney 4.6.3 crash importing Gnucash file
Summary: KMyMoney 4.6.3 crash importing Gnucash file
Status: RESOLVED DUPLICATE of bug 314491
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-03 22:41 UTC by raimondo.ariu
Modified: 2014-04-04 05:36 UTC (History)
0 users

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 raimondo.ariu 2014-04-03 22:41:23 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.12.3
Qt Version: 4.8.6
Operating System: Linux 3.11.0-19-generic x86_64
Distribution: Ubuntu 13.10

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

I was importing a Gnucash file (version 2.4.13)
Details; kmymoney PID: 7465 Segnale: Floating point exception (8) Ora: 4/4/2014 00:35:39

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd2592997c0 (LWP 7169))]

Thread 3 (Thread 0x7fd2406bf700 (LWP 7170)):
#0  0x00007fd253ba16bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd24f224670 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd24f1e51cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd24f1e563b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd24f1e57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd255774af6 in QEventDispatcherGlib::processEvents (this=0x7fd2380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fd25574630f in QEventLoop::processEvents (this=this@entry=0x7fd2406bed70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd255746605 in QEventLoop::exec (this=this@entry=0x7fd2406bed70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd255642c4f in QThread::exec (this=this@entry=0x21424d0) at thread/qthread.cpp:537
#9  0x00007fd255727a33 in QInotifyFileSystemWatcherEngine::run (this=0x21424d0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fd25564531f in QThreadPrivate::start (arg=0x21424d0) at thread/qthread_unix.cpp:349
#11 0x00007fd24f8aef6e in start_thread (arg=0x7fd2406bf700) at pthread_create.c:311
#12 0x00007fd253baf9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fd22ffff700 (LWP 7184)):
#0  0x00007fd253bbdc40 in pthread_mutex_lock (mutex=0x7fd228000a60) at forward.c:192
#1  0x00007fd24f2253a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd24f1e5595 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd24f1e57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd255774af6 in QEventDispatcherGlib::processEvents (this=0x7fd2280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fd25574630f in QEventLoop::processEvents (this=this@entry=0x7fd22fffed70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd255746605 in QEventLoop::exec (this=this@entry=0x7fd22fffed70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fd255642c4f in QThread::exec (this=this@entry=0x4a3bb20) at thread/qthread.cpp:537
#8  0x00007fd255727a33 in QInotifyFileSystemWatcherEngine::run (this=0x4a3bb20) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fd25564531f in QThreadPrivate::start (arg=0x4a3bb20) at thread/qthread_unix.cpp:349
#10 0x00007fd24f8aef6e in start_thread (arg=0x7fd22ffff700) at pthread_create.c:311
#11 0x00007fd253baf9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fd2592997c0 (LWP 7169)):
[KCrash Handler]
#5  0x00007fd25384a12a in __gmp_exception () from /usr/lib/x86_64-linux-gnu/libgmp.so.10
#6  0x00007fd25384a15e in __gmp_divide_by_zero () from /usr/lib/x86_64-linux-gnu/libgmp.so.10
#7  0x00007fd253863bcc in __gmpq_div () from /usr/lib/x86_64-linux-gnu/libgmp.so.10
#8  0x00007fd256cfa911 in AlkValue::operator/(AlkValue const&) const () from /usr/lib/libalkimia.so.4
#9  0x00007fd258e35674 in MyMoneyMoney::operator/ (this=this@entry=0x7fffe4258248, _b=...) at /build/buildd/kmymoney-4.6.3/kmymoney/mymoney/mymoneymoney.cpp:291
#10 0x00000000007182f3 in MyMoneyGncReader::convertSplit (this=this@entry=0x1a6cd60, gsp=0x4490710) at /build/buildd/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1679
#11 0x000000000071b1e5 in MyMoneyGncReader::convertTransaction (this=0x1a6cd60, gtx=0x44ce710) at /build/buildd/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1563
#12 0x000000000071b74d in GncTransaction::terminate (this=<optimized out>) at /build/buildd/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:734
#13 0x0000000000710998 in XmlReader::endElement (this=0x22dc500, elName=...) at /build/buildd/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1175
#14 0x00007fd255f9391e in QXmlSimpleReaderPrivate::processElementETagBegin2 (this=this@entry=0x3881520) at sax/qxml.cpp:4075
#15 0x00007fd255f9f798 in QXmlSimpleReaderPrivate::parseElement (this=this@entry=0x3881520) at sax/qxml.cpp:3891
#16 0x00007fd255fa0268 in QXmlSimpleReaderPrivate::parseContent (this=this@entry=0x3881520) at sax/qxml.cpp:4434
#17 0x00007fd255f9f9f0 in QXmlSimpleReaderPrivate::parseElement (this=this@entry=0x3881520) at sax/qxml.cpp:3960
#18 0x00007fd255fa0268 in QXmlSimpleReaderPrivate::parseContent (this=this@entry=0x3881520) at sax/qxml.cpp:4434
#19 0x00007fd255f9f9f0 in QXmlSimpleReaderPrivate::parseElement (this=this@entry=0x3881520) at sax/qxml.cpp:3960
#20 0x00007fd255fa0aa8 in QXmlSimpleReaderPrivate::parseBeginOrContinue (this=this@entry=0x3881520, state=<optimized out>, state@entry=0, incremental=incremental@entry=false) at sax/qxml.cpp:3505
#21 0x00007fd255fa0ce8 in QXmlSimpleReader::parse (this=<optimized out>, input=0x250fba0, incremental=<optimized out>) at sax/qxml.cpp:3447
#22 0x0000000000709767 in XmlReader::processFile (this=0x22dc500, pDevice=pDevice@entry=0x4d64cb0) at /build/buildd/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1069
#23 0x000000000071aab7 in MyMoneyGncReader::readFile (this=0x1a6cd60, pDevice=0x4d64cb0, storage=<optimized out>) at /build/buildd/kmymoney-4.6.3/kmymoney/converter/mymoneygncreader.cpp:1275
#24 0x00000000004b7ed3 in KMyMoneyView::readFile (this=0x1bc8b60, url=...) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kmymoneyview.cpp:785
#25 0x000000000048eaa8 in KMyMoneyApp::slotGncImport (this=0x1b088c0) at /build/buildd/kmymoney-4.6.3/kmymoney/kmymoney.cpp:2195
#26 0x000000000049561a in KMyMoneyApp::qt_static_metacall (_o=0x1b088c0, _c=72154688, _id=0, _a=0x7fd25389e5a0 <__gmp_0>) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/kmymoney.moc:413
#27 0x00007fd25575bae8 in QMetaObject::activate (sender=sender@entry=0x1c2dc10, m=m@entry=0x7fd25530ede0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffe4259550) at kernel/qobject.cpp:3539
#28 0x00007fd25485eab2 in QAction::triggered (this=this@entry=0x1c2dc10, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#29 0x00007fd254860483 in QAction::activate (this=this@entry=0x1c2dc10, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#30 0x00007fd254c8eb49 in QMenuPrivate::activateCausedStack (this=this@entry=0x1b13e20, causedStack=..., action=action@entry=0x1c2dc10, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#31 0x00007fd254c93079 in QMenuPrivate::activateAction (this=0x1b13e20, action=0x1c2dc10, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
#32 0x00007fd2579487a5 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#33 0x00007fd2548b45be in QWidget::event (this=this@entry=0x1cb2d20, event=event@entry=0x7fffe4259c80) at kernel/qwidget.cpp:8376
#34 0x00007fd254c96e7b in QMenu::event (this=0x1cb2d20, e=0x7fffe4259c80) at widgets/qmenu.cpp:2481
#35 0x00007fd254864e7c in QApplicationPrivate::notify_helper (this=this@entry=0x17d3040, receiver=receiver@entry=0x1cb2d20, e=e@entry=0x7fffe4259c80) at kernel/qapplication.cpp:4567
#36 0x00007fd25486b62d in QApplication::notify (this=<optimized out>, receiver=0x1cb2d20, e=0x7fffe4259c80) at kernel/qapplication.cpp:4110
#37 0x00007fd257891d5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0x00007fd25574773d in QCoreApplication::notifyInternal (this=0x17bb950, receiver=receiver@entry=0x1cb2d20, event=event@entry=0x7fffe4259c80) at kernel/qcoreapplication.cpp:953
#39 0x00007fd25486ade3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1cb2d20, event=event@entry=0x7fffe4259c80, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x1cb2d20, buttonDown=buttonDown@entry=0x7fd25534a318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#41 0x00007fd2548dfdec in QETWidget::translateMouseEvent (this=this@entry=0x1cb2d20, event=event@entry=0x7fffe4259fd0) at kernel/qapplication_x11.cpp:4568
#42 0x00007fd2548df359 in QApplication::x11ProcessEvent (this=0x17bb950, event=event@entry=0x7fffe4259fd0) at kernel/qapplication_x11.cpp:3627
#43 0x00007fd254906c02 in x11EventSourceDispatch (s=0x17bf670, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007fd24f1e53b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fd24f1e5708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fd24f1e57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fd255774af6 in QEventDispatcherGlib::processEvents (this=0x1789af0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#48 0x00007fd254906cb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007fd25574630f in QEventLoop::processEvents (this=this@entry=0x7fffe425a3b0, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007fd255746605 in QEventLoop::exec (this=this@entry=0x7fffe425a3b0, flags=...) at kernel/qeventloop.cpp:204
#51 0x00007fd25574bdeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#52 0x00007fd2548633cc in QApplication::exec () at kernel/qapplication.cpp:3828
#53 0x000000000045752a in runKMyMoney (splash=splash@entry=0x199e3d0, a=0x17bb950) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:282
#54 0x0000000000455e8e in main (argc=1, argv=0x7fffe425ae38) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:181

The reporter indicates this bug may be a duplicate of or related to bug 314491.

Possible duplicates by query: bug 314491.

Reported using DrKonqi
Comment 1 Thomas Baumgart 2014-04-04 05:36:29 UTC

*** This bug has been marked as a duplicate of bug 314491 ***