Application: akonadi_ical_resource (5.13.3 (19.12.3)) Qt Version: 5.12.8 Frameworks Version: 5.68.0 Operating System: Linux 5.4.0-42-generic x86_64 Windowing system: X11 Distribution: Ubuntu 20.04.1 LTS -- Information about the crash: - What I was doing when the application crashed: 1. Create a new event (in some calendar `cal_a`); save (ok/apply) 2. Select this event and click edit 3. Change the calendar of the event to a different one (say `cal_b`); save (ok/apply) Crash reporter now reports a crash, *but KOrganiser seems to keep running fine*; the event also did actually change its calendar -- Backtrace: Application: Personal Calendar (akonadi_ical_resource), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f69d0fc0580 (LWP 2425))] Thread 4 (Thread 0x7f69ce25d700 (LWP 2460)): #0 g_source_ref (source=0x7f69c40047c0) at ../../../glib/gmain.c:2166 #1 0x00007f69d41f7168 in g_source_iter_next (iter=iter@entry=0x7f69ce25cae0, source=source@entry=0x7f69ce25cad8) at ../../../glib/gmain.c:1046 #2 0x00007f69d41f8aff in g_main_context_check (context=context@entry=0x7f69c4000c30, max_priority=2147483647, fds=fds@entry=0x7f69c40025e0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3860 #3 0x00007f69d41f9152 in g_main_context_iterate (context=context@entry=0x7f69c4000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044 #4 0x00007f69d41f92e3 in g_main_context_iteration (context=0x7f69c4000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #5 0x00007f69d5f88583 in QEventDispatcherGlib::processEvents (this=0x7f69c4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #6 0x00007f69d5f2f4db in QEventLoop::exec (this=this@entry=0x7f69ce25cca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f69d5d67785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f69d5d689d2 in QThreadPrivate::start (arg=0x55ccdeabeca0) at thread/qthread_unix.cpp:361 #9 0x00007f69d48d8609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #10 0x00007f69d59de103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f69ceb2d700 (LWP 2447)): #0 __GI___libc_read (nbytes=16, buf=0x7f69ceb2ca60, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26 #1 __GI___libc_read (fd=7, buf=buf@entry=0x7f69ceb2ca60, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x00007f69d424189f in read (__nbytes=16, __buf=0x7f69ceb2ca60, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44 #3 g_wakeup_acknowledge (wakeup=0x7f69c8001bb0) at ../../../glib/gwakeup.c:210 #4 0x00007f69d41f8cfe in g_main_context_check (context=context@entry=0x7f69c0000c30, max_priority=2147483647, fds=fds@entry=0x7f69c0011ce0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825 #5 0x00007f69d41f9152 in g_main_context_iterate (context=context@entry=0x7f69c0000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044 #6 0x00007f69d41f92e3 in g_main_context_iteration (context=0x7f69c0000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #7 0x00007f69d5f88583 in QEventDispatcherGlib::processEvents (this=0x7f69c0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #8 0x00007f69d5f2f4db in QEventLoop::exec (this=this@entry=0x7f69ceb2cc70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #9 0x00007f69d5d67785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #10 0x00007f69d630eefa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #11 0x00007f69d5d689d2 in QThreadPrivate::start (arg=0x7f69d6391d80) at thread/qthread_unix.cpp:361 #12 0x00007f69d48d8609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #13 0x00007f69d59de103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f69d039f700 (LWP 2432)): #0 0x00007f69d59d196f in __GI___poll (fds=0x7f69d039eba8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f69d1796c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f69d179890a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f69d0baa298 in QXcbEventQueue::run (this=0x55ccdea41e00) at qxcbeventqueue.cpp:228 #4 0x00007f69d5d689d2 in QThreadPrivate::start (arg=0x55ccdea41e00) at thread/qthread_unix.cpp:361 #5 0x00007f69d48d8609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f69d59de103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f69d0fc0580 (LWP 2425)): [KCrash Handler] #6 0x00007f69d6d8cb8a in QString::QString (other=..., this=0x7ffd78d48e50) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:957 #7 Akonadi::Item::remoteId (this=this@entry=0x7ffd78d49070) at ./src/core/item.cpp:187 #8 0x00007f69d6f6bfdf in Akonadi::ResourceBasePrivate::itemRemoved (this=0x55ccdeadd770, item=...) at ./src/agentbase/resourcebase.cpp:330 #9 0x00007f69d5f5c458 in QtPrivate::QSlotObjectBase::call (a=0x7ffd78d48f80, r=0x55ccdeadd770, this=0x55ccdeaeff00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #10 QMetaObject::activate (sender=0x55ccdeadf2c0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3784 #11 0x00007f69d6da0259 in Akonadi::Monitor::itemRemoved (this=<optimized out>, _t1=...) at ./obj-x86_64-linux-gnu/src/core/KF5AkonadiCore_autogen/include/moc_monitor.cpp:950 #12 0x00007f69d6dafb69 in Akonadi::MonitorPrivate::emitToListeners<void (Akonadi::Monitor::*)(Akonadi::Item const&), Akonadi::Item> (signal=<optimized out>, this=0x55ccdeadfab0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:463 #13 Akonadi::MonitorPrivate::emitItemsNotification (this=0x55ccdeadfab0, msg_=..., items=..., collection=..., collectionDest=...) at ./src/core/monitor_p.cpp:1077 #14 0x00007f69d6db09be in Akonadi::MonitorPrivate::emitNotification (this=this@entry=0x55ccdeadfab0, msg=...) at ./src/core/monitor_p.cpp:558 #15 0x00007f69d6d50403 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x55ccdeadfab0, msg=...) at ./src/core/changerecorder_p.cpp:238 #16 0x00007f69d6d4ebcc in Akonadi::ChangeRecorder::replayNext (this=0x55ccdeadf2c0) at ./src/core/changerecorder.cpp:67 #17 0x00007f69d5f5c458 in QtPrivate::QSlotObjectBase::call (a=0x7ffd78d49350, r=0x55ccdeadf2c0, this=0x55ccdeafc8b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #18 QMetaObject::activate (sender=0x55ccdeaea140, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3784 #19 0x00007f69d6f75a4a in Akonadi::ResourceScheduler::executeChangeReplay (this=0x55ccdeaea140) at ./obj-x86_64-linux-gnu/src/agentbase/KF5AkonadiAgentBase_autogen/include/moc_resourcescheduler_p.cpp:463 #20 Akonadi::ResourceScheduler::executeNext (this=0x55ccdeaea140) at ./src/agentbase/resourcescheduler.cpp:433 #21 0x00007f69d5f695b6 in QtPrivate::QSlotObjectBase::call (a=0x7ffd78d494a0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #22 QSingleShotTimer::timerEvent (this=0x55ccdec61680) at kernel/qtimer.cpp:318 #23 0x00007f69d5f5ccf5 in QObject::event (this=0x55ccdec61680, e=<optimized out>) at kernel/qobject.cpp:1283 #24 0x00007f69d6756a66 in QApplicationPrivate::notify_helper (this=this@entry=0x55ccdea49d00, receiver=receiver@entry=0x55ccdec61680, e=e@entry=0x7ffd78d497c0) at kernel/qapplication.cpp:3700 #25 0x00007f69d67600f0 in QApplication::notify (this=0x7ffd78d49ab0, receiver=0x55ccdec61680, e=0x7ffd78d497c0) at kernel/qapplication.cpp:3446 #26 0x00007f69d5f3093a in QCoreApplication::notifyInternal2 (receiver=0x55ccdec61680, event=0x7ffd78d497c0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142 #27 0x00007f69d5f878b0 in QTimerInfoList::activateTimers (this=0x55ccdea51dd0) at kernel/qtimerinfo_unix.cpp:643 #28 0x00007f69d5f881e4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182 #29 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229 #30 0x00007f69d41f8fbd in g_main_dispatch (context=0x7f69c8005010) at ../../../glib/gmain.c:3309 #31 g_main_context_dispatch (context=context@entry=0x7f69c8005010) at ../../../glib/gmain.c:3974 #32 0x00007f69d41f9240 in g_main_context_iterate (context=context@entry=0x7f69c8005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047 #33 0x00007f69d41f92e3 in g_main_context_iteration (context=0x7f69c8005010, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #34 0x00007f69d5f88565 in QEventDispatcherGlib::processEvents (this=0x55ccdeaa5de0, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #35 0x00007f69d5f2f4db in QEventLoop::exec (this=this@entry=0x7ffd78d49a00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #36 0x00007f69d5f37246 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #37 0x00007f69d53ec9a0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1784 #38 0x00007f69d67569d9 in QApplication::exec () at kernel/qapplication.cpp:2856 #39 0x00007f69d6f5fcf2 in Akonadi::ResourceBase::init (r=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:116 #40 0x000055ccde0bb545 in ?? () #41 0x00007f69d58e30b3 in __libc_start_main (main=0x55ccde0b70b0, argc=3, argv=0x7ffd78d49c58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd78d49c48) at ../csu/libc-start.c:308 #42 0x000055ccde0b70ee in ?? () [Inferior 1 (process 2425) detached] Possible duplicates by query: bug 410345, bug 409383, bug 399890, bug 384419, bug 372712. Reported using DrKonqi
Can you still reproduce this issue? I tested with current git master of kdepim-runtime, didn't hit a crash.
Yes, the issue persists, though only when the save action in 3. is "Ok" (not "Apply"). Package versions (through `apt show`): korganiser: 4:19.12.3-0ubuntu1 kdepim-runtime: 4:19.12.3-0ubuntu1 akonadi-server: 4:19.12.3-0ubuntu2 akonadi-backend-mysql: 4:19.12.3-0ubuntu2 Haven't tried a development version though.
Several distributions offer live images (that do not require installation), and offer newer KDEPIM software versions. If you can test a recent version, please add a comment.
@Christoph Feck Sorry, but I don't know where I could get such live image. I can't seem to find an AppImage, it's not on snapcraft and the flatpak nightly (on <https://distribute.kde.org/kdeapps.flatpakrepo>) is more than a year old.
Seems like the problem is resolved now (tested on KOrganizer 5.18.1 (21.08.1)).
Created attachment 153023 [details] New crash information added by DrKonqi akonadi_ical_resource (5.19.3 (21.12.3)) using Qt 5.15.2 - What I was doing when the application crashed: Change event of calendar. And when I do it korganicer failure. -- Backtrace (Reduced): #4 QString::QString(QString const&) (other=..., this=this@entry=0x7ffde5668020) at /usr/include/qt5/QtCore/qstring.h:1093 #5 Akonadi::Item::remoteId() const (this=this@entry=0x7ffde56681f0) at /usr/src/debug/akonadi-server-21.12.3-bp154.1.30.x86_64/src/core/item.cpp:75 #6 0x00007f74808d173b in Akonadi::ResourceBasePrivate::itemRemoved(Akonadi::Item const&) (this=0x563b7d84f8b0, item=...) at /usr/src/debug/akonadi-server-21.12.3-bp154.1.30.x86_64/src/agentbase/resourcebase.cpp:294 #7 0x00007f747e7481c7 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffde5668140, r=0x563b7d84f8b0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #8 doActivate<false>(QObject*, int, void**) (sender=0x563b7d881250, signal_index=10, argv=0x7ffde5668140) at kernel/qobject.cpp:3886
Created attachment 170948 [details] New crash information added by DrKonqi akonadi_ical_resource (5.22.3 (22.12.3)) using Qt 5.15.8 Chage a event of one calendar to anoher. CRASH!!!! -- Backtrace (Reduced): #4 0x00007f97e0949816 in Akonadi::Item::remoteId() const () at /usr/lib64/libKF5AkonadiCore.so.5 [...] #7 0x00007f97e095c7c5 in Akonadi::Monitor::itemRemoved(Akonadi::Item const&) () at /usr/lib64/libKF5AkonadiCore.so.5 #8 0x00007f97e096d6ad in Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&, Akonadi::Collection const&) () at /usr/lib64/libKF5AkonadiCore.so.5 #9 0x00007f97e096e676 in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () at /usr/lib64/libKF5AkonadiCore.so.5 [...] #11 0x00007f97e0919526 in Akonadi::ChangeRecorder::replayNext() () at /usr/lib64/libKF5AkonadiCore.so.5