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 394755 - opening truncated/incomplete/partial images will crash eog
opening truncated/incomplete/partial images will crash eog
Status: RESOLVED DUPLICATE of bug 399988
Product: eog
Classification: Core
Component: image viewer
2.16.x
Other Linux
: Normal major
: ---
Assigned To: EOG Maintainers
EOG Maintainers
: 319922 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-09 19:18 UTC by Nuno Tavares
Modified: 2007-01-24 01:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Nuno Tavares 2007-01-09 19:18:39 UTC
* Download a big JPG from anywhere with a tool that leave the incomplete download available, like wget. Be sure to CTRL+C (cancel) the download *before* it is completed;
* Now open the (partial) JPG file in EOG. It should silently crash.

In fact, I expected it to display the partial image available, much like gThumb does. Or at least an error..

Distribution: Fedora Core 6
eog package: eog-2.16.0.1-2.fc6
gnome package: gnome-desktop-2.16.0-1.fc6
Platform: x86

I tested with many images, so the image used doesn't seem relevant. It's reproducible at least on 2 other x86 machines (all 32 bit).

Best regards,
Comment 1 Claudio Saavedra 2007-01-09 22:59:50 UTC
Confirming. Pretty cool bug, it happens in 2.16 and 2.17, no backtraces in gdb, no warnings, or anything. 

In eog-ng, there is no crash but a really weird behavior, with a lot of critical warnings, and the image is not loaded:

(eog:5610): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
(eog:5610): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed
(eog:5610): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
(eog:5610): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed
(eog:5610): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy_area: assertion `src_pixbuf != NULL' failed
(eog:5610): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(eog:5610): Eog-WARNING **: Thumbnail creation failed

Comment 2 Claudio Saavedra 2007-01-10 11:07:01 UTC
*** Bug 319922 has been marked as a duplicate of this bug. ***
Comment 3 Claudio Saavedra 2007-01-10 11:10:37 UTC
I have the feeling that this may be a particular case of the bug #326825.
Comment 4 Claudio Saavedra 2007-01-24 01:49:16 UTC
I'm marking it as a duplicated of a more recient bug, but only because I am
tracking it there. Thanks for the report.

*** This bug has been marked as a duplicate of 399988 ***