Bug 412498

Summary: KOrganizer crash
Product: [Applications] korganizer Reporter: Isaac <isalgueiro>
Component: reminder daemon (korgac)Assignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: gjditchfield
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Isaac 2019-10-01 08:28:46 UTC
Application: korgac (5.12.1)

Qt Version: 5.12.3
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-29-generic x86_64
Distribution: KDE neon User Edition 5.16

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

I was not using korganizer in the foreground. Kmail received some new mails, including a new event invite, and korganizer and the reminder daemon crashed.

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

Thread 5 (Thread 0x7fc92dfd5700 (LWP 2793)):
#0  0x00007fc950df90b4 in __GI___libc_read (fd=12, buf=0x7fc92dfd4b10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fc947db22d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc947d6d0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc947d6d570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc947d6d6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc951958dcb in QEventDispatcherGlib::processEvents (this=0x7fc924000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fc9518fa03a in QEventLoop::exec (this=this@entry=0x7fc92dfd4d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fc9517214ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007fc951722c72 in QThreadPrivate::start (arg=0x55da2418c0f0) at thread/qthread_unix.cpp:361
#9  0x00007fc949ae96db in start_thread (arg=0x7fc92dfd5700) at pthread_create.c:463
#10 0x00007fc950e0a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc92e7d6700 (LWP 2789)):
#0  0x00007fc950dfdbf9 in __GI___poll (fds=0x7fc9200049b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc947d6d5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc947d6d6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc951958dcb in QEventDispatcherGlib::processEvents (this=0x7fc920000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc9518fa03a in QEventLoop::exec (this=this@entry=0x7fc92e7d5d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fc9517214ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007fc951722c72 in QThreadPrivate::start (arg=0x55da241dbf30) at thread/qthread_unix.cpp:361
#7  0x00007fc949ae96db in start_thread (arg=0x7fc92e7d6700) at pthread_create.c:463
#8  0x00007fc950e0a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc92fbf0700 (LWP 2786)):
#0  0x00007fc950dfdbf9 in __GI___poll (fds=0x7fc928018f90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc947d6d5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc947d6d6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc951958dcb in QEventDispatcherGlib::processEvents (this=0x7fc928000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc9518fa03a in QEventLoop::exec (this=this@entry=0x7fc92fbefcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fc9517214ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007fc951dc7015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fc951722c72 in QThreadPrivate::start (arg=0x7fc95203ed80) at thread/qthread_unix.cpp:361
#8  0x00007fc949ae96db in start_thread (arg=0x7fc92fbf0700) at pthread_create.c:463
#9  0x00007fc950e0a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc93689d700 (LWP 2781)):
#0  0x00007fc950dfdbf9 in __GI___poll (fds=0x7fc93689cc28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc94a118747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc94a11a36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc93947d578 in QXcbEventQueue::run (this=0x55da241059f0) at qxcbeventqueue.cpp:228
#4  0x00007fc951722c72 in QThreadPrivate::start (arg=0x55da241059f0) at thread/qthread_unix.cpp:361
#5  0x00007fc949ae96db in start_thread (arg=0x7fc93689d700) at pthread_create.c:463
#6  0x00007fc950e0a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc95702dd00 (LWP 2760)):
[KCrash Handler]
#6  std::__atomic_base<int>::operator++ (this=0xd000400000020) at /usr/include/c++/7/bits/atomic_base.h:296
#7  QAtomicOps<int>::ref<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:265
#8  QBasicAtomicInteger<int>::ref (this=0xd000400000020) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:114
#9  QSharedDataPointer<Akonadi::ItemPrivate>::operator= (o=..., this=0x7ffed63db578) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:96
#10 Akonadi::Item::operator= (this=this@entry=0x7ffed63db578, other=...) at ./src/core/item.cpp:219
#11 0x00007fc95612a51a in Akonadi::CalendarBase::item (this=this@entry=0x55da241a5fb0, uid=...) at ./src/calendarbase.cpp:462
#12 0x00007fc95612aa54 in Akonadi::CalendarBase::deleteIncidence (this=0x55da241a5fb0, incidence=...) at ./src/calendarbase.cpp:653
#13 0x00007fc95559f605 in KCalendarCore::MemoryCalendar::deleteIncidenceInstances (this=0x55da241a5fb0, incidence=...) at ./src/memorycalendar.cpp:215
#14 0x00007fc95559f068 in KCalendarCore::MemoryCalendar::deleteIncidence (this=0x55da241a5fb0, incidence=...) at ./src/memorycalendar.cpp:193
#15 0x00007fc95612e867 in Akonadi::CalendarBasePrivate::internalRemove (this=this@entry=0x55da241d1120, item=...) at ./src/calendarbase.cpp:232
#16 0x00007fc956139297 in Akonadi::ETMCalendarPrivate::itemsRemoved (this=this@entry=0x55da241d1120, items=...) at ./src/etmcalendar.cpp:309
#17 0x00007fc956139c20 in Akonadi::ETMCalendarPrivate::clear (this=this@entry=0x55da241d1120) at ./src/etmcalendar.cpp:220
#18 0x00007fc95613b759 in Akonadi::ETMCalendarPrivate::onLayoutChangedInFilteredModel (this=0x55da241d1120) at ./src/etmcalendar.cpp:383
#19 0x00007fc95192b98f in QtPrivate::QSlotObjectBase::call (a=0x7ffed63db970, r=0x55da241d1120, this=0x55da241ea090) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#20 QMetaObject::activate (sender=sender@entry=0x55da241e6fc0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffed63db970) at kernel/qobject.cpp:3776
#21 0x00007fc95192bf47 in QMetaObject::activate (sender=sender@entry=0x55da241e6fc0, m=m@entry=0x7fc951da75a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffed63db970) at kernel/qobject.cpp:3648
#22 0x00007fc9518a3496 in QAbstractItemModel::layoutChanged (this=this@entry=0x55da241e6fc0, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:570
#23 0x00007fc9518cd863 in QSortFilterProxyModelPrivate::_q_sourceLayoutChanged (this=0x55da241c7930, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1603
#24 0x00007fc9518d2c93 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:229
#25 0x00007fc95192b875 in QMetaObject::activate (sender=sender@entry=0x55da2419e740, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffed63dbb30) at kernel/qobject.cpp:3795
#26 0x00007fc95192bf47 in QMetaObject::activate (sender=sender@entry=0x55da2419e740, m=m@entry=0x7fc951da75a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffed63dbb30) at kernel/qobject.cpp:3648
#27 0x00007fc9518a3496 in QAbstractItemModel::layoutChanged (this=this@entry=0x55da2419e740, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:570
#28 0x00007fc9518cd71a in QSortFilterProxyModel::invalidate (this=0x55da2419e740) at itemmodels/qsortfilterproxymodel.cpp:2919
#29 0x00007fc95192b98f in QtPrivate::QSlotObjectBase::call (a=0x7ffed63dbc50, r=0x55da2419e740, this=0x55da241ddc00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#30 QMetaObject::activate (sender=0x7fc955528a90, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776
#31 0x00007fc955311ddb in ?? () from /usr/lib/x86_64-linux-gnu/libKF5IdentityManagement.so.5
#32 0x00007fc955313c05 in KIdentityManagement::IdentityManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libKF5IdentityManagement.so.5
#33 0x00007fc951dd2128 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#34 0x00007fc95192c3e2 in QObject::event (this=0x7fc955528a90, e=<optimized out>) at kernel/qobject.cpp:1260
#35 0x00007fc952be565c in QApplicationPrivate::notify_helper (this=this@entry=0x55da240e55a0, receiver=receiver@entry=0x7fc955528a90, e=e@entry=0x7fc92801dab0) at kernel/qapplication.cpp:3736
#36 0x00007fc952becb90 in QApplication::notify (this=0x7ffed63dc550, receiver=0x7fc955528a90, e=0x7fc92801dab0) at kernel/qapplication.cpp:3483
#37 0x00007fc9518fbd18 in QCoreApplication::notifyInternal2 (receiver=0x7fc955528a90, event=0x7fc92801dab0) at kernel/qcoreapplication.cpp:1060
#38 0x00007fc9518fbeee in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7fc92801dab0) at kernel/qcoreapplication.cpp:1450
#39 0x00007fc9518fe8d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55da240c4b60) at kernel/qcoreapplication.cpp:1799
#40 0x00007fc9518fee78 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1653
#41 0x00007fc951959793 in postEventSourceDispatch (s=0x55da24146d40) at kernel/qeventdispatcher_glib.cpp:276
#42 0x00007fc947d6d417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fc947d6d650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fc947d6d6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fc951958daf in QEventDispatcherGlib::processEvents (this=0x55da24148000, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x00007fc9518fa03a in QEventLoop::exec (this=this@entry=0x7ffed63dc470, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#47 0x00007fc951903170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#48 0x000055da233c919f in main (argc=<optimized out>, argv=<optimized out>) at ./korgac/korgacmain.cpp:68

Reported using DrKonqi
Comment 1 Allen Winter 2020-03-21 16:17:44 UTC
No worries. I'm simply moving these from the korgac product to korganizer::reminder .  sorry for the noise but I want to have all the reminder bugs located in the same place.
Comment 2 gjditchfield 2022-05-20 22:33:20 UTC
korgac has been replaced by a new reminder daemon, kalendarac.