Crash when switching images rapidly in collection pane

Bug #44689 reported by David
14
Affects Status Importance Assigned to Milestone
Eye of GNOME
Fix Released
Critical
eog (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Dapper
Fix Released
Undecided
Ubuntu Desktop Bugs

Bug Description

Distribution: Ubuntu 6.06 (dapper)
Package: EOG
Severity: Normal
Version: GNOME2.14.1 unspecified
Gnome-Distributor: Ubuntu
Synopsis: Crash when switching images rapidly in collection pane
Bugzilla-Product: EOG
Bugzilla-Component: collection
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.14.1)
Description:
Description of the crash:

Steps to reproduce the crash:
1. in eog, open a picture from a directory containing some pictures
2. swith rapidly from one picture to another in the collection view
(both mouse whell or keyboard arrows works)
3. after some pictures switching... eog crash

Expected Results:

How often does this happen? always

Additional Information:

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".

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

Thanks for your bug. Could you get a backtrace with gdb?
- gdb eog
(gdb) run
... crash
(gdb) thread apply all bt

and copy that to a comment

Changed in eog:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
David (dcantin) wrote :
Download full text (8.6 KiB)

this is what i get

zeus@laptop:~$ gdb eog
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) set args DSC00388-2.jpg
(gdb) run
Starting program: /usr/bin/eog DSC00388-2.jpg
(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)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 922319616 (LWP 3648)]
(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)
---Type <return> to continue, or q <return> to quit---
(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)
---Type <return> to continue, or q <return> to quit---
(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 debug...

Read more...

Revision history for this message
Vytas (vytas) wrote :

JPEG is sRGB
JPEG is sRGB
JPEG is sRGB
JPEG is sRGB
JPEG is sRGB
JPEG is sRGB

(eog:24034): Eog-WARNING **: Image 00003.jpg has requested data already loaded.

Eog-ERROR **: file eog-image.c: line 727 (eog_image_real_load): assertion failed: (priv->image == NULL)
aborting...
JPEG is sRGB
JPEG is sRGB

(eog:24034): Eog-WARNING **: Image 00004.jpg has requested data already loaded.

Eog-ERROR **: file eog-image.c: line 727 (eog_image_real_load): assertion failed: (priv->image == NULL)
aborting...
Multiple segmentation faults occurred; can't display error dialog
________________________________________________________

I get such errors almost everytime i scroll fast, very easy to reproduce on any machine, confirmed of course

Revision history for this message
Vytas (vytas) wrote :

Easily reproducable

Changed in eog:
status: Needs Info → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

do you still get that issue?

Revision history for this message
Vytas (vytas) wrote :

As of eog-2.14.1-0ubuntu2, unfortunately yes :(

Contrary to the first impression, the easiest way to reproduce this is a directory with only 2-3 small images. Just scroll the mouse wheel fast and thats it.

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

The upstream bug now has a patch attached which appears to fix the problems (there are actually two race conditions with very similar symptoms).

Changed in eog:
status: Unconfirmed → Confirmed
Revision history for this message
Ernst Persson (ernstp) wrote :

The upstream bug now has an even better patch.

Will this be applied to Dapper?

Revision history for this message
Ernst Persson (ernstp) wrote :

I went ahead and made a debdiff of the patch.

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

Ernst, the patch is not trivial and upstream has not commented on it yet, hurrying it like that is probably not a good idea. We will evaluate it after getting upstream comment on it

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

This upload fixes the issue:

 eog (2.15.90-0ubuntu1) edgy; urgency=low
 .
   * New upstream version:
     - Avoid losing EXIF data when saving changed jpeg images
     - Use middle mouse drag to scroll image
     - Make transparent color selection work
     - Fix crash when switching images with mouse wheel (Ubuntu: #44689)
     - Updated translations: Mahay Alam Khan (bn_IN), Jordi Mallach (ca), Jakub
       Friedl (cs), Kostas Papadimas (el), Christophe Merlet (RedFox) (fr),
       Satoru SATOH (ja), Daniel Nylander (sv).

The patch should be commited to the stable branch to and dapper-updates will get it later

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

Fixed to dapper-updates with that upload:

 eog (2.14.3-0ubuntu1) dapper-updates; urgency=low
 .
   * New upstream version:
     - Properly sort image filenames containing numbers
     - Thumbnailing fixes
     - Fix printing for images with alpha channel
     - Several code cleanups
     - Make transparent color selection work
     - Avoid losing EXIF data when saving changed jpeg images
     - Fix crash with fast image switching (Ubuntu: #44689)
     - Updated translations: Raivis Dejus (lv), Christophe Merlet (fr)

Changed in eog:
assignee: nobody → desktop-bugs
status: Unconfirmed → 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.

Other bug subscribers

Remote bug watches

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