Bug 509630

Summary: Konsole with large amount of history cleanly exits
Product: [Applications] konsole Reporter: Simon Schmeisser <s.schmeisser>
Component: generalAssignee: Konsole Bugs <konsole-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Simon Schmeisser 2025-09-18 08:35:05 UTC
SUMMARY
We have a bash session running a python programm (roslaunch) that starts our robot control software. It produces lots of output so we/some of my coworkers set the history to 1.000.000 lines. Now after 2-5 hours konsole just disappears.

STEPS TO REPRODUCE
1. start konsole
2. roslaunch ...
3. wait a few hours

OBSERVED RESULT
log files indicate "KeyboardInterrupt" being send to python, konsole cleanly exits, logs say:

Sep 17 17:41:17 mikado-20016 systemd[1535]: app-org.kde.konsole-8b2980e9dd78468ea40c8aaff7ec0612.scope: Consumed 1d 2h 18min 22.845s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit UNIT completed and consumed the indicated resources.


EXPECTED RESULT

Software keeps running or coredump or OOM-killer log message

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 6.8.0-65-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2

ADDITIONAL INFORMATION
We do not observe this behavior with the same setup and gnome-terminal (running for 12h+ now)
Memory usage is about 20GB out of 30GB now after 12h

We have coredumps activated but none are being written, looks like a clean exit
Comment 1 Simon Schmeisser 2025-09-19 07:58:50 UTC
With 100,000 lines of history it seems to work stable
Comment 2 Christoph Cullmann 2025-11-29 16:18:42 UTC
Please re-try that with a 25.xx version, thanks.
Comment 3 Bug Janitor Service 2025-12-14 03:46:08 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!