Bug 432617 - Kmail crashes when accepting calendar invitation
Summary: Kmail crashes when accepting calendar invitation
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 5.24.3
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-07 17:52 UTC by Lyle
Modified: 2023-12-31 17:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lyle 2021-02-07 17:52:18 UTC
SUMMARY


STEPS TO REPRODUCE
1. Get calendar invitation.
2. Click Accept -> choose calendar from dialog
3. Click OK -> Kmail crashes, and doesn't create the event in Korganizer (or the linked Google calendar

OBSERVED RESULT
Kmail crashes with

// ... Many, *many* of these lines ...
org.kde.pim.akonadicalendar: Unable to fetch incidences: "Invalid item or payload: 483555"
org.kde.pim.akonadicalendar: Unable to fetch incidences: "Invalid item or payload: 483554"
org.kde.pim.akonadicalendar: Unable to fetch incidences: "Invalid item or payload: 483683"
org.kde.pim.akonadicalendar: Unable to fetch incidences: "Invalid item or payload: 483681"
org.kde.pim.text_calendar: Unable to fetch incidences: "Invalid item or payload: 483681"
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3756, resource id: 34053963, major code: 40 (TranslateCoords), minor code: 0
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(2)<KCalendarCore::Incidence*>)
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
/tmp/messageviewer_attachment_aqCUWr was not removed .
/tmp/messageviewer_attachment_EkKMdi was not removed .
/tmp/messageviewer_attachment_IauDam was not removed .
/tmp/messageviewer_attachment_MLTRGe was not removed .
/tmp/messageviewer_attachment_QpCKGI was not removed .
/tmp/messageviewer_attachment_RsYgdJ was not removed .
/tmp/messageviewer_attachment_sexSTt was not removed .
/tmp/messageviewer_attachment_YipRFf was not removed .
/tmp/messageviewer_attachment_ZexRrr was not removed .
/tmp/messageviewer_attachment_zjHxVR was not removed .
/tmp/messageviewer_JMrXyq.index.2 was not removed .
/tmp/messageviewer_rUcYHr.index.2 was not removed .
/tmp/messageviewer_ZmsZpP.index.2 was not removed .
/tmp/messageviewer_JMrXyq.index.2 was removed .
/tmp/messageviewer_rUcYHr.index.2 was removed .
/tmp/messageviewer_ZmsZpP.index.2 was removed .
KCrash: Application '.kmail-wrapped' crashing...
Aborted (core dumped)

EXPECTED RESULT
Kmail correctly adds the event to the calendar and stays running.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS 20.10
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: KDE Frameworks 5.73.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Lyle 2023-12-31 17:05:42 UTC
Still an issue in:
KMail    5.24.3
NixOS    23.11
KDE Plasma    5.27.10
KDE Frameworks    5.112.0
Qt    5.15.11
Linux kernel    6.1.65