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 583448 - Crash on exif data
Crash on exif data
Status: RESOLVED FIXED
Product: eog-plugins
Classification: Core
Component: general
2.26.x
Other All
: Normal critical
: ---
Assigned To: EOG Maintainers
EOG Maintainers
: 584971 585029 588559 589190 593582 593610 594303 595068 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-05-21 13:34 UTC by André Klitzing
Modified: 2019-02-22 03:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description André Klitzing 2009-05-21 13:34:58 UTC
Steps to reproduce:
1. Open an image (a folder with some images inside)
2. Switch multiple times to next image
3. It will crash randomly on an image (seems that it doesn't matter what image - sometimes an image works and sometimes it crashes with it)


Stack trace:
(gdb) thread apply all bt

Thread 1 (Thread 0x7ff8729f3760 (LWP 22082))

  • #0 exif_data_ref
    from /usr/lib/libexif.so.12
  • #1 eog_image_get_exif_info
  • #2 statusbar_set_date
    from /usr/lib/eog/plugins/libstatusbar-date.so
  • #3 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #4 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #7 gtk_icon_view_select_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 eog_thumb_view_select_single
  • #9 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #10 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #13 _gtk_action_emit_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 gtk_real_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #21 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #24 gtk_button_button_release
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #27 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #30 gtk_widget_event_internal
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gdk_event_dispatch
    from /usr/lib/libgdk-x11-2.0.so.0
  • #34 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #36 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #37 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 main


Other information:
libexif: 0.6.17
exempi: 2.1.0
eog: 2.26.2
Comment 1 Felix Riemann 2009-05-22 11:29:18 UTC
This was a race condition between the statusbar-date plugin and the main application. Although the fault is partially with the plugin (it should not do image loading in it's own) this problem was made visible by a recent leak fix. Before that the race was not critical because the leak kept one exif instance alive. Fixed in master and gnome-2-26:

commit 4730359e7547520fbcbd78e690e83958a00f7341
Author: Felix Riemann <>
Date:   Fri May 22 12:39:09 2009 +0200

    Bug 583448 – Crash on exif data
    
    Secure Exif data updating with a mutex. Should fix crashes when
    reading the Exif block during the update. This was made visible be the
    leak fix from commit cb1e01983a6b273ba65b57449e5ab5f13c448658 .

This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Comment 2 Felix Riemann 2009-06-06 10:09:24 UTC
*** Bug 584971 has been marked as a duplicate of this bug. ***
Comment 3 Felix Riemann 2009-06-07 10:53:33 UTC
*** Bug 585029 has been marked as a duplicate of this bug. ***
Comment 4 Claudio Saavedra 2009-07-14 17:04:28 UTC
*** Bug 588559 has been marked as a duplicate of this bug. ***
Comment 5 Felix Riemann 2009-07-21 08:07:07 UTC
*** Bug 589190 has been marked as a duplicate of this bug. ***
Comment 6 Felix Riemann 2009-08-31 08:16:33 UTC
*** Bug 593582 has been marked as a duplicate of this bug. ***
Comment 7 Felix Riemann 2009-08-31 08:18:13 UTC
*** Bug 593610 has been marked as a duplicate of this bug. ***
Comment 8 Fabio Durán Verdugo 2009-09-06 17:17:17 UTC
*** Bug 594303 has been marked as a duplicate of this bug. ***
Comment 9 Felix Riemann 2009-09-13 13:03:40 UTC
*** Bug 595068 has been marked as a duplicate of this bug. ***