Re: [gDesklets] 0.36.3 leaking memory?!



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
> 
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]