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 316808 - Saving a screenshot png with a jpeg extension causes eog to crash gnome to crash
Saving a screenshot png with a jpeg extension causes eog to crash gnome to crash
Status: RESOLVED DUPLICATE of bug 311925
Product: eog
Classification: Core
Component: image viewer
2.12.x
Other All
: High critical
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-20 20:14 UTC by Sitsofe Wheeler
Modified: 2005-10-25 01:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Example png saved with a jpeg extension (36.77 KB, image/png)
2005-09-20 20:18 UTC, Sitsofe Wheeler
Details

Description Sitsofe Wheeler 2005-09-20 20:14:12 UTC
Steps to reproduce:
1. Size a window to around 1000 x 900 pixels.
2. Press Alt-PrintScreen to take a screenshot of it.
3. In the Save Screenshot dialog change the end of the name from .png to .jpeg
4. Click the Save button.
5. Find the saved file on the desktop.
6. If you are quick or (un)lucky nautilus will not realise that the file has the
wrong extension and will let you double click it. If it does realise then press
the right mouse button over the image and go to Open With -> Open With Image Viewer.
7. eog should start. If nothing has happened, click on the Out button.

Stack trace:
Backtrace was generated from '/usr/bin/eog'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224235328 (LWP 8766)]
[New Thread -1238164560 (LWP 8768)]
[New Thread -1225725008 (LWP 8767)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1238164560 (LWP 8768))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 eog_collection_item_get_type
  • #11 eog_job_call_action
  • #12 eog_image_list_iter_equal
  • #13 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #14 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #15 clone
    from /lib/tls/i686/cmov/libc.so.6


Other information:
Images under a certain size do not seem to trigger this problem. On the console
the following is printed out:

Instantiate job with id 1.
Starting thread with id 0.
eog-image_load.c
load success: 1
n_images: 1/1
  1 /home/sits/Desktop/Screenshot-*Unsaved Document 1 - gedit.jpeg (1019/876)
setting window size: 1099/981
Instantiate job with id 2.
Show exif data
Starting thread with id 1.

Eog-ERROR **: file eog-collection-item.c: line 320 (job_thumb_create): assertion
failed: (*error != NULL)
aborting...
Job 001: disposing ...
Job 001: disposing end

Reproduced in Ubuntu 5.10 and OpenSUSE 10

eog-2.12.0-0ubuntu
Comment 1 Sitsofe Wheeler 2005-09-20 20:18:04 UTC
Created attachment 52444 [details]
Example png saved with a jpeg extension

It may also be necessary to clear your ~/.thumbnails directory to reproduce
this bug.
Comment 2 Lucas Rocha 2005-10-25 01:41:29 UTC

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