Bug 504373 - Konsole uses 100% CPU when "find" feature used
Summary: Konsole uses 100% CPU when "find" feature used
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: single-process (other bugs)
Version First Reported In: 25.04.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-17 01:55 UTC by hardenedsteel
Modified: 2025-07-01 00:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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