GNOME Bugzilla – Bug 313003
crash when deleting a file while it is viewed in eog
Last modified: 2007-01-29 08:46:00 UTC
Version details: 2.11.90 * Start eog from command line with a directory argument to a directory with images * Select and view a deletable image * Delete the image from the filesystem with a different tool * If the image is currently viewed, a crash happens. If it is not, it's simply removed from the directory thumbnails Before crash this assert happens: ** ERROR **: file eog-window.c: line 2988 (handle_image_selection_changed): assertion failed: (EOG_IS_IMAGE (image)) aborting... Backtrace:
+ Trace 62328
unique stack trace. Can you compile with debugging symbols, please, and repost a more detailed trace?
+ Trace 62339
"No symbol table info available." strings commented out for frames that spammed it with "bt full". Seems to be a race condition? Having general gnome-vfs problems on my system too. Will try to also fix those and see how this one fares then.
(gdb) frame 3
+ Trace 62340
(gdb) ptype image type = struct _EogImage { GObject parent; EogImagePrivate *priv; } * (gdb) print image->parent $1 = {g_type_instance = {g_class = 0x83060}, ref_count = 3074105344, qdata = 0xb7f6b3c0} (gdb) print image->parent->ref_count $2 = 3074105344 (gdb) print image->priv->uri->text Cannot access memory at address 0x6c (gdb) print image->priv->width $5 = 2152 (gdb) print image->priv->height $6 = -3086080
Looks quite detailed.Thanks. Confirming so devs will take a look.
On the other hand .. I cannot reproduce from CVS. Are you using famd or gamin? I use gamin
Can't reproduce with CVS, also with gamin. Behaviour I see is: image remains in eog list after being deleted. If it had been viewed prior to being deleted, it remains loaded even if I view another image and then go back to it.
I do not have gamin, so probably famd. In my case if I delete a file that is in the list, it disappears nicely from the list (the thumbnail on the bottom pane), but if it's currently viewed, then the crash.
Reopening myself as I provided the requested information (gamin or famd - famd). Still experiencing the crash under the above described conditions with eog-2.12.0 and famd.
*** Bug 316643 has been marked as a duplicate of this bug. ***
Created attachment 53394 [details] [review] Fix the image remove problem.
Applied in gnome-2-12 branch and CVS HEAD.
*** Bug 166681 has been marked as a duplicate of this bug. ***
*** Bug 319325 has been marked as a duplicate of this bug. ***
*** Bug 321250 has been marked as a duplicate of this bug. ***
*** Bug 319921 has been marked as a duplicate of this bug. ***
*** Bug 338702 has been marked as a duplicate of this bug. ***
*** Bug 338800 has been marked as a duplicate of this bug. ***
*** Bug 401832 has been marked as a duplicate of this bug. ***