[Bug 817932] New: Plasma-desktop memory leak
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c0 Summary: Plasma-desktop memory leak Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: i686 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: lashkevi@landau.ac.ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=537520) --> (http://bugzilla.novell.com/attachment.cgi?id=537520) You see: the number of pictures in the first line (plasma-desktop) is enormous. No other application contains such figures. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0 When I start a KDE4 session the amount of the Xorg resident memory is about 17M. Then it gradually grows up to 350M or more blocking work of applications. The xrestop shows that this memory is owned by pixmaps of plasma-desktop. Namely, I launch xrestop after entering a session, do any action and trace changes. With ANY change on the desktop (hiding or appearing panels or windows, of hidden icons of systray, changes of icons in systray, even switching between windows) the figures in the columns "Misc" and "Pxm mem" against plasma-desktop rise and NEVER fall. As for Xorg, nearly the whole excessive memory belongs to the "heap" section (according to the "/proc/.../smaps" file). Reproducible: Always Steps to Reproduce: 1. Start a KDE4 session. 2. Launch xrestop in an xterm. 2a. Launch top or krunner window. 3. Do anything and look to xrestop and top/krunner. Actual Results: The pixmap memory is constantly increasing. The Xorg resident memory is synchronously rising. After a pair of hours the last reach critical values (about 350MB), where you have to restart either the plasma-desktop (less efficiently: Xorg resident memory will decrease slowly after that) or the X session (efficiently, but inconvenient for your work). Expected Results: The pixmap memory (as well as the number of pictures) rises and falls from time to time. The average Xorg resident memory remains the same rising or decreasing slightly in accordance with the weight of the applications. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c1 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hrvoje.senjan@gmail.com --- Comment #1 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-04-30 22:37:40 UTC --- There have been a few fixes regarding plasma memleaks which should end up in 4.10.3: https://bugs.kde.org/show_bug.cgi?id=318636 http://quickgit.kde.org/?p=kdelibs.git&a=commit&h=b29820e09a0a0e355f6c8e743ca142af89118290 and/or 4.10.4 http://quickgit.kde.org/?p=kdelibs.git&a=commit&h=4cd97cd6233ae24f1481d2c9fe956c7c48d1127f I've tried reproducing the issue with latest kdelibs, and plasma-desktop's memory/pixmaps do rise and drop over time. So, seems fixed upstream. However i advise you if you can report this at kde bugtracker too. P.S. If you can test a theme without shadows and see does that improve the situation, that would confirm my thinking this specifix issue is indeed fixed. I think Aya and maybe Slim-glow don't have any shadows. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c2 --- Comment #2 from Michael Lashkevich <lashkevi@landau.ac.ru> 2013-05-08 21:48:17 UTC --- I use Fushigi. Previously, I used Blueice. Are they themes without shadows? Both produce growth of the X memory, but in Fushigi it seems slower. According to my observations, any moving element (including a moving screensaver and the system notifications icon) leads to faster growth. The memory of the X server rapidly decreases after I restart plasma-desktop (killall plasma-desktop && plasma-deskto) and then begins to slowly grow again. Is it scheduled to update to 4.10.4 in OpenSUSE 12.3? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c3 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.kde.org/show_b | |ug.cgi?id=314919 --- Comment #3 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-05-12 20:21:05 UTC --- (In reply to comment #2)
I use Fushigi. Previously, I used Blueice. Are they themes without shadows? Michael i believe Fushigi does have shadows, but not the ones those fixes are for. I'm not familiar with Blueice theme.
Is it scheduled to update to 4.10.4 in OpenSUSE 12.3? Yes, it's planned to deliver 4.10.3 (as also 4.10.4) to regular update repo (both of those fixes have now ended up in 4.10.3).
I've added upstream report for reference also here (noticed you wrote there). If the bug is indeed caused as is suggested there, you might want to turn off Status notifier Manager, and see does that improve the situation -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c4 --- Comment #4 from Michael Lashkevich <lashkevi@landau.ac.ru> 2013-05-23 18:53:40 UTC --- Removing notifier manager indeed essentially improves the situation, though does not solve the problem completely. I have already added a comment confirming the issue to "https://bugs.kde.org/show_bug.cgi?id=314919". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c5 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lashkevi@landau.ac.ru --- Comment #5 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-07-02 17:44:19 UTC --- @Michael, would you be able to test a package with potential fix? I guess you noticed upstream bug is closed, but commit didn't manage to get in 4.10.x. If it works, we could then include it with the regular 4.10.5 update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c6 --- Comment #6 from Michael Lashkevich <lashkevi@landau.ac.ru> 2013-07-02 18:17:32 UTC --- (In reply to comment #5)
@Michael, would you be able to test a package with potential fix? I guess you noticed upstream bug is closed, but commit didn't manage to get in 4.10.x. If it works, we could then include it with the regular 4.10.5 update.
I could, if you sent me the package just now. Tomorrow evening I am leaving for rafting, and surely do not plan to test the buoyancy of the computer. If not now, then I'll be only able to test it three weeks later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c7 --- Comment #7 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-07-02 18:41:04 UTC --- Great :-) Repo with the patch is here: http://download.opensuse.org/repositories/home:/sumski:/branches:/openSUSE:/... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c8 --- Comment #8 from Michael Lashkevich <lashkevi@landau.ac.ru> 2013-07-02 21:29:04 UTC --- It seems that the bug is fixed by the patch. For three hours the number named "Misc" on xrestop has changed very little. I returned system notifications to the systray, I started a moving screensaver (`science'), I plugged out the network cable to force the skype icon to role (before it resulted to a fast rise of memory usage), I switched between windows, but all that did not result in any essential X memory usage growth. Moreover, sometimes memory usage decreased. So, I think the bug is fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c9 --- Comment #9 from Michael Lashkevich <lashkevi@landau.ac.ru> 2013-07-02 21:31:54 UTC --- Created an attachment (id=546578) --> (http://bugzilla.novell.com/attachment.cgi?id=546578) xrestop output just after the session has been started Xrestop output just after the session has been started. The patched version of KDE desktop. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c10 --- Comment #10 from Michael Lashkevich <lashkevi@landau.ac.ru> 2013-07-02 21:35:57 UTC --- Created an attachment (id=546579) --> (http://bugzilla.novell.com/attachment.cgi?id=546579) xrestop output after three hours of working session Xrestop three hours later. The patched verstion of the KDE desktop. You see, the X memory usage has not increased notably. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c11 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|lashkevi@landau.ac.ru | --- Comment #11 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-07-02 21:38:42 UTC --- OK, good news then. Thanks for testing! I'll add the patch to 4.10.5 packages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c12 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED --- Comment #12 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-07-16 00:52:27 UTC --- Fix included in 4.10.5 packages, closing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |obs:running:1887:moderate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=817932 https://bugzilla.novell.com/show_bug.cgi?id=817932#c13 --- Comment #13 from Swamp Workflow Management <swamp@suse.de> 2013-08-02 13:04:19 UTC --- openSUSE-SU-2013:1291-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 817932,829857 CVE References: CVE-2013-4132,CVE-2013-4133 Sources used: openSUSE 12.2 (src): kdebase4-workspace-4.8.5-2.18.1, python-kdebase4-4.8.5-2.18.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=817932 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:1887:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com