After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 353574 - eog closes silently when asked to open a corrupt png
eog closes silently when asked to open a corrupt png
Status: RESOLVED DUPLICATE of bug 316175
Product: eog
Classification: Core
Component: general
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-30 17:34 UTC by Daniel Holbach
Modified: 2006-08-31 14:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Daniel Holbach 2006-08-30 17:34: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
Comment 1 Lucas Rocha 2006-08-31 14:10:25 UTC
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 ***