Bug 386721

Summary: crash when editing ledger
Product: [Applications] kmymoney Reporter: MK <bugs.m1>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description MK 2017-11-10 20:39:38 UTC
Application: kmymoney (4.8.0)
KDE Platform Version: 4.14.22
Qt Version: 4.8.7
Operating System: Linux 4.4.0-98-generic x86_64
Distribution: Ubuntu 16.04.3 LTS

-- Information about the crash:
Seems to be a race condition. Can't reproduce at the moment.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdf1a9a7900 (LWP 4026))]

Thread 3 (Thread 0x7fdeeda53700 (LWP 8579)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdf01074e2a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fdf01074e59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fdf107176ba in start_thread (arg=0x7fdeeda53700) at pthread_create.c:333
#4  0x00007fdf14ab83dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdefea1f700 (LWP 4029)):
#0  0x00007ffdbbff8caf in clock_gettime ()
#1  0x00007fdf14ac6836 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fdefea1e9e0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fdf15bba635 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007fdf15ca10d5 in QTimerInfoList::updateCurrentTime (this=0x7fdef80030e0) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7fdef80030e0, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007fdf15c9f90c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fdefea1eab4) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007fdf15c9f9d5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007fdf1022f91d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fdf102302bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fdf1023049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fdf15ca023e in QEventDispatcherGlib::processEvents (this=0x7fdef80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x00007fdf15c6e13f in QEventLoop::processEvents (this=this@entry=0x7fdefea1ec80, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fdf15c6e4a5 in QEventLoop::exec (this=this@entry=0x7fdefea1ec80, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fdf15b5d549 in QThread::exec (this=this@entry=0x1a852b0) at thread/qthread.cpp:538
#15 0x00007fdf15c4e1d3 in QInotifyFileSystemWatcherEngine::run (this=0x1a852b0) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007fdf15b5fe3c in QThreadPrivate::start (arg=0x1a852b0) at thread/qthread_unix.cpp:352
#17 0x00007fdf107176ba in start_thread (arg=0x7fdefea1f700) at pthread_create.c:333
#18 0x00007fdf14ab83dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdf1a9a7900 (LWP 4026)):
[KCrash Handler]
#6  0x00007fdf15c83b38 in QObjectPrivate::isSignalConnected (signal_index=19, this=0x17) at kernel/qobject_p.h:237
#7  QMetaObject::activate (sender=0xdfda750, m=<optimized out>, local_signal_index=1, argv=0x7ffdbbfe8b70) at kernel/qobject.cpp:3472
#8  0x00000000006261e1 in KMyMoneyCombo::objectCreation (this=0xdfda750, _t1=false) at /usr/local/src/kmymoney-4.8.0/debug/kmymoney/widgets/moc_kmymoneycombo.cpp:146
#9  0x000000000062967a in KMyMoneyCombo::focusOutEvent (this=0xdfda750, e=0x7ffdbbfe8fa0) at /usr/local/src/kmymoney-4.8.0/kmymoney/widgets/kmymoneycombo.cpp:257
#10 0x000000000077ce82 in KMyMoneyCategory::focusOutEvent (this=0xdfda750, ev=0x7ffdbbfe8fa0) at /usr/local/src/kmymoney-4.8.0/kmymoney/widgets/kmymoneycategory.cpp:168
#11 0x00007fdf166d6c50 in QWidget::event (this=0xdfda750, event=0x7ffdbbfe8fa0) at kernel/qwidget.cpp:8513
#12 0x00007fdf1667ffdc in QApplicationPrivate::notify_helper (this=this@entry=0x111a000, receiver=receiver@entry=0xdfda750, e=e@entry=0x7ffdbbfe8fa0) at kernel/qapplication.cpp:4570
#13 0x00007fdf16686f16 in QApplication::notify (this=this@entry=0x110b490, receiver=receiver@entry=0xdfda750, e=e@entry=0x7ffdbbfe8fa0) at kernel/qapplication.cpp:4356
#14 0x00007fdf173e66ba in KApplication::notify (this=0x110b490, receiver=0xdfda750, event=0x7ffdbbfe8fa0) at /build/kde4libs-qMm4F2/kde4libs-4.14.22/kdeui/kernel/kapplication.cpp:311
#15 0x00007fdf15c6f8bd in QCoreApplication::notifyInternal (this=0x110b490, receiver=receiver@entry=0xdfda750, event=event@entry=0x7ffdbbfe8fa0) at kernel/qcoreapplication.cpp:955
#16 0x00007fdf16684dcf in QCoreApplication::sendEvent (event=0x7ffdbbfe8fa0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QApplicationPrivate::setFocusWidget (focus=focus@entry=0x1c04980, reason=reason@entry=Qt::MouseFocusReason) at kernel/qapplication.cpp:2268
#18 0x00007fdf166d1c8b in QWidget::setFocus (this=0x1c04980, reason=reason@entry=Qt::MouseFocusReason) at kernel/qwidget.cpp:6464
#19 0x00007fdf1667e5ff in QApplicationPrivate::giveFocusAccordingToFocusPolicy (widget=widget@entry=0x1c06ee0, focusPolicy=focusPolicy@entry=Qt::ClickFocus, focusReason=focusReason@entry=Qt::MouseFocusReason) at kernel/qapplication.cpp:5604
#20 0x00007fdf16686fbc in QApplication::notify (this=this@entry=0x110b490, receiver=receiver@entry=0x1c06ee0, e=e@entry=0x7ffdbbfe9440) at kernel/qapplication.cpp:4070
#21 0x00007fdf173e66ba in KApplication::notify (this=0x110b490, receiver=0x1c06ee0, event=0x7ffdbbfe9440) at /build/kde4libs-qMm4F2/kde4libs-4.14.22/kdeui/kernel/kapplication.cpp:311
#22 0x00007fdf15c6f8bd in QCoreApplication::notifyInternal (this=0x110b490, receiver=receiver@entry=0x1c06ee0, event=event@entry=0x7ffdbbfe9440) at kernel/qcoreapplication.cpp:955
#23 0x00007fdf166866dd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1c06ee0, event=event@entry=0x7ffdbbfe9440, alienWidget=alienWidget@entry=0x1c06ee0, nativeWidget=nativeWidget@entry=0x1c0d720, buttonDown=buttonDown@entry=0x7fdf171ac368 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#25 0x00007fdf167043f2 in QETWidget::translateMouseEvent (this=this@entry=0x1c0d720, event=event@entry=0x7ffdbbfe97a0) at kernel/qapplication_x11.cpp:4638
#26 0x00007fdf16703c83 in QApplication::x11ProcessEvent (this=0x110b490, event=event@entry=0x7ffdbbfe97a0) at kernel/qapplication_x11.cpp:3626
#27 0x00007fdf1672d542 in x11EventSourceDispatch (s=0x1119830, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fdf10230197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fdf102303f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fdf1023049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fdf15ca021e in QEventDispatcherGlib::processEvents (this=0x10dccf0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#32 0x00007fdf1672d616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fdf15c6e13f in QEventLoop::processEvents (this=this@entry=0x7ffdbbfe9b80, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fdf15c6e4a5 in QEventLoop::exec (this=this@entry=0x7ffdbbfe9b80, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fdf15c74469 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#36 0x00000000004b2add in runKMyMoney (a=0x110b490, splash=0x12493d0) at /usr/local/src/kmymoney-4.8.0/kmymoney/main.cpp:283
#37 0x00000000004b1492 in main (argc=1, argv=0x7ffdbbfea628) at /usr/local/src/kmymoney-4.8.0/kmymoney/main.cpp:182

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:32:36 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2021-01-01 04:37:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-16 04:36:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!