[Akonadi] [Bug 492120] New: crash on parsing outlook event

Cyrille Dunant bugzilla_noreply at kde.org
Sat Aug 24 09:47:02 BST 2024


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

            Bug ID: 492120
           Summary: crash on parsing outlook event
    Classification: Frameworks and Libraries
           Product: Akonadi
           Version: 6.1.2
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: EWS Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: cyrille.dunant at gmail.com
                CC: carl at carlschwan.eu, krissn at op.pl
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Crash on parsing outlook event

STEPS TO REPRODUCE
 systematic crash

OBSERVED RESULT

used valgrind to generate the following.

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:GMT Standard
Time\r\nBEGIN:STANDARD\r\nDTSTART:16010101T020000\r\nTZOFFSETFROM:+0100\r\nTZOFFSETTO:+0000\r\nRRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:16010101T010000\r\nTZOFFSETFROM:+0000\r\nTZOFFSETTO:+0100\r\nRRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3\r\nEND:DAYLIGHT\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nORGANIZER;CN=Lucy
xxx:mailto:lucy.xxx at xxx.COM\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Sam
xxx:m\r\n
ailto:sam.xxx at xxx.com\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Lucy
xxx\r\n
:mailto:lucy.xxx at xxx.COM\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=xxx
Du\r\n
nant:mailto:xxx at xxx.ac.uk\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=xxx
H\r\n
xxx:mailto:xxx at xxx.ac.uk\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=xxx
Hor\r\n
wood:mailto:rachel.xxx at xxx.com\r\nATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=XXX
XXX:\r\n mailto:ian.xxx at xxx.com\r\nDESCRIPTION:\\nThis email was sent by
XXXXXX\\, a\r\n  company registered in England and Wales\\, registered number:
XXX\\, re\r\n gistered office: xxx Road\\, xxx\\, XXX XXX\\, UK. This
transmiss\r\n ion is confidential and must not be used or disclosed by anyone
other than\r\n  the intended recipient. The xxx xxx xxx (the xxx\r\n ) cannot
accept any responsibility for any use or misuse of the transmissi\r\n on by
anyone. For address and company registration details of certain enti\r\n ties
within the Institute\\, please visit https://eur03.safelinks.protectio\r\n
n.outlook.com/?url=http%3A%2F%2Fwww.XXX.com%2F&amp\\;data=05%7C01%7Ccfd30\r\n
%40universityofcambridgecloud.onmicrosoft.com%7C2c775605761f4696072208da84\r\n
3a522d%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637967683386471340%7CU\r\n
nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL\r\n
CJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp\\;sdata=8D5CiDQKryfBe4%2FauFf2OfpAqi453%2\r\n
FXnGzqtmeqyxWk%3D&amp\\;reserved=0\\n\r\nRRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO;WKST=SU\r\nUID:040000008200E00074C5B7101A82E00800000000C155B454A887D801000000000000000\r\n
010000000CA7E36147AB0114EBF83B5285A67F3F6\r\nRECURRENCE-ID:20220822T130000Z\r\nSUMMARY:Canceled:
C2Z - xxx\r\nDTSTART;TZID=GMT Standard Time:20220822T140000\r\nDTEND;TZID=GMT
Standard
Time:20220822T142500\r\nCLASS:PUBLIC\r\nPRIORITY:1\r\nDTSTAMP:20220822T123158Z\r\nTRANSP:TRANSPARENT\r\nSTATUS:CANCELLED\r\nSEQUENCE:1\r\nLOCATION:\r\nX-MICROSOFT-CDO-APPT-SEQUENCE:1\r\nX-MICROSOFT-CDO-OWNERAPPTID:2120663745\r\nX-MICROSOFT-CDO-BUSYSTATUS:FREE\r\nX-MICROSOFT-CDO-INTENDEDSTATUS:BUSY\r\nX-MICROSOFT-CDO-ALLDAYEVENT:FALSE\r\nX-MICROSOFT-CDO-IMPORTANCE:2\r\nX-MICROSOFT-CDO-INSTTYPE:3\r\nX-MICROSOFT-ONLINEMEETINGINFORMATION:{\"OnlineMeetingChannelId\":null\\,\"Onlin\r\n
eMeetingProvider\":3}\r\nX-MICROSOFT-SKYPETEAMSMEETINGURL:https://teams.microsoft.com/l/meetup-join/\r\n
19%3ameeting_OTE2NDRiY2EtODVjOS00Mzk1LWI1YjUtMDA1NWI1ZjNjZmFk%40thread.v2/\r\n
0?context=%7b%22Tid%22%3a%221250875b-14bb-40c2-99ef-769f1a5ffc5f%22%2c%22O\r\n
id%22%3a%22a7671769-8649-47ae-96a1-5377aa7a0e0c%22%7d\r\nX-MICROSOFT-SCHEDULINGSERVICEUPDATEURL:https://api.scheduler.teams.microsof\r\n
t.com/teams/1250875b-14bb-40c2-99ef-769f1a5ffc5f/a7671769-8649-47ae-96a1-5\r\n
377aa7a0e0c/19_meeting_OTE2NDRiY2EtODVjOS00Mzk1LWI1YjUtMDA1NWI1ZjNjZmFk at th\r\n
read.v2/0\r\nX-MICROSOFT-SKYPETEAMSPROPERTIES:{\"cid\":\"19:meeting_OTE2NDRiY2EtODVjOS00Mzk\r\n
1LWI1YjUtMDA1NWI1ZjNjZmFk at thread.v2\"\\,\"rid\":0\\,\"mid\":0\\,\"uid\":null\\,\"priva\r\n
te\":true\\,\"type\":0}\r\nX-MICROSOFT-ONLINEMEETINGCONFLINK:conf:sip:lucy.xxx at xxx.COM\\;gruu\\;opaq\r\n
ue=app:conf:focus:id:teams:2:0!19:meeting_OTE2NDRiY2EtODVjOS00Mzk1LWI1YjUt\r\n
MDA1NWI1ZjNjZmFk-thread.v2!a7671769864947ae96a15377aa7a0e0c!1250875b14bb40\r\n
c299ef769f1a5ffc5f\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:-PT15M\r\nACTION:DISPLAY\r\nEND:VALARM\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:040000008200E00074C5B7101A82E00800000000C155B454A887D801000000000000000\r\n
010000000CA7E36147AB0114EBF83B5285A67F3F6\r\nEND:VEVENT\r\n"
==52006== Thread 1:
==52006== Invalid read of size 16
==52006==    at 0x1683CF: UnknownInlinedFun (qsharedpointer_impl.h:341)
==52006==    by 0x1683CF:
EwsFetchCalendarDetailJob::exceptionItemsFetched(KJob*)
(ewsfetchcalendardetailjob.cpp:179)
==52006==    by 0x11657F4F: UnknownInlinedFun (qobjectdefs_impl.h:469)
==52006==    by 0x11657F4F: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4086)
==52006==    by 0x5272C64: KJob::result(KJob*, KJob::QPrivateSignal)
(moc_kjob.cpp:622)
==52006==    by 0x5274EAA: KJob::finishJob(bool) (kjob.cpp:98)
==52006==    by 0x11657F4F: UnknownInlinedFun (qobjectdefs_impl.h:469)
==52006==    by 0x11657F4F: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4086)
==52006==    by 0x5272C64: KJob::result(KJob*, KJob::QPrivateSignal)
(moc_kjob.cpp:622)
==52006==    by 0x5274EAA: KJob::finishJob(bool) (kjob.cpp:98)
==52006==    by 0x11657F4F: UnknownInlinedFun (qobjectdefs_impl.h:469)
==52006==    by 0x11657F4F: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:4086)
==52006==    by 0x1019AB1D: QNetworkReplyHttpImplPrivate::finished()
(qnetworkreplyhttpimpl.cpp:2147)
==52006==    by 0x11641DDA: QObject::event(QEvent*) (qobject.cpp:1452)
==52006==    by 0x10418F5D: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:3287)
==52006==    by 0x115FEBEF: QCoreApplication::notifyInternal2(QObject*,
QEvent*) (qcoreapplication.cpp:1142)
==52006==  Address 0xfffffffffffffff0 is not stack'd, malloc'd or (recently)
free'd


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240820
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.5-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

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


More information about the Kdepim-bugs mailing list