! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
ristretto-0.0.22 leaks memory
Status:
RESOLVED: INVALID
Product:
Ristretto
Component:
Application

Comments

Description Jeremy Olexa 2009-06-07 17:47:24 CEST
See downstream bug report: http://bugs.gentoo.org/270664

Running "valgrind --tool=memcheck --leak-check=full ristretto"
And then opening the image, gives this output:

==31404== LEAK SUMMARY:
==31404==    definitely lost: 3,234 bytes in 13 blocks.
==31404==    indirectly lost: 10,068 bytes in 505 blocks.
==31404==      possibly lost: 197,247 bytes in 236 blocks.
==31404==    still reachable: 1,076,691,176 bytes in 29,200 blocks.
==31404==         suppressed: 0 bytes in 0 blocks.
==31404== Reachable blocks (those to which a pointer was found) are not shown.
==31404== To see them, rerun with: --leak-check=full --show-reachable=yes

There is an example image that causes this on that bug report, feel free to ask if you need anymore info. Thanks.
Comment 1 Stephan Arts editbugs 2009-06-08 21:14:46 CEST
This seems to be a bug in the image + gtk, it can not be opened in the gimp here either. I'll have to do some more investigation though.
Comment 2 Jeremy Olexa 2009-08-23 03:00:09 CEST
(In reply to comment #1)
> This seems to be a bug in the image + gtk, it can not be opened in the gimp
> here either. I'll have to do some more investigation though.

Probably not a big deal then. Thanks for the comment and sorry for my late response. I'm closing the downstream gentoo report
Comment 3 Stephan Arts editbugs 2009-08-23 09:52:26 CEST
Well, could you try to reproduce with the latest gtk+ (and both ristretto and the gimp), if it is a Gtk+ bug it should still be fixed ofcourse, but at a different upstream. ;-)
Comment 4 Michiel 2009-08-23 22:36:31 CEST
This happens with GTK 2.16.5 (2.16 is the latest stable). In some programs it displays fine; in others not.

The programs in which it doesn't work:
* display, ImageMagick.
* F-Spot
* Gimp
* Ristretto
* Evince

Programs in which it does work:
* Whatever makes the Nautilus thumbnails
* gthumb
* Eye of Gnome

ImageMagick and GTK both use libtiff, so maybe it is libtiff that is to blame here. but that  doesn't explain why in some programs it does work.
Comment 5 Stephan Arts editbugs 2009-10-16 06:28:59 CEST
Gonna close this bug then :)

Bug #5434

Reported by:
Jeremy Olexa
Reported on: 2009-06-07
Last modified on: 2009-10-16

People

Assignee:
Stephan Arts
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information