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

Package:
eog
Source:
eog
Description:
Eye of GNOME graphics viewer program
Submitter:
Peter Müller
Date:
2025-05-25 18:37:02 UTC
Severity:
normal
#1106540#5
Date:
2025-05-25 18:34:13 UTC
From:
To:
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).