Bug 502289

Summary: kontact crashes frequently, gdb uses all memory and freezes system
Product: [Applications] kontact Reporter: Martin Tlustos <martin.tlustos>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Tlustos 2025-04-01 15:38:40 UTC
SUMMARY
Pretty frequently kontact crashes, normally after having exited and then restarting, but also sometimes after exiting. When that happens, drkonqui runs gdb, which then fills the entire RAM and Swap, until it eventually gets cancelled by the system.

STEPS TO REPRODUCE
1. Start kontact
2. Open kmail part, 
3.  open akregator and download new articles
4. go back to kmail
5. close
6. in konsole, type "akonadictl stop" and wait for all processes to stop
7. start kontact

OBSERVED RESULT
Huge RAM usage, system freezes

EXPECTED RESULT
System should not freeze

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 15,0 GiB of RAM
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: AMD Radeon 550X Series
Manufacturer: Acer
Product Name: Aspire A515-44G
System Version: V1.12

ADDITIONAL INFORMATION
I found this bug that might be related:
https://sourceware.org/bugzilla/show_bug.cgi?id=23710#c24