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 166681 - assertion (sometimes crash) when deleting images from directory
assertion (sometimes crash) when deleting images from directory
Status: RESOLVED DUPLICATE of bug 313003
Product: eog
Classification: Core
Component: collection
2.8.2
Other All
: High critical
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-08 15:40 UTC by Tuukka Tolvanen
Modified: 2005-10-13 03:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
bt (6.79 KB, text/plain)
2005-02-08 21:03 UTC, Tuukka Tolvanen
Details

Description Tuukka Tolvanen 2005-02-08 15:40:13 UTC
Steps to reproduce:
1. Open a directory containing images with eog.
2. Select last image in thumbnail list
3. Press the delete key
4. Press OK on the deletion confirmation dialog


Stack trace:


Other information:
The assertion is 100% reproducable, the crashing (apparently due to this) is
infrequent.

More generally, deleting any backwards-selected range that has less images
following it in the list than there are images in the selection, will cause the
assertion. For example:
 2. In the thumbnail list, click on the third-to-last image, then
    Shift-click on the fifth-to-last image (or a previous image).

Note that when you click on the Nth image, and then select a range using
shift-click on any previous image, and then delete those images, the selection
after the delete operation is placed on the new Nth image. Wonder where the
selection ends up if less than N images remain... :)
Comment 1 Tuukka Tolvanen 2005-02-08 15:41:15 UTC
*cough*
the assertion:
    (eog:4060): Eog-CRITICAL **: file eog-wrap-list.c: line 1336
    (eog_wrap_list_set_current_image): assertion `EOG_IS_IMAGE (image)' failed
message when crashing:
    (eog:4060): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion
    `G_IS_OBJECT (object)' failed
    Xlib: unexpected async reply (sequence 0x1d2ab)!
Comment 2 Tuukka Tolvanen 2005-02-08 21:03:12 UTC
Created attachment 37203 [details]
bt

eog-2.9.0 does this too, here's a bt
Comment 3 Kjartan Maraas 2005-06-22 19:22:50 UTC
Moving backtrace out here to make it possible to use simple-dup-finder on it
Backtrace was generated from '/home/tt/bin/eog-2.9.0'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1088857920 (LWP 24739)]
[New Thread -1857385552 (LWP 25864)]
[New Thread 1120926640 (LWP 24758)]
0x40a9b4e7 in select () from /lib/tls/libc.so.6

Thread 2 (Thread -1857385552 (LWP 25864))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 g_signal_connect_object
    from /usr/lib/libgobject-2.0.so.0
  • #4 g_signal_type_cclosure_new
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_closure_invalidate
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_closure_unref
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_cclosure_marshal_STRING__OBJECT_POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_handlers_destroy
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_object_interface_list_properties
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_object_interface_list_properties
    from /usr/lib/libgobject-2.0.so.0
  • #11 real_image_load
    at eog-image.c line 884
  • #12 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #13 start_thread
    from /lib/tls/libpthread.so.0
  • #14 clone
    from /lib/tls/libc.so.6

Comment 4 Christian Kirbach 2005-07-14 19:03:17 UTC
I cannot reproduce with EOG 2.10.0

Tuukka can you test with a 2.10.x version, please?
Comment 5 Christian Kirbach 2005-09-12 09:29:35 UTC
No response from anyone. Marking INCOMPLETE.

Feel free to reopen and add more comments.
Comment 6 Tuukka Tolvanen 2005-09-12 11:20:51 UTC
sorry about the delay. reproducible in head circa 2.12.0

** ERROR **: file eog-window.c: line 2991 (handle_image_selection_changed):
assertion failed: (EOG_IS_IMAGE (image))
aborting...

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 raise
    from /lib/tls/libc.so.6
  • #4 abort
    from /lib/tls/libc.so.6
  • #5 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #6 g_log
    from /usr/lib/libglib-2.0.so.0
  • #7 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #8 handle_image_selection_changed
    at eog-window.c line 2991
  • #9 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_cclosure_marshal_VOID
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_stop_emission
    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 eog_image_list_remove_image
    at eog-image-list.c line 751
  • #20 verb_Delete_cb
    at eog-window.c line 2003
  • #21 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #26 _gtk_action_emit_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 gtk_action_unblock_activate_from
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #32 gtk_accel_group_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_accel_groups_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 eog_window_key_press
    at eog-window.c line 2402
  • #37 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #39 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #40 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #43 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #47 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #48 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #49 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #50 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #51 main
    at main.c line 716

Comment 7 Lucas Rocha 2005-10-13 03:30:53 UTC
This bug is a dupe of bug #313003 which is fixed in CVS HEAD and gnome-2-12 branch.

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