Bug 400220

Summary: Korganizer crashes when changeing calendar color under resources.
Product: [Applications] korganizer Reporter: jv <jv3303>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jv 2018-10-23 21:01:51 UTC
Application: korganizer (5.9.2)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-38-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed: I was changing the color of my calendar to red.  Korganizer crashes everytime I try to do this.

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc20a32d880 (LWP 5232))]

Thread 6 (Thread 0x7fc1cd21c700 (LWP 5246)):
#0  0x00007fc1fd7b09f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fc1f6b99fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fc1f6b99f68, cond=0x7fc1f6b99f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fc1f6b99f90, mutex=0x7fc1f6b99f68) at pthread_cond_wait.c:655
#3  0x00007fc1f68a4954 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fc1f68a4999 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fc1fd7aa6db in start_thread (arg=0x7fc1cd21c700) at pthread_create.c:463
#6  0x00007fc205b1688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fc1e1725700 (LWP 5237)):
#0  0x00007fffbf5f297d in ?? ()
#1  0x00007fffbf5f2c30 in clock_gettime ()
#2  0x00007fc205b25ea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fc1e1724a90) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007fc20665be41 in qt_clock_gettime (ts=0x7fc1e1724a90, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#5  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#6  0x00007fc20665a679 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fc1d8004cf0) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007fc20665ac55 in QTimerInfoList::timerWait (this=0x7fc1d8004cf0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007fc20665c29e in timerSourcePrepareHelper (timeout=0x7fc1e1724b54, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#9  timerSourcePrepare (source=<optimized out>, timeout=0x7fc1e1724b54) at kernel/qeventdispatcher_glib.cpp:165
#10 0x00007fc1fb6d5998 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fc1fb6d636b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fc1fb6d654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fc20665c53b in QEventDispatcherGlib::processEvents (this=0x7fc1d8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#14 0x00007fc2066007fa in QEventLoop::exec (this=this@entry=0x7fc1e1724d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#15 0x00007fc20642bbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#16 0x00007fc206436adb in QThreadPrivate::start (arg=0x560a35ce56d0) at thread/qthread_unix.cpp:367
#17 0x00007fc1fd7aa6db in start_thread (arg=0x7fc1e1725700) at pthread_create.c:463
#18 0x00007fc205b1688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc1e1f26700 (LWP 5235)):
#0  0x00007fc205b09bf9 in __GI___poll (fds=0x7fc1d4066100, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc1fb6d6439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc1fb6d654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc20665c53b in QEventDispatcherGlib::processEvents (this=0x7fc1d4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc2066007fa in QEventLoop::exec (this=this@entry=0x7fc1e1f25d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fc20642bbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fc206436adb in QThreadPrivate::start (arg=0x560a35c999d0) at thread/qthread_unix.cpp:367
#7  0x00007fc1fd7aa6db in start_thread (arg=0x7fc1e1f26700) at pthread_create.c:463
#8  0x00007fc205b1688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc1e3137700 (LWP 5234)):
#0  0x00007fc205b050b4 in __GI___libc_read (fd=7, buf=0x7fc1e3136ae0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fc1fb71aa00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc1fb6d5f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc1fb6d63e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc1fb6d654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc20665c53b in QEventDispatcherGlib::processEvents (this=0x7fc1dc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fc2066007fa in QEventLoop::exec (this=this@entry=0x7fc1e3136cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fc20642bbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007fc204fb3e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fc206436adb in QThreadPrivate::start (arg=0x7fc20522bd60) at thread/qthread_unix.cpp:367
#10 0x00007fc1fd7aa6db in start_thread (arg=0x7fc1e3137700) at pthread_create.c:463
#11 0x00007fc205b1688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc1ea555700 (LWP 5233)):
#0  0x00007fc205b09bf9 in __GI___poll (fds=0x7fc1ea554c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc1fb268747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc1fb26a36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc1ed30eed9 in QXcbEventReader::run (this=0x560a35c1d430) at qxcbconnection.cpp:1391
#4  0x00007fc206436adb in QThreadPrivate::start (arg=0x560a35c1d430) at thread/qthread_unix.cpp:367
#5  0x00007fc1fd7aa6db in start_thread (arg=0x7fc1ea555700) at pthread_create.c:463
#6  0x00007fc205b1688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc20a32d880 (LWP 5232)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x18) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x18) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#9  QtPrivate::RefCount::ref (this=0x18) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#10 0x00007fc2065b5084 in QVector<QPersistentModelIndexData*>::QVector (this=0x7fffbf5eb7b0, v=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:358
#11 0x00007fc2065b5d3a in QStack<QVector<QPersistentModelIndexData*> >::pop (this=this@entry=0x560a36977900) at ../../include/QtCore/../../src/corelib/tools/qstack.h:62
#12 0x00007fc2065af792 in QAbstractItemModelPrivate::itemsMoved (this=this@entry=0x560a36977880, sourceParent=..., sourceFirst=sourceFirst@entry=192938731, sourceLast=sourceLast@entry=87564, destinationParent=..., destinationChild=destinationChild@entry=2, orientation=Qt::Vertical) at itemmodels/qabstractitemmodel.cpp:797
#13 0x00007fc2065b293b in QAbstractItemModel::endMoveRows (this=this@entry=0x560a369777d0) at itemmodels/qabstractitemmodel.cpp:2964
#14 0x00007fc20296f3b7 in Akonadi::TagModelPrivate::monitoredTagChanged (this=0x560a36977980, tag=...) at ./src/core/models/tagmodel_p.cpp:208
#15 0x00007fc20296ca2d in Akonadi::TagModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/core/KF5AkonadiCore_autogen/include/moc_tagmodel.cpp:109
#16 0x00007fc206631565 in QMetaObject::activate (sender=0x560a36976360, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=22, argv=argv@entry=0x7fffbf5ebb60) at kernel/qobject.cpp:3771
#17 0x00007fc206631c37 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fc202be79e0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=22, argv=argv@entry=0x7fffbf5ebb60) at kernel/qobject.cpp:3633
#18 0x00007fc202887bd5 in Akonadi::Monitor::tagChanged (this=<optimized out>, _t1=...) at ./obj-x86_64-linux-gnu/src/core/KF5AkonadiCore_autogen/include/moc_monitor.cpp:1051
#19 0x00007fc20288d7d4 in Akonadi::MonitorPrivate::emitTagNotification (this=this@entry=0x560a364b2470, msg=..., tag=...) at ./src/core/monitor_p.cpp:1237
#20 0x00007fc202894d76 in Akonadi::MonitorPrivate::emitNotification (this=0x560a364b2470, msg=...) at ./src/core/monitor_p.cpp:515
#21 0x00007fc20289387c in Akonadi::MonitorPrivate::dispatchNotifications (this=this@entry=0x560a364b2470) at ./src/core/monitor_p.cpp:1003
#22 0x00007fc202893a19 in Akonadi::MonitorPrivate::slotNotify (this=0x560a364b2470, msg=...) at ./src/core/monitor_p.cpp:972
#23 0x00007fc202895e67 in Akonadi::MonitorPrivate::handleCommands (this=0x560a364b2470) at ./src/core/monitor_p.cpp:867
#24 0x00007fc2066320d2 in QObject::event (this=0x560a36976360, e=<optimized out>) at kernel/qobject.cpp:1251
#25 0x00007fc207623e1c in QApplicationPrivate::notify_helper (this=this@entry=0x560a35c00a30, receiver=receiver@entry=0x560a36976360, e=e@entry=0x7fc1d4080c10) at kernel/qapplication.cpp:3727
#26 0x00007fc20762b3ef in QApplication::notify (this=0x7fffbf5ec570, receiver=0x560a36976360, e=0x7fc1d4080c10) at kernel/qapplication.cpp:3486
#27 0x00007fc2066024d8 in QCoreApplication::notifyInternal2 (receiver=0x560a36976360, event=event@entry=0x7fc1d4080c10) at kernel/qcoreapplication.cpp:1048
#28 0x00007fc20660501d in QCoreApplication::sendEvent (event=0x7fc1d4080c10, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x560a35bfe0e0) at kernel/qcoreapplication.cpp:1745
#30 0x00007fc2066055d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#31 0x00007fc20665cee3 in postEventSourceDispatch (s=0x560a35c547b0) at kernel/qeventdispatcher_glib.cpp:276
#32 0x00007fc1fb6d6287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fc1fb6d64c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fc1fb6d654c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fc20665c51f in QEventDispatcherGlib::processEvents (this=0x560a35c54750, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007fc1ed39a761 in QPAEventDispatcherGlib::processEvents (this=0x560a35c54750, flags=...) at qeventdispatcher_glib.cpp:69
#37 0x00007fc2066007fa in QEventLoop::exec (this=this@entry=0x7fffbf5ec490, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#38 0x00007fc2066099c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#39 0x0000560a34b22ecc in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:64

Possible duplicates by query: bug 398459.

Reported using DrKonqi
Comment 1 Christoph Feck 2019-04-25 19:20:53 UTC

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