Bug#1106540: eog silently fails to view PNG files with sufficiently large dimensions though the files themselves are small

Peter Müller PeterMueller at ro.ru
Sun May 25 19:34:13 BST 2025


Package: eog
Version: 43.2-1

When viewing the attached PNG file 11586.png of dimensions 11586 × 11586 via

$ eog 11586.png

, eog fails to display it; cf. viewing_11586.png.  No messages are printed to the console. The return status is 0, i.e., success.  Notice that the file is small, namely, only 146 K.  We expect that the file is displayed properly (in the particular case, it should be simply all white).  If eog fails in any way (e.g., a failure to allocate resources), we should get at least a nonzero exit code and, ideally, an error message to stderr.

To compare, when we view the slightly smaller file 11585.png of dimensions 11585 × 11585 via

$ eog 11585.png

, all goes well; cf. viewing_11585.png.  We see white color (which is what the image consists of: simply white color).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11585.png
Type: image/png
Size: 149456 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20250525/f9c75669/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11586.png
Type: image/png
Size: 149469 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20250525/f9c75669/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: viewing_11585.png
Type: image/png
Size: 31935 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20250525/f9c75669/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: viewing_11586.png
Type: image/png
Size: 29061 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20250525/f9c75669/attachment-0007.png>


More information about the pkg-gnome-maintainers mailing list