Bug 452394

Summary: Kmail freezes after launch
Product: [Applications] kmail2 Reporter: Andreas <bugs>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version: 5.15.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andreas 2022-04-08 08:16:50 UTC
SUMMARY
Hello,
yesterday I suddenly had the problem on two Debian systems (Bullseye), which are independent of each other, that Kmail no longer starts properly but freezes constantly and the Kmail process had to be terminated via kill.
Running kmail from the console brings up this error message:


STEPS TO REPRODUCE
kmail
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
org.kde.pim.kmail: setFcc: collection invalid  ""
org.kde.kitinerary: Cannot find external extractor: "kitinerary-extractor"
org.kde.kitinerary: Cannot find external extractor: "kitinerary-extractor"
org.kde.kitinerary: Cannot find external extractor: "kitinerary-extractor"
org.kde.kitinerary: Cannot find external extractor: "kitinerary-extractor"
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")

OBSERVED RESULT
Kmail window freezing and unusability.
Possibly, however, an e-mail has come in that has thrown the e-mail program out of step. This may have happened due to an "unusual" character string, insufficient range checking for Unicode characters, etc. Unfortunately, this can no longer be traced back.
The fact is that everything was working normally yesterday morning and then suddenly from 9 am this problem appeared after reading mails earlier in the morning.

INTERIMS RESULT
A move from

mv ~/.local/share/kmail2 ~/.local/share/kmail2.bak

on both machines has ended the spit for now.



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 11
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
No software installation or system upgrades between last functioning and failure occurrence. The client is currently working again with the above solution.