#776536 /usr/bin/eog: Crash raising a gdk error when opening png test images

Package:
eog
Source:
eog
Description:
Eye of GNOME graphics viewer program
Submitter:
Lucas Serrano
Date:
2015-06-08 19:24:31 UTC
Severity:
normal
#776536#5
Date:
2015-01-29 04:22:12 UTC
From:
To:
Dear Maintainer,

Eog is crashing when opening an example image from libpng.org.
The image responsible for the crash can be found at this url:
http://www.libpng.org/pub/png/img_png/16million.png

It is containing all 16,777,216 possible 24-bit colors.

The crash print the following Gdk traceback:

Gdk:ERROR:/tmp/buildd/gtk+3.0-3.14.5/./gdk/gdkcairo.c:193:gdk_cairo_surface_paint_pixbuf: assertion failed: (cairo_image_surface_get_format (surface) == CAIRO_FORMAT_RGB24 || cairo_image_surface_get_format (surface) == CAIRO_FORMAT_ARGB32)

The image can be opened without problems with Gimp.

#776536#10
Date:
2015-06-02 18:36:55 UTC
From:
To:
Seems that this is a know limitation of cairo.

It can't handle images with an horizontal or vertical size greater than 32K pixels. :(