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 155553 - crash on bogus png
crash on bogus png
Status: RESOLVED DUPLICATE of bug 300072
Product: eog
Classification: Core
Component: general
2.10.x
Other other
: High critical
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-15 23:43 UTC by muldy
Modified: 2005-08-15 01:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description muldy 2004-10-15 23:43:40 UTC
Distribution: Debian testing/unstable
Package: EOG
Severity: normal
Version: GNOME2.8.1 2.8.1
Gnome-Distributor: Ubuntu
Synopsis: crash on bogus png
Bugzilla-Product: EOG
Bugzilla-Component: general
Bugzilla-Version: 2.8.1
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:
if you select png files that are corrupted


Steps to reproduce the crash:
1. make a file .png
2. put crap on it
3. open with eog

Expected Results:
PONG! crash

How often does this happen?
everytime


Additional Information:
hope it helps



Debugging Information:

Backtrace was generated from '/usr/bin/eog'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-10-15 19:43 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "EOG".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was muldy@bragatel.pt.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Jens Finke 2004-10-16 08:27:11 UTC
Can you please attach such a bogus png file? Thanks.
Comment 2 alexander.winston 2004-11-21 16:25:28 UTC
I'm unable to conjure up a PNG file that crashes EOG. Please provide a file that
does.

Also, that stack trace is unfortunately not very useful in determining the cause
of the crash. Please make sure that the package was compiled with debugging
symbols and see http://bugzilla.gnome.org/getting-traces.cgi for more
information about useful stack traces.
Comment 3 Khasim Shaheed 2004-12-22 05:00:33 UTC
This happens in the 2.9.1 version of EOG also.
Platform:Novell Linux Desktop
GNOME version:2.9.x(head)

Steps to reproduce the problem:

1.Create a text file(say 'testfile').
2.Change the name of the file to 'testfile.png'.
3.Open this file with EOG
4.There it is EOG crashes.

Additional Information:

Adding the stack trace generated by bug-buddy.

Backtrace was generated from '/opt/gnome2/bin/eog'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1087878080 (LWP 17411)]
[New Thread 1096141744 (LWP 17414)]
[Thread debugging using libthread_db enabled]
[New Thread 1087878080 (LWP 17411)]
[New Thread 1096141744 (LWP 17414)]
[Thread debugging using libthread_db enabled]
[New Thread 1087878080 (LWP 17411)]
[New Thread 1096141744 (LWP 17414)]
[New Thread 1094040496 (LWP 17413)]
0xffffe410 in ?? ()

Thread 3 (Thread 1094040496 (LWP 17413))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 741


Comment 4 Khasim Shaheed 2004-12-23 04:11:25 UTC
eog also crashing by saving a textfile to some of the supported eog
types(bmp,gif,jpg,pnm) and opening with eog.

The error message displayed in the terminal is:

(eog:569): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (objec
t)' failed

Eog-ERROR **: file eog-image.c: line 843 (real_image_load): assertion failed: (i
mage != NULL)

Comment 5 Sebastien Bacher 2005-01-31 18:41:44 UTC
from https://bugzilla.ubuntu.com/5937
easy way to get the crash: "echo "TP1 blah">testfile.bmp; eog testfile.bmp"

Comment 6 Christian Kirbach 2005-07-14 18:37:55 UTC



Comment 7 Christian Kirbach 2005-07-14 18:45:40 UTC
seems to happen in real_image_load ()

confirming and adjusting version to 2.10.x
Comment 8 Christian Kirbach 2005-07-14 18:56:31 UTC

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