SUMMARY KOrganizer pretty much instantly crashes when opening it (after upgrading from neon 5.27 to plasma 6 unstable). STEPS TO REPRODUCE 1. Open it SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.1 Kernel Version: 6.6.5-060605-generic (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics Memory: 33.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 82KC System Version: Lenovo V14 G2 ALC ADDITIONAL INFORMATION Application: KOrganizer (korganizer), signal: Aborted [KCrash Handler] #4 __pthread_kill_implementation (no_tid=0, signo=6, threadid=133488492291072) at ./nptl/pthread_kill.c:44 #5 __pthread_kill_internal (signo=6, threadid=133488492291072) at ./nptl/pthread_kill.c:78 #6 __GI___pthread_kill (threadid=133488492291072, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #7 0x0000796849a42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #8 0x0000796849a287f3 in __GI_abort () at ./stdlib/abort.c:79 #9 0x000079684a6d86f3 in qAbort() () at ./src/corelib/global/qglobal.cpp:161 #10 0x000079684a6d4055 in qt_message_fatal<QString&> (message=..., context=<optimized out>) at ./src/corelib/global/qlogging.cpp:2003 #11 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=<optimized out>, msg=<optimized out>, ap=ap@entry=0x7ffc1f270b00) at ./src/corelib/global/qlogging.cpp:378 #12 0x000079684a6d909f in QMessageLogger::fatal(char const*, ...) const (this=<optimized out>, msg=<optimized out>) at ./src/corelib/global/qlogging.cpp:901 #13 0x000079684a6a9261 in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x79684c4ab9c0 "mIncidences[type].value(uid) == incidence", file=file@entry=0x79684c4ab730 "./src/memorycalendar.cpp", line=line@entry=291) at ./src/corelib/global/qassert.cpp:68 #14 0x000079684c40a8a8 in KCalendarCore::MemoryCalendar::Private::insertIncidence(QSharedPointer<KCalendarCore::Incidence> const&) (this=0x6193af1eda20, incidence=...) at ./src/memorycalendar.cpp:291 #15 0x000079684c460989 in KCalendarCore::MemoryCalendar::addIncidence(QSharedPointer<KCalendarCore::Incidence> const&) (this=0x796830016030, incidence=...) at ./src/memorycalendar.cpp:299 #16 0x0000796849918edf in Akonadi::CalendarBasePrivate::internalInsert(Akonadi::Item const&) (this=<optimized out>, item=<optimized out>) at ./src/calendarbase.cpp:132 #17 0x000079684993119f in Akonadi::ETMCalendarPrivate::itemsAdded(QList<Akonadi::Item> const&) (this=0x6193af0f5390, items=...) at ./src/etmcalendar.cpp:264 #18 0x0000796849931277 in Akonadi::ETMCalendarPrivate::onRowsInsertedInFilteredModel(QModelIndex const&, int, int) (this=0x6193af0f5390, index=<optimized out>, start=<optimized out>, end=<optimized out>) at ./src/etmcalendar.cpp:405 #19 0x000079684a6287ae in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1f271020, r=0x6193af0f5390, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433 #20 doActivate<false>(QObject*, int, void**) (sender=0x6193af17e880, signal_index=13, argv=0x7ffc1f271020) at ./src/corelib/kernel/qobject.cpp:4021 #21 0x000079684a4d6472 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=...) at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1356 #22 0x000079684a4cf896 in QAbstractItemModel::endInsertRows() (this=0x6193af17e880) at ./src/corelib/itemmodels/qabstractitemmodel.cpp:2908 #23 0x000079684a4ee745 in QSortFilterProxyModelPrivate::insert_source_items(QList<int>&, QList<int>&, QList<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x6193af181230, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:932 #24 0x000079684a4ef12b in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=0x6193af181230, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:1043 #25 0x000079684a4fad87 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x6193af181230, source_parent=..., start=0, end=1664) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:1685 #26 0x000079684a6287ae in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1f2714a0, r=0x6193af17e880, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433 #27 doActivate<false>(QObject*, int, void**) (sender=0x6193af17e830, signal_index=13, argv=0x7ffc1f2714a0) at ./src/corelib/kernel/qobject.cpp:4021 #28 0x000079684a4d6472 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=...) at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1356 #29 0x000079684a4cf896 in QAbstractItemModel::endInsertRows() (this=0x6193af17e830) at ./src/corelib/itemmodels/qabstractitemmodel.cpp:2908 #30 0x000079684a4ee745 in QSortFilterProxyModelPrivate::insert_source_items(QList<int>&, QList<int>&, QList<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x6193af17fb10, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:932 #31 0x000079684a4ef12b in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=0x6193af17fb10, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:1043 #32 0x000079684a4fad87 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x6193af17fb10, source_parent=..., start=0, end=1664) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:1685 #33 0x000079684a6287ae in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1f271920, r=0x6193af17e830, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433 #34 doActivate<false>(QObject*, int, void**) (sender=0x6193af17e790, signal_index=13, argv=0x7ffc1f271920) at ./src/corelib/kernel/qobject.cpp:4021 #35 0x000079684a4d6472 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=...) at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1356 #36 0x000079684a4cf896 in QAbstractItemModel::endInsertRows() (this=0x6193af17e790) at ./src/corelib/itemmodels/qabstractitemmodel.cpp:2908 #37 0x000079684a4ee745 in QSortFilterProxyModelPrivate::insert_source_items(QList<int>&, QList<int>&, QList<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x6193aef235a0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:932 #38 0x000079684a4ef12b in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) (this=0x6193aef235a0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:1043 #39 0x000079684a4fad87 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) (this=0x6193aef235a0, source_parent=..., start=10, end=1674) at ./src/corelib/itemmodels/qsortfilterproxymodel.cpp:1685 #40 0x000079684a6287ae in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1f271da0, r=0x6193af17e790, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433 #41 doActivate<false>(QObject*, int, void**) (sender=0x6193af17eb90, signal_index=13, argv=0x7ffc1f271da0) at ./src/corelib/kernel/qobject.cpp:4021 #42 0x000079684a4d6472 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=...) at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1356 #43 0x000079684a4cf896 in QAbstractItemModel::endInsertRows() (this=this@entry=0x6193af17eb90) at ./src/corelib/itemmodels/qabstractitemmodel.cpp:2908 #44 0x0000796849615878 in KDescendantsProxyModelPrivate::processPendingParents() (this=0x6193af1f3420) at ./src/core/kdescendantsproxymodel.cpp:156 #45 0x000079684961df55 in KDescendantsProxyModelPrivate::scheduleProcessPendingParents() const (this=0x6193af1f3420) at ./src/core/kdescendantsproxymodel.cpp:103 #46 KDescendantsProxyModelPrivate::sourceRowsInserted(QModelIndex const&, int, int) (this=0x6193af1f3420, parent=..., start=0, end=1664) at ./src/core/kdescendantsproxymodel.cpp:799 #47 0x000079684a6287ae in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1f272130, r=0x6193af17eb90, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433 #48 doActivate<false>(QObject*, int, void**) (sender=0x6193af1c8ab0, signal_index=13, argv=0x7ffc1f272130) at ./src/corelib/kernel/qobject.cpp:4021 #49 0x000079684a4d6472 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=...) at ./obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1356 #50 0x000079684a4cf896 in QAbstractItemModel::endInsertRows() (this=this@entry=0x6193af1c8ab0) at ./src/corelib/itemmodels/qabstractitemmodel.cpp:2908 #51 0x000079684c21c6c7 in Akonadi::EntityTreeModelPrivate::itemsFetched(long long, QList<Akonadi::Item> const&) (this=0x6193af1af830, collectionId=<optimized out>, items=<optimized out>) at ./src/core/models/entitytreemodel_p.cpp:526 #52 0x000079684a6287ae in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1f2723a0, r=0x6193af1c8ab0, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433 #53 doActivate<false>(QObject*, int, void**) (sender=0x6193af994140, signal_index=20, argv=0x7ffc1f2723a0) at ./src/corelib/kernel/qobject.cpp:4021 #54 0x000079684c1beb96 in Akonadi::ItemFetchJob::itemsReceived(QList<Akonadi::Item> const&) (this=this@entry=0x6193af994140, _t1=...) at ./obj-x86_64-linux-gnu/src/core/KPim6AkonadiCore_autogen/include/moc_itemfetchjob.cpp:215 #55 0x000079684c1c0bbb in Akonadi::ItemFetchJobPrivate::timeout() (this=<optimized out>) at ./src/core/jobs/itemfetchjob.cpp:56 #56 Akonadi::ItemFetchJobPrivate::aboutToFinish() (this=<optimized out>) at ./src/core/jobs/itemfetchjob.cpp:46 #57 0x000079684c1ca0ad in Akonadi::JobPrivate::delayedEmitResult() (this=0x6193af994670) at ./src/core/jobs/job.cpp:178 #58 operator() (__closure=<optimized out>) at ./src/core/jobs/job.cpp:71 #59 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Akonadi::JobPrivate::handleResponse(qint64, const CommandPtr&)::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:137 #60 QtPrivate::Functor<Akonadi::JobPrivate::handleResponse(qint64, const CommandPtr&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:339 #61 QtPrivate::QCallableObject<Akonadi::JobPrivate::handleResponse(qint64, const CommandPtr&)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:522 #62 0x000079684a5c79d2 in QObject::event(QEvent*) (this=0x6193af994140, e=0x6193b052b400) at ./src/corelib/kernel/qobject.cpp:1437 #63 0x000079684b7f1b1b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x6193af994140, e=0x6193b052b400) at ./src/widgets/kernel/qapplication.cpp:3296 #64 0x000079684a65fe58 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x6193af994140, event=event@entry=0x6193b052b400) at ./src/corelib/kernel/qcoreapplication.cpp:1121 #65 0x000079684a65fe9d in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=event@entry=0x6193b052b400) at ./src/corelib/kernel/qcoreapplication.cpp:1539 #66 0x000079684a660050 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x6193aedc0440) at ./src/corelib/kernel/qcoreapplication.cpp:1901 #67 0x000079684a50a387 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x6193aee6c4a0) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:243 #68 0x00007968485b4d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #69 0x000079684860a258 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #70 0x00007968485b23e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #71 0x000079684a5082c0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6193aedc52a0, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:393 #72 0x000079684a66a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffc1f2727e0, flags=...) at ./src/corelib/global/qflags.h:34 #73 0x000079684a663d0c in QCoreApplication::exec() () at ./src/corelib/global/qflags.h:74 #74 0x000079684aaea040 in QGuiApplication::exec() () at ./src/gui/kernel/qguiapplication.cpp:1925 #75 0x000079684b7ef089 in QApplication::exec() () at ./src/widgets/kernel/qapplication.cpp:2574 #76 0x00006193ace5f92c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:62 [Inferior 1 (process 9821) detached]
Additionally it prints the following messages: moritz@moritz-82k:~$ korganizer qt.core.qobject.connect: QObject::disconnect: Unexpected nullptr parameter org.kde.pim.akonadicalendar: Error occurred "" "Unable to create persistent search" org.kde.pim.akonadicalendar: Error occurred "" "Unable to create persistent search" ASSERT: "mIncidences[type].value(uid) == incidence" in file ./src/memorycalendar.cpp, line 291
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcalendarcore/-/merge_requests/168
Git commit 9bf3506cd0788d164ac3fe41a7510bb6143a2866 by Daniel Vrátil. Committed on 22/03/2024 at 09:17. Pushed by dvratil into branch 'master'. MemoryCalendar: log details about duplicate events before asserting When trying to insert an incidence into a MemoryCalendar that has a UID that is already present in the calendar, first log as much as possible before asserting that it's the same insert being re-inserted. This does not fix anything, but might help with diagnostics, and provides some useful and actionable output before asserting. M +8 -3 src/memorycalendar.cpp https://invent.kde.org/frameworks/kcalendarcore/-/commit/9bf3506cd0788d164ac3fe41a7510bb6143a2866