Bug 471528

Summary: Memory leak while screen recording with spectacle
Product: [Applications] Spectacle Reporter: Gurenko Alex <agurenko>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kde
Priority: NOR    
Version: 23.04.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gurenko Alex 2023-06-28 11:35:55 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Start selected screen recording with spectacle
2. observe memory consumption


OBSERVED RESULT

Spectacle consumes all 32 Gb of memory in about 90-120 seconds of recording, if I'm lucky oom-killer kills the app, if not the whole system hangs

EXPECTED RESULT

Spectacle should consume limited and finite amount of memory

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107
Qt Version:  5.15.10

ADDITIONAL INFORMATION
Here is quick show of how it looks: https://drive.proton.me/urls/JWWA3SGT1M#k55KK8iOfSzR
Comment 1 Patrick Silva 2023-06-28 12:29:54 UTC

*** This bug has been marked as a duplicate of bug 469005 ***