Bug 502611

Summary: Segmentation fault - akonadi_icaldir_resource - Akonadi::Item::remoteId
Product: [Frameworks and Libraries] Akonadi Reporter: Don Curtis <bugrprt21882>
Component: ICal dir resourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: carl, nate, winter
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Don Curtis 2025-04-09 14:35:31 UTC
Application: akonadi_icaldir_resource (5.24.5 (23.08.5))

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.4.0-150600.23.42-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.6"
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
Moving KOrganizer Calendar items from an iCal Calendar directory to an iCal Calendar file.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: 2025 (akonadi_icaldir_resource), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QString::QString (other=..., this=this@entry=0x7fff35ece200) at /usr/include/qt5/QtCore/qstring.h:1093
#7  Akonadi::Item::remoteId (this=this@entry=0x7fff35ece3d0) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/core/item.cpp:75
#8  0x00007f6b0d5b7bcb in Akonadi::ResourceBasePrivate::itemRemoved (this=0x55b5cd7b5f10, item=...) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/agentbase/resourcebase.cpp:294
#9  0x00007f6b0c71522b in QtPrivate::QSlotObjectBase::call (a=0x7fff35ece320, r=0x55b5cd7b5f10, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x55b5cdab28b0, signal_index=10, argv=0x7fff35ece320) at kernel/qobject.cpp:3925
#11 0x00007f6b0c70e5f2 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f6b0d42c860 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff35ece320) at kernel/qobject.cpp:3985
#12 0x00007f6b0d2cc9c5 in Akonadi::Monitor::itemRemoved (this=<optimized out>, _t1=...) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/build/src/core/KPim5AkonadiCore_autogen/include/moc_monitor.cpp:913
#13 0x00007f6b0d2dd8ad in Akonadi::MonitorPrivate::emitToListeners<void (Akonadi::Monitor::*)(Akonadi::Item const&), Akonadi::Item> (signal=<optimized out>, this=0x55b5cd7f2cd0) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/core/monitor_p.h:395
#14 Akonadi::MonitorPrivate::emitItemsNotification (this=this@entry=0x55b5cd7f2cd0, msg=..., items=..., collection=..., collectionDest=...) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/core/monitor_p.cpp:1064
#15 0x00007f6b0d2de876 in Akonadi::MonitorPrivate::emitNotification (this=this@entry=0x55b5cd7f2cd0, msg=...) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/core/monitor_p.cpp:544
#16 0x00007f6b0d28b48e in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x55b5cd7f2cd0, msg=...) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/core/changerecorder_p.cpp:216
#17 0x00007f6b0d289c06 in Akonadi::ChangeRecorder::replayNext (this=0x55b5cdab28b0) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/core/changerecorder.cpp:54
#18 0x00007f6b0c71522b in QtPrivate::QSlotObjectBase::call (a=0x7fff35ece620, r=0x55b5cdab28b0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x55b5cd7c9120, signal_index=13, argv=0x7fff35ece620) at kernel/qobject.cpp:3925
#20 0x00007f6b0c70e5f2 in QMetaObject::activate (sender=sender@entry=0x55b5cd7c9120, m=m@entry=0x7f6b0d5de4e0 <Akonadi::ResourceScheduler::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x0) at kernel/qobject.cpp:3985
#21 0x00007f6b0d5bfcba in Akonadi::ResourceScheduler::executeChangeReplay (this=0x55b5cd7c9120) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/build/src/agentbase/KPim5AkonadiAgentBase_autogen/include/moc_resourcescheduler_p.cpp:464
#22 Akonadi::ResourceScheduler::executeNext (this=0x55b5cd7c9120) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/agentbase/resourcescheduler.cpp:420
#23 0x00007f6b0c70bc0b in QObject::event (this=0x55b5cd7c9120, e=0x7f6acc0278b0) at kernel/qobject.cpp:1347
#24 0x00007f6b0cb9f87c in QApplicationPrivate::notify_helper (this=this@entry=0x55b5cd671870, receiver=receiver@entry=0x55b5cd7c9120, e=e@entry=0x7f6acc0278b0) at kernel/qapplication.cpp:3640
#25 0x00007f6b0cba663f in QApplication::notify (this=<optimized out>, receiver=0x55b5cd7c9120, e=0x7f6acc0278b0) at kernel/qapplication.cpp:3164
#26 0x00007f6b0c6d7d53 in QCoreApplication::notifyInternal2 (receiver=0x55b5cd7c9120, event=0x7f6acc0278b0) at kernel/qcoreapplication.cpp:1064
#27 0x00007f6b0c6d7f2e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55b5cd7c9120, event=event@entry=0x7f6acc0278b0) at kernel/qcoreapplication.cpp:1462
#28 0x00007f6b0c6da771 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55b5cd66d670) at kernel/qcoreapplication.cpp:1821
#29 0x00007f6b0c6dacf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#30 0x00007f6b0c73aad3 in postEventSourceDispatch (s=0x55b5cd7978b0) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f6b0a715fac in g_main_dispatch (context=0x7f6afc000ec0) at ../glib/gmain.c:3476
#32 g_main_context_dispatch_unlocked (context=context@entry=0x7f6afc000ec0) at ../glib/gmain.c:4284
#33 0x00007f6b0a717bd0 in g_main_context_iterate_unlocked (context=context@entry=0x7f6afc000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#34 0x00007f6b0a7181cc in g_main_context_iteration (context=0x7f6afc000ec0, may_block=may_block@entry=1) at ../glib/gmain.c:4414
#35 0x00007f6b0c73a17c in QEventDispatcherGlib::processEvents (this=0x55b5cd79ed40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f6b0c6d65ba in QEventLoop::exec (this=this@entry=0x7fff35ececd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235
#37 0x00007f6b0c6dfdf7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#38 0x00007f6b0b55d4bc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#39 0x00007f6b0cb9f7d5 in QApplication::exec () at kernel/qapplication.cpp:2832
#40 0x00007f6b0d5abb5d in Akonadi::ResourceBase::init (r=...) at /usr/src/debug/akonadi-server-23.08.5-bp156.1.2.x86_64/src/agentbase/resourcebase.cpp:555
#41 0x000055b5c9d2914b in Akonadi::ResourceBase::init<ICalDirResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KPim5/AkonadiAgentBase/akonadi/resourcebase.h:184
#42 0x00007f6b0bc40e6c in __libc_start_call_main (main=main@entry=0x55b5c9d23050 <main(int, char**)>, argc=argc@entry=3, argv=argv@entry=0x7fff35ecef08) at ../sysdeps/nptl/libc_start_call_main.h:58
#43 0x00007f6b0bc40f35 in __libc_start_main_impl (main=0x55b5c9d23050 <main(int, char**)>, argc=3, argv=0x7fff35ecef08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff35eceef8) at ../csu/libc-start.c:360
#44 0x000055b5c9d23081 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 7305) detached]

Reported using DrKonqi
This report was filed against 'kde' because the product 'akonadi_icaldir_resource' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Allen Winter 2025-04-09 17:53:09 UTC
I'm sorry but your version is no longer supported.
please upgrade and try again

for the record, 'akonadi_icaldir_resource'  belongs to the Akonadi product
Comment 2 Don Curtis 2025-04-10 08:08:04 UTC
This issue will be discussed in the openSUSE Forums – openSUSE Leap 15.6 is an actual supported distribution.