GNOME Bugzilla – Bug 353574
eog closes silently when asked to open a corrupt png
Last modified: 2006-08-31 14:10:25 UTC
Forwarded from: https://launchpad.net/distros/ubuntu/+source/eog/+bug/58226 I have a PNG here which has been corrupted (in transport via email) - eog silently exits when asked to open the image. This behaviour is very confusing for the average user who clicks on the (broken) attachment in their MUA and ... nothing happens. Unfortunately I can't provide the image in question as it's a scan of someone's passport. However both file(1) and xloadimage(1) recognise the PNG as corrupt: $ file passport.png; xloadimage passport.png passport.png: PNG image data, CORRUPTED, PNG file: passport.png - PNG file corrupted by ASCII conversion passport.png: unknown or unsupported image type $ So presumably libpng is detecting the corruption and eog just isn't handling that very gracefully. --- I managed to reproduce this by editing a png with vim http://librarian.launchpad.net/4064776/test.png
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 316175 ***