Summary: | VMWare Workstation 9.0.1, 9.0.2 causing pixmap leak in plasma-desktop via System Tray widget, causes eventual slowdown after ~12 hours | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Rand Kmiec <kmiec.rand> |
Component: | widget-systemtray | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | mark, rdieter, till2.schaefer |
Priority: | NOR | ||
Version: | 4.9.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=314919 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Rand Kmiec
2013-01-24 05:20:21 UTC
Though I have not tested this (and am not sure I want to, to avoid messing up my VMWare install), I suspect that the same issue would be visible using VMWare Player, which is free (http://www.vmware.com/products/player). If anybody has problems reproducing it and needs me to try this, let me know. Just want to say I fail to reproduce it. After running netbsd in vmplayer for a few hours, I haven't notice significant pixmap leak in plasma-dekstop. Using vmware-player-5.0.1.894247 and the nouveau driver. Thanks for testing that. I just noticed that the same version of VMWare player (5.0.1 build-894247) is installed by VMWare, and I am able to reproduce it there, but ONLY if I've first launched the real VMWare (I have a full version of Workstation) first. After I've launched that once, even if I don't run a VM in it, just booting an empty new VM in VMWare player can reproduce it (even if I close VMWare Workstation). No actual VM required, just waiting on the network boot ROM or BIOS screen produces the 4KB/sec increase. This also occurs for me with or without desktop effects turned on, and I also get it with a completely fresh .kde folder. I compiled and ran this to try and get some information about the pixmaps being created: http://people.redhat.com/caolanm/pixmaps/pixmap.c And I can see a lot of lines that occur when VMWare is running, and look like this: ===================== 0x1800f59 DESTROY 0x1800f66 CREATED 0x1800f63 DESTROY 0x1800f66 DESTROY 0x1800f69 CREATED 0x1800f6b CREATED 0x1800f70 CREATED 0x1800f70 DESTROY 0x1800f73 CREATED 0x1800f6b DESTROY 0x1800f69 DESTROY ===================== But I looked at around 1000 of these lines (they come in groups of about 10/sec), and did not see anything being created that was not also destroyed shortly thereafter, out of that sample. Does anybody have any suggestions as to how I can figure out *why* plasma-desktop's "Pxm mem" is increasing in xrestop? I tried running Valgrind on plasma-desktop, but I couldn't really see anything obvious (it did seem to find many other errors that are unrelated, as well as some 'definite' memory leaks, but I don't think it's what's happening here). I'm now running 313.18 NVidia drivers and seeing it on there as well. Next step will probably be to try some other versions, though changing those tends to be at least a little bit painful. If there's a easy to use utility to see what's going into the pixmap cache for a given process, that would be very helpful I think. After reading a forum post on the KDE forums (http://forum.kde.org/viewtopic.php?f=67&t=110294), I tried hiding the VMWare icon from the System Tray widget. Now I no longer get the pixmap increases, though if I click the up arrow to show the hidden icons, it starts increasing again while it's open... so seems like the System Tray widget is really the problem, not plasma-desktop itself. If anybody has additional suggestions/wants me to gather more data, please let me know, but for now I think this probably solves my immediate issue of having to restart plasma-desktop repeatedly (though I'll see how it goes over the next few days). I am not sure if this is relevant but I have the same symptoms with different triggers (no VMWare for a start). I my case, the trigger is Dropbox. When performing a sync, Dropbox displays an animated tray icon and that is causing X CPU usage to spike at 100% until the sync completes (when Dropbox returns to a static "green tick" icon). I only found this because I had an unreadable file in my Dropbox folder[1], which cased the sync to fail and the animated icon to remain. As with the OP, from a fresh boot it takes time for the problem to manifest itself and it gets gradually worse over time. I note that attempts to reproduce the problem have failed so I wonder whether the OP has Dropbox installed? [1] https://forums.dropbox.com/topic.php?id=98835 I do not have Dropbox installed on this PC, though as I had noted in one of the previous posts, it seemed to require having run the full VMWare Workstation app prior to running VMWare Player if I wanted to reproduce it with VMWare player (which I found pretty strange). I would definitely not be surprised if other apps cause this as well, though -- it's pretty slow to cause problems, and the end effect is a little bit subtle, though it's definitely a huge usability impact if you have to restart Plasma once a day (after hiding the icon, however, it no longer happens, so for now that's a decent workaround for me). reproducible here on gentoo with kde 4.10.2 and vmware workstation 8.0.5 I agree that this does seem to be a duplicate of 314919, so marking it as such; even though the VMWare icon doesn't seem to blink at all, it's likely animated to show status updates all the time, perhaps it keeps showing the same icon to indicate status regardless of whether that status changes. *** This bug has been marked as a duplicate of bug 314919 *** |