[kde] [Bug 491750] New: Akonadi EWS agent crashes on reading calendar items

Jacob Kanev bugzilla_noreply at kde.org
Thu Aug 15 16:04:10 BST 2024


https://bugs.kde.org/show_bug.cgi?id=491750

            Bug ID: 491750
           Summary: Akonadi EWS agent crashes on reading calendar items
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: jkanev at zoho.com
  Target Milestone: ---

Application: akonadi_ews_resource (5.22.3 (22.12.3))

Qt Version: 5.15.10
Frameworks Version: 5.115.0
Operating System: Linux 6.10.3-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux trixie/sid
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
Whenever kmail (akonadi) downloads emails from my Microsoft account, the EWS
mail agent crashes.

Looking at log messages from akonadi (akonadictl start --verbose) this seems to
be because of a problem when reading certain calendar items. It does not happen
for all items, but since some "bad" items are somewhere in my account, I cannot
read email anymore without restarting akonadi (or at least the agent) each
time.

The problem has started some weeks ago, probably after a software upgrade on my
part, but I do not recall when exactly, nor what version I had before. I'm
using now:
libical3    3.0.17-1
kdepim-runtime   4:22.12.3-2+b1

[Note: Unfortunetely there's now way to configure the EWS agent to only get
emails, but not calendar entries, which I don't really need. Eeven with server
side subscription enabled, and unticking the "Calendar" directory, the EWS
agent still fetches calendar items, and then crashes.]

The message (including the bad string) I get from the logs is this (I've
replaced sensitive names and emails with "abcdefghij.."):

parse error from icalcomponent_new_from_string. string=
"BEGIN:VCALENDAR\r\nMETHOD:PUBLISH\r\nPRODID:Microsoft Exchange Server
2010\r\nVERSION:2.0\r\nBEGIN:VTIMEZONE\r\nTZID:W. Europe Standard
Time\r\nBEGIN:STANDARD\r\nDTSTART:16010101T030000\r\nTZOFFSETFROM:+0200\r\nTZOFFSETTO:+0100\r\nRRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:16010101T020000\r\nTZOFFSETFROM:+0100\r\nTZOFFSETTO:+0200\r\nRRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3\r\nEND:DAYLIGHT\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nORGANIZER;CN=\"Fghij,
Abcde\":mailto:abcdef at abc-defgh.com\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Abcde
Fghi\r\n
v:mailto:abcdef at abc-defgh.com\r\nRRULE:FREQ=WEEKLY;UNTIL=20110831T070000Z;INTERVAL=1;BYDAY=TH;WKST=SU\r\nEXDATE;TZID=W.
Europe Standard
Time:20100805T090000,20110310T090000\r\nUID:aea82f84-1fb2-43bf-9a4d-450d513d65cc\r\nRECURRENCE-ID:20100415T070000Z\r\nSUMMARY;LANGUAGE=en-US:Quiet
work / internal AB audit\r\nDTSTART;TZID=W. Europe Standard
Time:20100415T090000\r\nDTEND;TZID=W. Europe Standard
Time:20100415T100000\r\nCLASS:PUBLIC\r\nPRIORITY:5\r\nDTSTAMP:20200320T144330Z\r\nTRANSP:OPAQUE\r\nSTATUS:CONFIRMED\r\nX-MICROSOFT-CDO-OWNERAPPTID:2118362537\r\nX-MICROSOFT-CDO-BUSYSTATUS:BUSY\r\nX-MICROSOFT-CDO-INTENDEDSTATUS:BUSY\r\nX-MICROSOFT-CDO-ALLDAYEVENT:FALSE\r\nX-MICROSOFT-CDO-IMPORTANCE:1\r\nX-MICROSOFT-CDO-INSTTYPE:3\r\nX-MICROSOFT-DONOTFORWARDMEETING:FALSE\r\nX-MICROSOFT-DISALLOW-COUNTER:FALSE\r\nX-MICROSOFT-REQUESTEDATTENDANCEMODE:DEFAULT\r\nX-MICROSOFT-ISRESPONSEREQUESTED:TRUE\r\nBEGIN:VALARM\r\nDESCRIPTION:REMINDER\r\nTRIGGER;RELATED=START:P\r\nACTION:DISPLAY\r\nEND:VALARM\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:aea82f84-1fb2-43bf-9a4d-450d513d65cc\r\nEND:VEVENT\r\n"
34 -- exe=/usr/bin/akonadi_ews_resource
13 -- platform=xcb
11 -- display=:0
29 -- appname=akonadi_ews_resource
17 -- apppath=/usr/bin
10 -- signal=11
10 -- pid=23840
28 -- appversion=5.22.3 (22.12.3)
22 -- programname=ABC-Defgh
31 -- bugaddress=submit at bugs.kde.org
KCrash: crashing... crashRecursionCounter = 2

parse error from icalcomponent_new_from_string. string=
"BEGIN:VCALENDAR\r\nMETHOD:PUBLISH\r\nPRODID:Microsoft Exchange Server
2010\r\nVERSION:2.0\r\nBEGIN:VTIMEZONE\r\nTZID:W. Europe Standard
Time\r\nBEGIN:STANDARD\r\nDTSTART:16010101T030000\r\nTZOFFSETFROM:+0200\r\nTZOFFSETTO:+0100\r\nRRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:16010101T020000\r\nTZOFFSETFROM:+0100\r\nTZOFFSETTO:+0200\r\nRRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3\r\nEND:DAYLIGHT\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nORGANIZER;CN=\"Fghij,
Abcde\":mailto:abcdef at abc-defgh.com\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Abcde
Fghi\r\n
v:mailto:abcdef at abc-defgh.com\r\nRRULE:FREQ=WEEKLY;UNTIL=20110830T070000Z;INTERVAL=1;BYDAY=WE;WKST=SU\r\nEXDATE;TZID=W.
Europe Standard
Time:20100331T090000,20110119T090000\r\nUID:62f7b5a8-0477-4fa9-9bbc-4cb928df45fb\r\nRECURRENCE-ID:20100630T070000Z\r\nSUMMARY;LANGUAGE=en-US:Quiet
work\r\nDTSTART;TZID=W. Europe Standard Time:20100630T090000\r\nDTEND;TZID=W.
Europe Standard
Time:20100630T120000\r\nCLASS:PUBLIC\r\nPRIORITY:5\r\nDTSTAMP:20200320T144341Z\r\nTRANSP:OPAQUE\r\nSTATUS:CONFIRMED\r\nX-MICROSOFT-CDO-OWNERAPPTID:2118361857\r\nX-MICROSOFT-CDO-BUSYSTATUS:BUSY\r\nX-MICROSOFT-CDO-INTENDEDSTATUS:BUSY\r\nX-MICROSOFT-CDO-ALLDAYEVENT:FALSE\r\nX-MICROSOFT-CDO-IMPORTANCE:1\r\nX-MICROSOFT-CDO-INSTTYPE:3\r\nX-MICROSOFT-DONOTFORWARDMEETING:FALSE\r\nX-MICROSOFT-DISALLOW-COUNTER:FALSE\r\nX-MICROSOFT-REQUESTEDATTENDANCEMODE:DEFAULT\r\nX-MICROSOFT-ISRESPONSEREQUESTED:TRUE\r\nBEGIN:VALARM\r\nDESCRIPTION:REMINDER\r\nTRIGGER;RELATED=START:P\r\nACTION:DISPLAY\r\nEND:VALARM\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:62f7b5a8-0477-4fa9-9bbc-4cb928df45fb\r\nEND:VEVENT\r\n"
34 -- exe=/usr/bin/akonadi_ews_resource
13 -- platform=xcb
11 -- display=:0
29 -- appname=akonadi_ews_resource
17 -- apppath=/usr/bin
10 -- signal=11
10 -- pid=25828
28 -- appversion=5.22.3 (22.12.3)
22 -- programname=ABC-Defgh
31 -- bugaddress=submit at bugs.kde.org
KCrash: crashing... crashRecursionCounter = 2

The crash can be reproduced every time.

-- Backtrace:
Application: ANT-Neuro (akonadi_ews_resource), signal: Segmentation fault

[KCrash Handler]
#4  0x0000558de4e8311b in ?? ()
#5  0x00007fcde1b062b2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcdeb482ce9 in KJob::result(KJob*, KJob::QPrivateSignal) () from
/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#7  0x00007fcdeb488b2b in ?? () from
/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#8  0x00007fcde1b062b2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fcdeb482ce9 in KJob::result(KJob*, KJob::QPrivateSignal) () from
/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#10 0x00007fcdeb488b2b in ?? () from
/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#11 0x00007fcde1b062b2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fcdeb6244b0 in KIO::SlaveInterface::dispatch(int, QByteArray const&)
() from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007fcdeb61f09a in KIO::SlaveInterface::dispatch() () from
/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007fcdeb621a81 in KIO::Slave::gotInput() () from
/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x00007fcde1b062b2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fcde1af9940 in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fcde2762f32 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fcde1acc748 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fcde1acfe51 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fcde1b28697 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fcdde90b79f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fcdde90d9d7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fcdde90e140 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fcde1b27d4a in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fcde1acb0fb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fcde1ad38a4 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x0000558de4ed8b16 in ?? ()
#28 0x00007fcde1240c8a in __libc_start_call_main
(main=main at entry=0x558de4e72c00, argc=argc at entry=3,
argv=argv at entry=0x7ffc857aa4b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#29 0x00007fcde1240d45 in __libc_start_main_impl (main=0x558de4e72c00, argc=3,
argv=0x7ffc857aa4b8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc857aa4a8) at ../csu/libc-start.c:360
#30 0x0000558de4e78351 in ?? ()
[Inferior 1 (process 38305) 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!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list