Applet uses more and more CPU over time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panflute |
Fix Released
|
Low
|
Paul Kuliniewicz | ||
0.6 |
Fix Released
|
Low
|
Paul Kuliniewicz |
Bug Description
[taken from this comment (https:/
Running panflute 0.6.1 with Rhythmbox on Ubuntu 9.10 gives me the same problem. Namely, after having the applet running for a while (around 12 hours or so), it takes longer and longer for the track information to update (as much as 30s). During this time, the applet is unresponsive -- right clicking on it doesn't draw the menu until the information updates and my cpu usage goes very high. If I remove panflute from my bar and then re-add it, everything is fine again.
For reference, here are the contents of applet.stderr:
/usr/lib/
applet_factory)
/usr/lib/
pixels = pixbuf.
/usr/lib/
for row in pixbuf.
(the other two stderr.* files are empty)
What's interesting is that I used to use this back when it was called Music Applet, and I recall a similar thing happening.
Changed in panflute: | |
status: | Confirmed → Fix Released |
I've noticed this too, but haven't been able to figure out the cause so far. The CPU usage drops while paused, which rules out a problem with the metadata scroller as the actual cause. The fact that it exhibits slowdown is most likely because something *else* is using more and more CPU and taking time away from it.
My best guess is some timeout handler that isn't getting properly freed, but I currently have no idea where it is, and the fact that this problem only occurs over time makes it a bit tricky to debug.