Bug 491296

Summary: Akonadi crash when synchronizing calendar events via EWS
Product: [Frameworks and Libraries] Akonadi Reporter: Stefan Huber <shuber>
Component: EWS ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: carl, krissn
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Huber 2024-08-05 10:58:50 UTC
Application: akonadi_ews_resource (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-23-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Configures EWS resource to synchronize events form Outlook 365 calendar. On the console where I launched akonadi via $(akonadictl start) I receive this:
parse error from icalcomponent_new_from_string. string = "…"
KCrash: crashing... crashRecursionCounter

The crash can be reproduced every time.

-- Backtrace:
Application: FHS (akonadi_ews_resource), signal: Segmentation fault

[KCrash Handler]
#4  0x0000564ef2c1c7f7 in  ()
#5  0x00007fca0cae8f8f in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fca1637b775 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#7  0x00007fca1637cc5b in KJob::finishJob(bool) () at /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#8  0x00007fca0cae8f8f in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fca1637b775 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#10 0x00007fca1637cc5b in KJob::finishJob(bool) () at /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#11 0x00007fca0cae8f8f in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fca1653a713 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007fca16538d56 in KIO::SlaveInterface::dispatch() () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007fca1653dac9 in KIO::Slave::gotInput() () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x00007fca0cae8f8f in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fca0cadd730 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fca0d762fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fca0cab1738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fca0cab46c1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fca0cb0a193 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fca097207a9 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fca09720a38 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fca09720acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fca0cb09876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fca0cab01bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fca0cab8316 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x0000564ef2c6d6f2 in  ()
#28 0x00007fca0c64624a in __libc_start_call_main (main=main@entry=0x564ef2c0cf40, argc=argc@entry=3, argv=argv@entry=0x7fff1f1a62f8) at ../sysdeps/nptl/libc_start_call_main.h:58
#29 0x00007fca0c646305 in __libc_start_main_impl (main=0x564ef2c0cf40, argc=3, argv=0x7fff1f1a62f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1f1a62e8) at ../csu/libc-start.c:360
#30 0x0000564ef2c12131 in  ()
[Inferior 1 (process 3364817) detached]

Reported using DrKonqi
This report was filed against 'kde' because the product 'akonadi_ews_resource' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Stefan Huber 2024-08-05 14:00:00 UTC
By the way, it also crashes on Gentoo with kde-apps/kdepim-runtime-23.08.5. The