[Goodies-dev] xfce4-playercontrol-plugin doesn't find music players

Christoph Wickert christoph.wickert at googlemail.com
Tue Jan 13 22:58:25 CET 2009


Am Dienstag, den 13.01.2009, 13:27 -0800 schrieb Kemal Ilgar Eroglu:
> Hi again,

Hi Ilgar,

> > I have just relaized that: playercontrol has a severe memory leak. As
> > soon as I play music it eats up all my ram (1GB) and 80% CPU. :( Any
> > idea how to debug this?
> 
> Hmm that's strange, on my system the CPU usage is small and there's no
> noticeable leak. I found out some leaks after 0.3.0 but I can't
> imagine how it can fill up 1GB (my system has 1GB RAM too). I'd
> recommend that you wait for the next version before trying to debug
> it. By the way, are you using a very high scroll speed (and does this
> occur with all players)?

Yes, all players. I can see the cpu consumption rising and after 10-20
secs my system is nearly unusable. I'm seing tons of critical errors as
soon as I hit the 'play' button:

(xfce4-playercontrol-plugin:2007): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed

(xfce4-playercontrol-plugin:2007): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed

...


> > I think you are linking against the wrong libs, because the players are
> > only available from the dropdown if I have their development packages
> > installed.
> > 
> > libaudclient.so, libmpd.so and libaudclient.so belong to the devel
> > packages (at least on Fedora), you should link against the lib with full
> > soname but not the symlink. On Fedora these are libaudclient.so.1.0.0,
> > libmpd.so.0.0.0 and libxmms.so.1.3.1.
> > 
> 
> I'm not really a professional programmer,

me nether ;)

>  so I please bear with my mistakes and questions :). I'm using
> Slackware which installs all the stuff with the packages, so I wasn't
> able to test it against missing -devel packages on RPM systems. Are
> you saying that without the devel package, you system only has, say,
> libaudclient.so.1.0.0, but the link libaudclient.so to it is added by
> the -devel package?

Yes, exactly, see
http://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages
Not sure how other distros handle that, but at least on Fedora it's like
that. We already had a bug filed against xfce4-xmms-plugin:
https://bugzilla.redhat.com/show_bug.cgi?id=236064

> 
> Cheers,
> Ilgar
> 

Regards,
Christoph




More information about the Goodies-dev mailing list