Bug 262698

Summary: Crash (segmentation fault)
Product: [Applications] kmymoney Reporter: Ivo Smelhaus <ismelhaus>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ismelhaus
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Ivo Smelhaus 2011-01-09 21:19:18 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-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Quite often crash with "segmentation fault message". Mostly without any specific condition. In case of using "Suggest a category" for payee it is repeatable. 
In this case it was with starting KMM with --lang=C option but the same behaviour is with standardly used language (CZ).

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f39e6398700 (LWP 7512)):
#0  0x00007fff0e7ff904 in clock_gettime ()
#1  0x00007f39f43030bf in clock_gettime (clock_id=1, tp=0x7f39e6397ae0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f39fb0a594f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f39fb1721fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f39fb172225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f39fb1703dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f39e6397c1c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f39fb170485 in timerSourcePrepare (source=0x1, timeout=0x7f39e6397ae0) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f39f5472a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f39f5472e78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f39f547345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f39fb1701e6 in QEventDispatcherGlib::processEvents (this=0x7f39e00008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f39fb142a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f39fb142dec in QEventLoop::exec (this=0x7f39e6397db0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f39fb04d2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f39fb1225f8 in QInotifyFileSystemWatcherEngine::run (this=0x177f760) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f39fb05027e in QThreadPrivate::start (arg=0x177f760) at thread/qthread_unix.cpp:266
#17 0x00007f39fcf74971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#18 0x00007f39fa32492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f39ff950760 (LWP 7511)):
[KCrash Handler]
#6  0x00007f39fb15b8c6 in isSignalConnected (sender=0x3743760, m=<value optimized out>, local_signal_index=1, argv=0x7fff0e751da0) at kernel/qobject_p.h:223
#7  QMetaObject::activate (sender=0x3743760, m=<value optimized out>, local_signal_index=1, argv=0x7fff0e751da0) at kernel/qobject.cpp:3203
#8  0x00000000005ba1f2 in KMyMoneyMVCCombo::objectCreation (this=0x13, _t1=false) at /build/buildd/kmymoney-4.5/obj-x86_64-linux-gnu/kmymoney/widgets/kmymoneymvccombo.moc:135
#9  0x00000000005be191 in KMyMoneyMVCCombo::focusOutEvent (this=0x3743760, e=0x7fff0e752640) at /build/buildd/kmymoney-4.5/kmymoney/widgets/kmymoneymvccombo.cpp:239
#10 0x00007f39fbb4f91b in QWidget::event (this=0x3743760, event=0x7fff0e752640) at kernel/qwidget.cpp:8300
#11 0x00007f39fbaf9fdc in QApplicationPrivate::notify_helper (this=0x111cf20, receiver=0x3743760, e=0x7fff0e752640) at kernel/qapplication.cpp:4396
#12 0x00007f39fbaffaed in QApplication::notify (this=0x111ca50, receiver=0x3743760, e=0x7fff0e752640) at kernel/qapplication.cpp:4277
#13 0x00007f39fdf78156 in KApplication::notify (this=0x111ca50, receiver=0x3743760, event=0x7fff0e752640) at ../../kdeui/kernel/kapplication.cpp:310
#14 0x00007f39fb143cdc in QCoreApplication::notifyInternal (this=0x111ca50, receiver=0x3743760, event=0x7fff0e752640) at kernel/qcoreapplication.cpp:732
#15 0x00007f39fbafdf7a in sendEvent (focus=0x1f24ba0, reason=Qt::MouseFocusReason) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QApplicationPrivate::setFocusWidget (focus=0x1f24ba0, reason=Qt::MouseFocusReason) at kernel/qapplication.cpp:2174
#17 0x00007f39fbb4b051 in QWidget::setFocus (this=0x1f24ba0, reason=Qt::MouseFocusReason) at kernel/qwidget.cpp:6283
#18 0x00007f39fbb0186e in QApplication::notify (this=0x111ca50, receiver=0x1a86ac0, e=0x7fff0e752d80) at kernel/qapplication.cpp:3916
#19 0x00007f39fdf78156 in KApplication::notify (this=0x111ca50, receiver=0x1a86ac0, event=0x7fff0e752d80) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x00007f39fb143cdc in QCoreApplication::notifyInternal (this=0x111ca50, receiver=0x1a86ac0, event=0x7fff0e752d80) at kernel/qcoreapplication.cpp:732
#21 0x00007f39fbafedbe in sendEvent (receiver=0x1a86ac0, event=0x7fff0e752d80, alienWidget=0x1a86ac0, nativeWidget=0x2856d50, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (receiver=0x1a86ac0, event=0x7fff0e752d80, alienWidget=0x1a86ac0, nativeWidget=0x2856d50, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#23 0x00007f39fbb82345 in QETWidget::translateMouseEvent (this=0x2856d50, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#24 0x00007f39fbb80c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff0e7536a0) at kernel/qapplication_x11.cpp:3536
#25 0x00007f39fbbad0e2 in x11EventSourceDispatch (s=0x1120d00, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f39f546f342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f39f54732a8 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f39f547345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f39fb170193 in QEventDispatcherGlib::processEvents (this=0x10fbe90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#30 0x00007f39fbbaca4e in QGuiEventDispatcherGlib::processEvents (this=0x13, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f39fb142a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f39fb142dec in QEventLoop::exec (this=0x7fff0e7539d0, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f39fb146ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0x0000000000452d58 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Reported using DrKonqi
Comment 1 Ivo Smelhaus 2011-01-09 21:39:34 UTC
Created attachment 55785 [details]
New crash information added by DrKonqi

kmymoney (4.5.0) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
this is backtrace generated after pushing "Suggest a category" button for Payee. It is repeatable.

-- Backtrace (Reduced):
#6  begin (this=0x30, payeeId=...) at /usr/include/qt4/QtCore/qlist.h:97
#7  begin (this=0x30, payeeId=...) at /usr/include/qt4/QtCore/qlist.h:255
#8  MyMoneyTransaction::splitByPayee (this=0x30, payeeId=...) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneytransaction.cpp:173
#9  0x00000000004d08ae in KPayeesView::slotChooseDefaultAccount (this=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/views/kpayeesview.cpp:230
#10 0x00000000004d6998 in KPayeesView::qt_metacall (this=0x19294c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff62d67d70) at /build/buildd/kmymoney-4.5/obj-x86_64-linux-gnu/kmymoney/views/kpayeesview.moc:131
Comment 2 Jack 2011-01-09 22:05:54 UTC
Is this the same as Bug 248448?
Comment 3 Ivo Smelhaus 2011-01-09 22:13:10 UTC
It looks like it is.
Comment 4 Alvaro Soliverez 2011-01-10 00:44:44 UTC
Please try to upgrade to version 4.5.2

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