[Kmymoney-devel] [Bug 256282] New: Floating point crash importing gnucash file

Bradley Baetz bbaetz at gmail.com
Sun Nov 7 09:09:32 CET 2010


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

           Summary: Floating point crash importing gnucash file
           Product: kmymoney4
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: bbaetz at gmail.com


Application: kmymoney (4.5.0)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-48.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
Imported gnucash file. Crashes at the end of import, before the GUI allows any
other options.

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Floating point exception
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fac276b9840 (LWP 8112))]

Thread 2 (Thread 0x7fac129de700 (LWP 8113)):
#0  0x00007fac22172883 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fac1d0c2374 in g_main_context_poll (context=0x28e8a40, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x28e8a40, block=1, dispatch=1, self=<value
optimized out>) at gmain.c:2775
#3  0x00007fac1d0c2c82 in g_main_loop_run (loop=0x28e8b20) at gmain.c:2988
#4  0x00007fac12ef7774 in gdbus_shared_thread_func (data=<value optimized out>)
at gdbusprivate.c:277
#5  0x00007fac1d0e9446 in g_thread_create_proxy (data=0x28e8b40) at
gthread.c:1897
#6  0x00007fac23ae0d5b in start_thread (arg=0x7fac129de700) at
pthread_create.c:301
#7  0x00007fac2217c27d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fac276b9840 (LWP 8112)):
[KCrash Handler]
#6  0x00007fac272675ce in MyMoneyMoney::convert (this=0x7fff8da28ac0,
_denom=10000, how=MyMoneyMoney::RndRound) at
/usr/src/debug/kmymoney-4.5/kmymoney/mymoney/mymoneymoney.cpp:653
#7  0x0000000000781532 in AccountsModel::Private::value(MyMoneyAccount const&,
MyMoneyMoney const&) ()
#8  0x0000000000781fa5 in
AccountsModel::Private::setAccountData(QStandardItemModel*, QModelIndex const&,
MyMoneyAccount const&) ()
#9  0x00000000007840b8 in
AccountsModel::Private::loadInstitution(QStandardItemModel*, MyMoneyAccount
const&) ()
#10 0x000000000077c1eb in loadSubAccounts (this=0x2c3bbb0) at
/usr/src/debug/kmymoney-4.5/kmymoney/models/accountsmodel.cpp:67
#11 AccountsModel::load (this=0x2c3bbb0) at
/usr/src/debug/kmymoney-4.5/kmymoney/models/accountsmodel.cpp:550
#12 0x00000000007857a0 in Models::qt_metacall (this=0xbb3cb0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value
optimized out>) at
/usr/src/debug/kmymoney-4.5/x86_64-redhat-linux-gnu/kmymoney/models/moc_models.cpp:73
#13 0x00007fac23e6702f in QMetaObject::activate (sender=0x7fac274ef600,
m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3272
#14 0x00000000004bea6e in forceDataChanged (this=0x2c255e0) at
/usr/src/debug/kmymoney-4.5/kmymoney/mymoney/mymoneyfile.h:1366
#15 KMyMoneyView::initializeStorage (this=0x2c255e0) at
/usr/src/debug/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:990
#16 0x00000000004c004c in KMyMoneyView::readFile (this=0x2c255e0, url=<value
optimized out>) at
/usr/src/debug/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:803
#17 0x0000000000483f88 in KMyMoneyApp::slotGncImport (this=0x2add9f0) at
/usr/src/debug/kmymoney-4.5/kmymoney/kmymoney.cpp:2191
#18 0x000000000049ac6d in KMyMoneyApp::qt_metacall (this=0x2add9f0,
_c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fff8da2b810) at
/usr/src/debug/kmymoney-4.5/x86_64-redhat-linux-gnu/kmymoney/kmymoney.moc:438
#19 0x00007fac23e6702f in QMetaObject::activate (sender=0x2b203a0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8da2b810)
at kernel/qobject.cpp:3272
#20 0x00007fac22d8b4e2 in QAction::triggered (this=<value optimized out>,
_t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x00007fac22d8b6da in QAction::activate (this=0x2b203a0, event=<value
optimized out>) at kernel/qaction.cpp:1256
#22 0x00007fac231c19a3 in QMenuPrivate::activateCausedStack (this=0x2ba31a0,
causedStack=..., action=0x2b203a0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:993
#23 0x00007fac231c793a in QMenuPrivate::activateAction (this=0x2ba31a0,
action=0x2b203a0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1085
#24 0x00007fac25e1308d in KMenu::mouseReleaseEvent (this=0x2ba3060, e=<value
optimized out>) at /usr/src/debug/kdelibs-4.5.2/kdeui/widgets/kmenu.cpp:471
#25 0x00007fac22de3228 in QWidget::event (this=0x2ba3060, event=0x7fff8da2c490)
at kernel/qwidget.cpp:8187
#26 0x00007fac231c8b2b in QMenu::event (this=0x2ba3060, e=0x7fff8da2c490) at
widgets/qmenu.cpp:2410
#27 0x00007fac22d91b64 in QApplicationPrivate::notify_helper (this=0x2899aa0,
receiver=0x2ba3060, e=0x7fff8da2c490) at kernel/qapplication.cpp:4396
#28 0x00007fac22d96e5a in QApplication::notify (this=<value optimized out>,
receiver=0x2ba3060, e=0x7fff8da2c490) at kernel/qapplication.cpp:3959
#29 0x00007fac25d43416 in KApplication::notify (this=0x28999d0,
receiver=0x2ba3060, event=0x7fff8da2c490) at
/usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#30 0x00007fac23e527ac in QCoreApplication::notifyInternal (this=0x28999d0,
receiver=0x2ba3060, event=0x7fff8da2c490) at kernel/qcoreapplication.cpp:732
#31 0x00007fac22d92b65 in sendEvent (receiver=0x2ba3060, event=0x7fff8da2c490,
alienWidget=0x0, nativeWidget=0x2ba3060, buttonDown=0x7fac2385f658,
lastMouseReceiver=..., spontaneous=true) at
../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0x2ba3060,
event=0x7fff8da2c490, alienWidget=0x0, nativeWidget=0x2ba3060,
buttonDown=0x7fac2385f658, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3058
#33 0x00007fac22e0ffb4 in QETWidget::translateMouseEvent (this=0x2ba3060,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#34 0x00007fac22e0e4b9 in QApplication::x11ProcessEvent (this=0x28999d0,
event=0x7fff8da2cde0) at kernel/qapplication_x11.cpp:3536
#35 0x00007fac22e35a52 in x11EventSourceDispatch (s=0x289d840, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007fac1d0c1e33 in g_main_dispatch (context=0x289c520) at gmain.c:2149
#37 g_main_context_dispatch (context=0x289c520) at gmain.c:2702
#38 0x00007fac1d0c2610 in g_main_context_iterate (context=0x289c520, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2780
#39 0x00007fac1d0c28ad in g_main_context_iteration (context=0x289c520,
may_block=1) at gmain.c:2843
#40 0x00007fac23e7d8af in QEventDispatcherGlib::processEvents (this=0x287a370,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#41 0x00007fac22e356ee in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fac23e51b42 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007fac23e51d8c in QEventLoop::exec (this=0x7fff8da2d0f0, flags=...) at
kernel/qeventloop.cpp:201
#44 0x00007fac23e5620b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#45 0x00000000004534be in main (argc=1, argv=0x7fff8da2dcc8) at
/usr/src/debug/kmymoney-4.5/kmymoney/main.cpp:260

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