eog crashed with SIGSEGV in strcmp()

Bug #125146 reported by marcobra (Marco Braida)
28
Affects Status Importance Assigned to Milestone
Eye of GNOME
Fix Released
Critical
eog (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: eog

I just watched a long series of mpeg surveillance webcam and i do nothing it was locked on an avi that i'm not able to play.

HTH

ProblemType: Crash
Architecture: i386
Date: Wed Jul 11 00:00:29 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/eog
NonfreeKernelModules: cdrom
Package: eog 2.19.4-0ubuntu1
PackageArchitecture: i386
ProcCmdline: eog file:///home/ubuntu/Desktop/snapshots/11-20070710232531-16.jpg
ProcCwd: /home/ubuntu
ProcEnviron:
 LANGUAGE=it_IT.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: eog
Stacktrace:
 #0 0xb752ca38 in strcmp () from /lib/tls/i686/cmov/libc.so.6
 #1 0x0807c086 in ?? ()
 #2 0x00000000 in ?? ()
StacktraceTop:
 strcmp () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
 ?? ()
Title: eog crashed with SIGSEGV in strcmp()
Uname: Linux ubu-vendita 2.6.22-7-generic #1 SMP Mon Jun 25 17:33:14 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Related branches

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:_start () from /lib/ld-linux.so.2
eog_list_store_new ()
eog_thumbnail_load ()
eog_window_get_statusbar ()
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in eog:
importance: Undecided → Medium
status: New → Incomplete
Changed in eog:
assignee: nobody → desktop-bugs
Revision history for this message
Marius Gedminas (mgedmin) wrote :

I can reproduce the crash by opening a JPEG image in eog, rotating it, saving, then trying to close the window before it finishes saving.

Stacktrace:
 #0 0xb7442038 in strcmp () from /lib/tls/i686/cmov/libc.so.6
 #1 0x0807e506 in is_file_in_list_store (store=0x80d7670,
     info_uri=0x82bfd88 "file:///home/mg/Desktop/img/me/P1010088.JPG",
     iter_found=0xbfc51dac) at eog-list-store.c:232
        found = 0
        image = (EogImage *) 0x0
        uri = (GnomeVFSURI *) 0x0
        str = (gchar *) 0x0
        iter = {stamp = 928166623, user_data = 0x8175f68, user_data2 = 0x0,
   user_data3 = 0x0}
 #2 0x0807eb93 in eog_list_store_get_pos_by_image (store=0x80d7670,
     image=0x82ec350) at eog-list-store.c:575
        file = (
     gchar *) 0x82bfd88 "file:///home/mg/Desktop/img/me/P1010088.JPG"
        iter = {stamp = 134736330, user_data = 0x80d7670, user_data2 = 0x0,
   user_data3 = 0x807eafb}
        pos = <value optimized out>
        uri = <value optimized out>
        __PRETTY_FUNCTION__ = "eog_list_store_get_pos_by_image"
 #3 0x08061937 in update_image_pos (window=<value optimized out>)
     at eog-window.c:572
        priv = (EogWindowPrivate *) 0x811c108
        pos = <value optimized out>
        n_images = 15
 #4 0x08062832 in eog_window_list_store_image_added (tree_model=0x80d7670,
     path=0x82e2c68, iter=0xb572d560, user_data=0x811c058) at eog-window.c:4385
        window = <value optimized out>
 #5 0xb7a4bc1b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #6 0x080d7670 in ?? ()
 #7 0x082e2c68 in ?? ()
 #8 0xb572d560 in ?? ()
 #9 0x0811c058 in ?? ()
 #10 0x080d7670 in ?? ()
 #11 0x080d7670 in ?? ()
 #12 0x0811c058 in ?? ()
 #13 0xb7632678 in ?? () from /usr/lib/libgobject-2.0.so.0
 #14 0xb7a4bba0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #15 0xffffffff in ?? ()
 #16 0xbfc51ea8 in ?? ()
 #17 0xb76007b2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
 Backtrace stopped: frame did not save the PC

I had libc6-dbg and eog-dbgsym installed.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Simplified steps to reproduce:

1. eog someimage.jpg
2. ctrl+r to rotate
3. ctrl+s to save

eog prints this and crashes:

(eog:10356): EOG-CRITICAL **: eog_image_get_uri: assertion `EOG_IS_IMAGE (img)' failed

(eog:10356): libgnomevfs-CRITICAL **: gnome_vfs_uri_to_string: assertion `uri != NULL' failed

http://bugzilla.gnome.org/show_bug.cgi?id=429276 is somewhat similar, although instead of a crash it mentions a freeze. In any case, rotating and saving seems to result in an entry full of NULLs ending up in the gtk list store.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Looks like http://bugzilla.gnome.org/show_bug.cgi?id=456451 which is fixed upstream already

Changed in eog:
status: Incomplete → Fix Committed
Changed in eog:
status: Unknown → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

eog (2.19.5-0ubuntu1) gutsy; urgency=low

  * New upstream version:
    New features:
    - XMP Support
    - Side Pane to be extended by plugins
    - Inhibit screensaver when running slideshow/fullscreen
    - Improved selection visual feedback in image collection pane
    Misc improvements/fixes:
    - Several code cleanup and fixes
    Bug fixes:
    - crash in EOG: Saving rotated image (LP: #125146)
    - Add wbmp to supported image types
    - Crash: when specifying an invalid extension in save as dialog
      (LP: #126175, #131639)
    - Support Adobe XMP metadata
    - Changing scale of image in print dialog is slow
    - Use "document-page-setup" named icon for File->Setup Page
    - tooltips in collection don't update
    - Inhibit screensaver when running slideshow
    - Weird preferences window
    - Application specific icons are installed in the wrong directory
    - Fail to build with undefined reference to
      `eog_application_register_service'
    -Thumbnails of modified images wrongly loaded from thumbnail factory
    - thumbnails not updated after applying a transformation
    - [patch] make thumbnail of modified and saved images actually appear
    - [patch] get rid of compilation warnings
    - configure doesn't check for libexif/exif-data.h

 -- Sebastien Bacher <email address hidden> Tue, 14 Aug 2007 10:01:54 +0200

Changed in eog:
status: Fix Committed → Fix Released
Changed in eog:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.