Bug 504373

Summary: Konsole uses 100% CPU when "find" feature used
Product: [Applications] konsole Reporter: hardenedsteel
Component: single-processAssignee: Konsole Bugs <konsole-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hardenedsteel 2025-05-17 01:55:36 UTC
STEPS TO REPRODUCE
1. Open konsole
2. Press CTRL + SHIFT + F or click "Find"
3. Type anything that is NOT in the konsole
(At this point; CPU usage on 1 thread spikes to 100%)
Optionally:
4. Create new tab with `CTRL + SHIFT + T`
5. Try to close or detach the old tab
Konsole crashes

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
When I launch konsole with `strace`, it spams this when CPU usage spikes to 100%
```
ppoll([{fd=5, events=POLLIN}, {fd=36, events=POLLIN}, {fd=38, events=POLLIN}, {fd=41, events=POLLIN}, {fd=54, events=POLLIN}, {fd=56, events=POLLIN}, {fd=66, events=POLLIN}], 7, {tv_sec=0, tv_nsec=0}, NULL, 8) = 0 (Timeout)
```
Comment 1 hardenedsteel 2025-07-01 00:31:28 UTC
seems to be fixed with 25.04.1 or .2