Bug 269512

Summary: KMyMoney crashed while making entries in account ledger
Product: [Applications] kmymoney Reporter: John Hayes <jdhayes.linux>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Hayes 2011-03-27 05:04:53 UTC
Application: kmymoney (4.5.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

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

I have set up accounts and was loadiing the main checking ledger with entries, the specific entry was a transfer from one checking account to another.

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

Thread 2 (Thread 0xb2828b70 (LWP 16070)):
#0  0x08736e36 in clock_gettime () from /lib/librt.so.1
#1  0x0799a50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x07a716e5 in QTimerInfoList::updateCurrentTime (this=0xb1f00934) at kernel/qeventdispatcher_unix.cpp:339
#4  0x07a7172a in QTimerInfoList::timerWait (this=0xb1f00934, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x07a6f7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb28280bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x07a6f83d in timerSourcePrepare (source=0x0, timeout=0x873aff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x07cc8e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x07cc9279 in ?? () from /lib/libglib-2.0.so.0
#9  0x07cc9848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x07a6f59f in QEventDispatcherGlib::processEvents (this=0x8f76628, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x07a3f609 in QEventLoop::processEvents (this=0xb2828290, flags=) at kernel/qeventloop.cpp:149
#12 0x07a3fa8a in QEventLoop::exec (this=0xb2828290, flags=...) at kernel/qeventloop.cpp:201
#13 0x0793bb7e in QThread::exec (this=0x8f75b48) at thread/qthread.cpp:490
#14 0x07a1e35b in QInotifyFileSystemWatcherEngine::run (this=0x8f75b48) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0793edf9 in QThreadPrivate::start (arg=0x8f75b48) at thread/qthread_unix.cpp:266
#16 0x007d6cc9 in start_thread () from /lib/libpthread.so.0
#17 0x02e8d69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb78a2710 (LWP 16069)):
[KCrash Handler]
#7  QWidget::focusPolicy (this=0x9b5c138) at kernel/qwidget.cpp:7157
#8  0x01757f54 in QWidget::focusNextPrevChild (this=0x98295e8, next=40) at kernel/qwidget.cpp:6425
#9  0x01757f54 in QWidget::focusNextPrevChild (this=0x9be0d80, next=40) at kernel/qwidget.cpp:6425
#10 0x0175c9d4 in QWidget::event (this=0x9be0d80, event=0xbfdb0f04) at kernel/qwidget.cpp:8216
#11 0x01b4cb7c in QComboBox::event (this=0x9be0d80, event=0xbfdb0f04) at widgets/qcombobox.cpp:2834
#12 0x016fefdc in QApplicationPrivate::notify_helper (this=0x89fbd18, receiver=0x9be0d80, e=0xbfdb0f04) at kernel/qapplication.cpp:4396
#13 0x01706ac9 in QApplication::notify (this=0x89fbc68, receiver=0x9be0d80, e=0xbfdb0f04) at kernel/qapplication.cpp:3857
#14 0x00a1968a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x07a40b3b in QCoreApplication::notifyInternal (this=0x89fbc68, receiver=0x9be0d80, event=0xbfdb0f04) at kernel/qcoreapplication.cpp:732
#16 0x016feb9e in sendSpontaneousEvent (receiver=0x9be0d80, event=0xa08bc28) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 qt_sendSpontaneousEvent (receiver=0x9be0d80, event=0xa08bc28) at kernel/qapplication.cpp:5388
#18 0x017bb69d in QKeyMapper::sendKeyEvent (keyWidget=0x9be0d80, grab=false, type=QEvent::KeyPress, code=16777218, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, nativeScanCode=23, nativeVirtualKey=65056, nativeModifiers=17) at kernel/qkeymapper_x11.cpp:1867
#19 0x017bdb49 in QKeyMapperPrivate::translateKeyEvent (this=0x8a25d50, keyWidget=0x9be0d80, event=0xbfdb15cc, grab=true) at kernel/qkeymapper_x11.cpp:1837
#20 0x01791387 in QApplication::x11ProcessEvent (this=0x89fbc68, event=0xbfdb15cc) at kernel/qapplication_x11.cpp:3429
#21 0x017c136a in x11EventSourceDispatch (s=0x89fefa8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#22 0x07cc5855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x07cc9668 in ?? () from /lib/libglib-2.0.so.0
#24 0x07cc9848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x07a6f565 in QEventDispatcherGlib::processEvents (this=0x89e1b78, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#26 0x017c0be5 in QGuiEventDispatcherGlib::processEvents (this=0x89e1b78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x07a3f609 in QEventLoop::processEvents (this=0xbfdb18c0, flags=) at kernel/qeventloop.cpp:149
#28 0x07a3fa8a in QEventLoop::exec (this=0xbfdb18c0, flags=...) at kernel/qeventloop.cpp:201
#29 0x01c69873 in QDialog::exec (this=0x9b0fed0) at dialogs/qdialog.cpp:552
#30 0x083724d8 in KSplitTransactionDlg::exec (this=0x9b0fed0) at /build/buildd/kmymoney-4.5/kmymoney/dialogs/ksplittransactiondlg.cpp:172
#31 0x08395f6d in StdTransactionEditor::slotEditSplits (this=0x9c1c528) at /build/buildd/kmymoney-4.5/kmymoney/dialogs/transactioneditor.cpp:1861
#32 0x083979a3 in StdTransactionEditor::qt_metacall (this=0x9c1c528, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfdb1dfc) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/dialogs/transactioneditor.moc:304
#33 0x07a468ca in QMetaObject::metacall (object=0x9c1c528, cl=168344640, idx=24, argv=0xbfdb1dfc) at kernel/qmetaobject.cpp:237
#34 0x07a596ad in QMetaObject::activate (sender=0x9e085c0, m=0x86d6bf8, local_signal_index=0, argv=0x1) at kernel/qobject.cpp:3280
#35 0x083c58b7 in KMyMoneyCategory::focusIn (this=0x9e085c0) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/widgets/kmymoneycategory.moc:88
#36 0x083c5911 in KMyMoneyCategory::qt_metacall (this=0x9e085c0, _c=QMetaObject::InvokeMetaMethod, _id=71, _a=0x9e42358) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/widgets/kmymoneycategory.moc:76
#37 0x07a468ca in QMetaObject::metacall (object=0x9e085c0, cl=168344640, idx=71, argv=0x9e42358) at kernel/qmetaobject.cpp:237
#38 0x07a51df6 in QMetaCallEvent::placeMetaCall (this=0x98090f8, object=0x9e085c0) at kernel/qobject.cpp:534
#39 0x07a536a2 in QObject::event (this=0x9e085c0, e=0xa08bc28) at kernel/qobject.cpp:1219
#40 0x0175c936 in QWidget::event (this=0x9e085c0, event=0x98090f8) at kernel/qwidget.cpp:8646
#41 0x01b4cb7c in QComboBox::event (this=0x9e085c0, event=0x98090f8) at widgets/qcombobox.cpp:2834
#42 0x016fefdc in QApplicationPrivate::notify_helper (this=0x89fbd18, receiver=0x9e085c0, e=0x98090f8) at kernel/qapplication.cpp:4396
#43 0x017050e9 in QApplication::notify (this=0x89fbc68, receiver=0x9e085c0, e=0x98090f8) at kernel/qapplication.cpp:4361
#44 0x00a1968a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#45 0x07a40b3b in QCoreApplication::notifyInternal (this=0x89fbc68, receiver=0x9e085c0, event=0x98090f8) at kernel/qcoreapplication.cpp:732
#46 0x07a43d8b in sendEvent (receiver=0x0, event_type=0, data=0x89e1eb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x89e1eb8) at kernel/qcoreapplication.cpp:1373
#48 0x07a43f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#49 0x07a6fa74 in sendPostedEvents (s=0x89fd990) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#50 postEventSourceDispatch (s=0x89fd990) at kernel/qeventdispatcher_glib.cpp:277
#51 0x07cc5855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0x07cc9668 in ?? () from /lib/libglib-2.0.so.0
#53 0x07cc9848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0x07a6f565 in QEventDispatcherGlib::processEvents (this=0x89e1b78, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#55 0x017c0be5 in QGuiEventDispatcherGlib::processEvents (this=0x89e1b78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x07a3f609 in QEventLoop::processEvents (this=0xbfdb27f4, flags=) at kernel/qeventloop.cpp:149
#57 0x07a3fa8a in QEventLoop::exec (this=0xbfdb27f4, flags=...) at kernel/qeventloop.cpp:201
#58 0x07a4400f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#59 0x016fde07 in QApplication::exec () at kernel/qapplication.cpp:3672
#60 0x08086107 in main (argc=1, argv=0xbfdb2c84) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 Cristian OneČ› 2011-05-14 10:15:21 UTC
BUG 244962 was fixed in revision 1171810 which was after 4.5.0. I'm pretty sure that this one is the same bug although the stack trace is not exactly the same but the slight difference can be explained by the different qt versions of the two reports. And both reports are about a crash after tabbing trough widgets in the split editor.

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