| Summary: | MEMORY LEAK | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | ethanlaw0499 |
| Component: | Containment | Assignee: | Sebastian Kügler <sebas> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | kde, plasma-bugs-null, vkrevs |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | "bad" plasma-org.kde.plasma.desktop-appletsrc | ||
|
Description
ethanlaw0499
2017-06-10 00:57:23 UTC
Those backtraces only cover the definitely lost which amounts to a whopping 3,168 bytes. Not really worth looking at. The ==4325== still reachable: 2,529,068 bytes in 53,866 blocks is more relevant, but your traces don't cover that. I did fix a huge leak in frameworks 5.35. Please confirm if you have this. I've just updated to latest Qt 5.9.1, Frameworks 5.35, etc from the following repos on openSUSE 42.2 http://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Leap_42.2/ http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.2/ http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_42.2/ http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_42.2 and now plasmashell leaks 5-7 mb every 10 seconds (according to the Memory column in System Activity). An hour ago I killed an 18Gb plasmashell process, and within minutes of restarting plasmashell's memory usage is over 800Mb. $ rpm -qf `which plasmashell` plasma5-workspace-5.10.3-331.3.x86_64 vadymk@stal-dev-lx1 ~ $ rpm -qa | grep -i framework plasma-framework-components-debuginfo-5.35.0-178.3.x86_64 plasma-framework-5.35.0-178.3.x86_64 plasma-framework-lang-5.35.0-178.3.noarch plasma-framework-private-debuginfo-5.35.0-178.3.x86_64 plasma-framework-private-5.35.0-178.3.x86_64 plasma-framework-components-5.35.0-178.3.x86_64 frameworkintegration-plugin-5.35.0-139.4.x86_64 plasma-framework-debuginfo-5.35.0-178.3.x86_64 $ rpm -qa | grep libQt5Core5 libQt5Core5-5.9.1-5.1.x86_64 Then please get a valgrind log like the original poster did, but include --leak-check=full --show-leak-kinds=all in your valgrind args Created attachment 106458 [details]
"bad" plasma-org.kde.plasma.desktop-appletsrc
this causes a leak in plasmashell.
Don't have a valgrind log, but have heaptrack logs. heaptrack log: https://drive.google.com/open?id=0B9obXDcgwWMHd3pTcTdIcWZsQkE plasmashell console output: https://drive.google.com/open?id=0B9obXDcgwWMHWUJsazRUT0lOTzA At first it looked like the nvidia driver was leaking memory (which was not the case ever before zypper dup). Rebuilt the driver (tried several versions - stable and beta - NVIDIA-Linux-x86_64-375.66.run NVIDIA-Linux-x86_64-381.22.run NVIDIA-Linux-x86_64-384.47.run) - the memory leak in plasmashell still there. Created a new user, logged in as that user - no memory leak. Deleted my normal user's .config/plasma-org.kde.plasma.desktop-appletsrc, logged back in - no memory leak. Changed default desktop type to desktop from folder view - no leak. Readded my old folder view widgets - no leak. Changed wallpaper type to "slideshow" instead of "image" - memory leak in back. TLDR: "bad" .config/plasma-org.kde.plasma.desktop-appletsrc is attached. |