Summary: | Memory leak in plasma-desktop with Nvidia binary driver | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Shmerl <shtetldik> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | ht990332, johnjaylward, sylvainsjc |
Priority: | NOR | ||
Version: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Valgrind log with memory leaks |
Description
Shmerl
2012-07-16 18:45:27 UTC
Created attachment 72565 [details]
Valgrind log with memory leaks
Output of valgrind run of plasma-desktop filtered for memory leaks:
valgrind --tool=memcheck --leak-check=full plasma-desktop
I tested the same scenario with some other Nvidia cards, and the bug doesn't happen except with Quadro FX 1600M. It could be hardware specific. I found the culprit setting which triggers the leak. In the system tray clock > Digital Clock Settings > Appearance > Show seconds. When it's on - the leak is active. When it's off - it's not leaking. Still it didn't manifest itself on other GPU (desktop, Nvidia 7300gs) for me. So it still can be KDE or Nvidia specific. This bug is fixed with Nvidia's driver 304.51. on KDE 4.9.3 using the nvidia binary I see a similar leak. Should I try to get a similar valgrind log? If so, what's the best way to start plasma desktop through valigrind. I usually login through kdm and don't start kde manually. I see that this bug is not entirely gone. The leak happens in Xorg process, but it's caused by plasma-desktop not releasing resources properly, which can be checked with xrestop: See https://devtalk.nvidia.com/default/topic/524486/linux/memory-leak-in-xorg-with-quadro-fx-1600m-pcie-sse2/ To run plasma-desktop with valgrind just kill the plasma-desktop process, and run it through valgrind from the terminal (as here: https://bugs.kde.org/show_bug.cgi?id=303625#c1 ). I wasn't able to attach my log as it's was pretty large. Here's a link: http://www.aylward.me/~john/plasma-desktop.leak.log I ran it overnight with almost no user interaction. It ran for about 9.5 hours. |