Bug 494063

Summary: Animated image causes memory leak and crash
Product: [Plasma] plasmashell Reporter: hankoczigabor
Component: Image & Slideshow wallpaper pluginsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev, notmart, qydwhotmail, sykotes
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash caught with valgrind using massif

Description hankoczigabor 2024-10-03 19:19:40 UTC
Created attachment 174380 [details]
crash caught with valgrind using massif

SUMMARY
When using animated images (webp or gif) as a wallpaper the memory usage is normal for a couple of minutes than goes up exponentially, than the application crashes.

STEPS TO REPRODUCE
1. Set an animated image as a wallpaper 
2. Wait ~5 minutes

OBSERVED RESULT
Application freezes and crashes


EXPECTED RESULT
No crash would be preferred

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.10.11-200.fc40.x86_64 (64-bit)
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Graphics platform: wayland

ADDITIONAL INFORMATION
Video card: Nvidia GeForce RTX 2070 Super
Nvidia driver version: 560.35.03

Attached is the output of massif when the memory leak happens. Relevant part starts at line 4472.
Comment 1 TraceyC 2025-02-12 16:28:13 UTC
Thank you for the bug report! This looks to be the same issue as Bug 480693.

I'm marking this as a duplicate of that one, since the other has developer involvement. You can follow the progress of this issue in the other report.

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