Bug 509355

Summary: akonadi_maildispacher_agent crashes every time one tries to send email via SMTP
Product: [Applications] kmail2 Reporter: konrad.baginski
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel
Priority: NOR    
Version First Reported In: 6.5.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description konrad.baginski 2025-09-10 19:06:54 UTC
SUMMARY
akonadi_maildispacher_agent crashes every time one tries to send email via SMTP

STEPS TO REPRODUCE
0. note, i have multiple identities and sending accounts. None of them have save password option enabled.
1. create a new email add recipiet, select the identity to use and if not autoselected select Mail transport. write some subject and message.
2. press Send button. 
3.Normally kmail asks for password to SMTP-server and sends email, now it does not ask for password, places email in outbox and after a short while the akonadi_maildispatcher_agent crashes.
4. the crash detector tries to collect data but reports that some error occurs and no data is collected nor any auto-bug sent.

OBSERVED RESULT
mail sticks in outbox

EXPECTED RESULT
mail to be sent.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: dont know, latest with fedora 42.
KDE Plasma Version: dont know.
KDE Frameworks Version: dont know.
Qt Version: dont know.

ADDITIONAL INFORMATION
re-installing akonadi and kmail packages (and many others did not help).
removing ~/.local/share/akonadi/db_data directory did not help.
kwallet has no data for SMTP servers.

SMTP servers are autodetected to use STARTTLS.
Comment 1 Laurent Montel 2025-09-11 04:47:28 UTC
fixed in 6.5.1