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 400881 - eog crashes when you exit right after the image is displayed
eog crashes when you exit right after the image is displayed
Status: RESOLVED DUPLICATE of bug 389755
Product: eog
Classification: Core
Component: general
2.16.x
Other All
: Normal critical
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-26 04:20 UTC by stdarg
Modified: 2007-01-26 11:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description stdarg 2007-01-26 04:20:47 UTC
Steps to reproduce:
1. pick an image (I used a jpeg, about 100KB, 800x600)
2. run eog <yourimage>
3. as soon as the picture is displayed, hit q to quit (the bug occurs when you quit by closing the window with the mouse, but you have to be fast)

This bug is reproducible but erratic. Sometimes you can do it 10 times and it won't happen. Sometimes it happens 10 times in a row.

Stack trace:
I ran it in gdb and got the following output:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 5957)

  • #0 job_thumb_create
    at eog-collection-item.c line 313
  • #1 eog_job_call_action
    at eog-job.c line 387
  • #2 thread_start_func
    at eog-job-manager.c line 85
  • #3 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #4 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #5 clone
    from /lib/tls/i686/cmov/libc.so.6

(gdb) print image
$1 = <value optimized out>
(gdb) print priv
No symbol "priv" in current context.
(gdb) print job
$2 = (EogJob *) 0x94e5a00
(gdb) print *job
$3 = {parent = {g_type_instance = {g_class = 0x80e4bd0}, ref_count = 1, 
    qdata = 0x0}, priv = 0x94e6090}
(gdb) print *data
Attempt to dereference a generic pointer.
(gdb) print *error
$4 = (GError *) 0x0

(gdb) print job->priv
$5 = (EogJobPrivate *) 0x94e6090
(gdb) print *job->priv
$6 = {mutex = 0x94e60d8, id = 928, data = 0x85c8470, 
  status = EOG_JOB_STATUS_RUNNING, error = 0x0, progress = 0, 
  progress_last_called = 0, progress_idle_id = 0, progress_nth_part = 0, 
  progress_n_parts = 1, progress_threshold = 0.100000001, priority = 0, 
  af = 0x8079bc0 <job_thumb_create>, cf = 0, 
  ff = 0x8079cc0 <job_thumb_finished>, pf = 0, df = 0}


Other information:
Comment 1 Claudio Saavedra 2007-01-26 11:22:09 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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