Bug 510604

Summary: KMail crashes when creating a new SIEVE script if adding is canceled
Product: [Applications] kmail2 Reporter: Tobias Leupold <tl>
Component: sieveAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: crash CC: montel
Priority: NOR    
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tobias Leupold 2025-10-14 16:51:37 UTC
STEPS TO REPRODUCE

1. Add a new SIEVE script
2. Choose some name
3. Click "Cancel"

OBSERVED RESULT

KMail crashes

EXPECTED RESULT

No crash obviously ;-)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 25.04.3
Qt Version: 6.9.3

ADDITIONAL INFORMATION

Alas, I can't create a backtrace using drkonqui. All I get is:

Starting debugger gdb -nw -n -batch --init-eval-command=set debuginfod enabled on -x /tmp/drkonqi.lpbuKY -x /tmp/drkonqi.oWKKgk -p 20617 /usr/bin/kmail
Support for debuginfod is not compiled into GDB.
ptrace: No such process.
python sentry-sdk not installed :(
/tmp/drkonqi.oWKKgk:1: Error in sourced command file:
No thread selected
Debugging ended with exit code '1' and exit status 'NormalExit'
Comment 1 Laurent Montel 2025-10-15 06:11:51 UTC
I confirm it.
I will work on it