Re: [gDesklets] 0.36.3 leaking memory?!
- From: Ronny Lorenz <raumzeit gmx net>
- To: gdesklets-list gnome org
- Subject: Re: [gDesklets] 0.36.3 leaking memory?!
- Date: Fri, 11 Mar 2011 08:05:09 +0100
here is what I did:
in bash:
export PYTHON=python2
cd gdesklets-0.36.3 #go to sources dir
sed -i 's/python -c/$PYTHON -c/' configure
sed -i 's/python/python2/' shell/plugins/PackageInstaller/__init__.py
./configure --disable-static PYTHON=python2
make;make install
after that i was happily able to compile from distributed 0.36.3 sources
without any problems.
Actually i also passed --prefix to ./configure script but this doesn't
matter ;)
I found these changes to be applied in the gdesklets AUR repo for
ArchLinux [ just to not run into any plagiarism issues ;) ]
greetings
ronny
On 03/10/2011 12:33 PM, Bjoern Koch wrote:
Hi there,
Python 2.7 ... can you post the changes you made to get it running ?
Looking forward to your report ;).
Greetings, Bjoern
Am 10.03.2011 10:46, schrieb Ronny Lorenz:
Thank you Bjoern,
I already tried to fix this yesterday. The problem was that I wasnt able
to compile gdesklets from sources using python 2.7 but i found which
changes I had to apply to the configure script and now it does.
gDesklets is now running with my changes applied, I will report back if
it helped after i observed the behavior for some days of uptime
I hope it worked ;)
greetz
ronny
On 03/10/2011 09:25 AM, Bjoern Koch wrote:
Hi Ronny,
this may be it... I found that gdk_pixbuf_scale_simple() returns a
copy... and 'scaled' (in the appropriate line of utils/render.c) seems
to be free'd only if the width or height has changed...
Ah.... OK... this would make sense.
I will try and test it if I find out how to checkout the sources ;)
Just see rev.#142 :
http://bazaar.launchpad.net/~gdesklets-core-team/gdesklets/0.3x/revision/142/utils/render.c
And it looks like the "original" code is still there but just "commented
out" (as if I knew something would be going wrong ;) ).
So you should be able to take the 0.36.3 sources and undo the changes in
utils/render.c made in rev. #142.
Should be easy to do.
Hope that helps.
Greetings, Bjoern
_______________________________________________
gdesklets-list mailing list
gdesklets-list gnome org
http://mail.gnome.org/mailman/listinfo/gdesklets-list
_______________________________________________
gdesklets-list mailing list
gdesklets-list gnome org
http://mail.gnome.org/mailman/listinfo/gdesklets-list
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]