GNOME Bugzilla – Bug 510278
gtk.statusicon leaking under windows
Last modified: 2009-03-29 03:15:27 UTC
Steps to reproduce: 1. take 2 images 16x16 (online.png and away.png) from http://trac.gajim.org/browser/trunk/data/iconsets/sun/16x16 2. Put the attached script in the same folder 3. Run it. in process manager I see used mem growing and growing. same script under linux doesn't seem to leak Stack trace: Other information:
Created attachment 103094 [details] test python script
Lowering severity, this is not critical.
it makes my application crash after several days under windows...
I'm not sure it is PyGTK-specific, no apparent errors in PyGTK code. Can you test with GTK+ itself?
See bug 364868. I guess updating GTK+ would help.
it seems this patch was applied in 2.10. I tried with 2.12 and bug is still here. But maybe you're right that it's not PyGTK specific. Unfortunatly I never use Windows, so I don't have a C environment to test, and I don't have much time :/
I can be wrong but this looks like a problem of GTK+ on win32 (sorry I cannot test it though). If it's not GTK+/win32 please move it back and hopefully someone will test it with the latest gtk/pygtk 2.13.x on windows.
When running this against GTK+ 2.12.11 I see absolutely no increase in memory usage or handle count. I even lowered the delay to Are you sure you tried against GTK+ 2.12, and were not mislead by some older GTK+ copy you didn't remember being present in PATH (or, brrr, system32)? Please use Process Explorer from sysinternals to verify that the GTK+ DLLs loaded into the python process when running the code are those that you expect.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!