Summary: | .svg file causes huge memory leak if preview and SVG thumbnailer are activated in Dolphin | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | fanzhuyifan, notmart, qydwhotmail, till.seifert |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | .svg file |
Description
Patrick Silva
2024-04-30 15:33:18 UTC
Can also reproduce with these steps: 1. right-click on desktop and choose "Configure desktop and wallpaper..." 2. maximize the desktop settings Plasma crashes after the steps above. OR 1. open Wallpaper KCM 2, maximize the System Settings My wallpaper type is set to "Image". can't reproduce on dev build, arch linux, wayland. Maybe some particular wallpaper(s) are causing the issue? Created attachment 169036 [details]
.svg file
Its possible. journallog prints this when I open the wallapaper settings:
abr 30 13:10:27 Arch-PC plasmashell[12622]: libKExiv2: Cannot load metadata from file (Error # %1: The file contains data of an unknown image type )
The memory leak also occurs when I scroll the list of wallpapers while the wallpaper settings is not maximized.
I have found the culprit: the .svg file that comes together the wallpapers of Sweet Global theme.
Download the attached .svg file, copy it to /home/your_user/.local/share/wallpapers/ and try to reproduce the bug.
This .svg file even makes Dolphin to crash if its previews feature is activated and "SVG Images" is checked in "Previews" tab of Dolphin settings.
I have a similar, maybe same issue with current neon: * when opening in image in a folder with many simple but largish (dimensionwise; 5000x5000px viewbox) SVG files. * Gwenview will display the image and start loading previews of the other images in the folder in bar at the bottom * kioworker process appears and consumes memory of ~2GB/second. * it gets killed by oomkiller when it hits ~50GB * some thumbnails appear in gwenview, but not all i can provide a test folder if needed to repro |