Since an update on ArchLinux in late October, KMail crashes quite often when moving mails between folders, e.g. when sorting mails form Inbox to some other folder. According to the package manager, both kmail and Akonadi have the version number 22.08.3-1. To collect information, I stopped Akonadi (akonadictl stop) and restarted it in a console to see any relevant debug output during a crash. Same with kmail. No special settings for extra debug output e.g. via kdebugsettings were made. Akonadi made only some initial output but nothing later or during a crash. kmail, however, gave the following output. I think but are not sure that the output up to the last "DispatchModeAttribute" was before the crash. Error loading text-to-speech plug-in "speechd" org.kde.pim.mailtransportakonadi: Item doesn't have DispatchModeAttribute. d->folderTreeWidget->selectedCollection() Collection ID: 199 remote ID: "AAMkADdjYzdhYjJkLTBjNGItNDRhZS05NjZjLWIxNzY5OTI2MTllNwAuAAAAAAA5OWMvCOhAR7niCe/yxRIKAQCzEcl00IXvRLelEuHv21iGAAAAxUoQAAA=" name: "Personal" url: QUrl("akonadi:?collection=199") parent: 38 "AAMkADdjYzdhYjJkLTBjNGItNDRhZS05NjZjLWIxNzY5OTI2MTllNwAuAAAAAAA5OWMvCOhAR7niCe/yxRIKAQCzEcl00IXvRLelEuHv21iGAAAAxTaMAAA=" resource: "akonadi_ews_resource_0" rights: QFlags<Akonadi::Collection::Right>(AllRights) contents mime type: ("message/rfc822", "inode/directory") isVirtual: false CachePolicy: inherit: true interval: -1 timeout: -1 sync on demand: false local parts: () CollectionStatistics: count: 3620 unread count: 1 size: 561984064 org.kde.pim.mailtransportakonadi: Item doesn't have DispatchModeAttribute. malloc(): mismatching next->prev_size (unsorted) *** KMail got signal 6 (Exiting) *** Dead letters dumped. malloc(): unaligned fastbin chunk detected Let me know if I should try to re-create the crash with some additional debug settings enabled.
Just restarted kmail. It crashed again when moving a mail (context menu to move mail to another folder). This time, the output was different: malloc(): unaligned tcache chunk detected *** KMail got signal 6 (Exiting) *** Dead letters dumped. malloc(): unaligned tcache chunk detected malloc(): unaligned tcache chunk detected Unable to start Dr. Konqi Re-raising signal for core dump handling.