GNOME Bugzilla – Bug 525513
f-spot crashes in icon file chooser when path does not exist
Last modified: 2008-04-11 15:48:11 UTC
The following was reported in Debian's bug tracker ( at http://bugs.debian.org/470787 ): How to reproduce: * Edit a tag. * Edit the icon. * Choose a photo from file. * Type "~/asdf" (non-existing folder) into the location bar and press enter. => The application crashes. Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. Gnome.Vfs.VfsException: Is a directory at Gnome.Vfs.Vfs.ThrowException (System.String uri, Result result) [0x00000] at Gnome.Vfs.Vfs.ThrowException (Gnome.Vfs.Uri uri, Result result) [0x00000] at Gnome.Vfs.Sync.Open (Gnome.Vfs.Uri uri, OpenMode mode) [0x00000] at Gnome.Vfs.VfsStream..ctor (System.String text_uri, FileMode mode, Boolean async) [0x00000] at Gnome.Vfs.VfsStream..ctor (System.String uri, FileMode mode) [0x00000] at (wrapper remoting-invoke-with-check) Gnome.Vfs.VfsStream:.ctor (string,System.IO.FileMode) at FSpot.ImageFile.Open () [0x00000] at FSpot.ImageFile.PixbufStream () [0x00000] at FSpot.ImageFile.Load () [0x00000] at TagCommands+EditIcon.CreateTagIconFromExternalPhoto () [0x00000] at TagCommands+EditIcon.HandleExternalFileSelectionChanged (System.Object sender, System.EventArgs args) [0x00000] at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000] at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data) at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) at Gtk.Dialog.gtk_dialog_run(IntPtr ) at Gtk.Dialog.gtk_dialog_run(IntPtr ) at Gtk.Dialog.Run() at TagCommands+EditIcon.Execute(.Tag t) at TagCommands+Edit.HandleIconButtonClicked(System.Object sender, System.EventArgs args) at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data) at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) at Gtk.Dialog.gtk_dialog_run(IntPtr ) at Gtk.Dialog.gtk_dialog_run(IntPtr ) at Gtk.Dialog.Run() at TagCommands+Edit.Execute(.Tag t) at MainWindow.HandleEditSelectedTagWithTag(.Tag tag) at TagPopup+<>c__CompilerGenerated19.<Activate>c__47(System.Object +29, System.EventArgs +30) at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data) at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) at Gtk.Application.gtk_main() at Gtk.Application.gtk_main() at Gtk.Application.Run() at Gnome.Program.Run() at FSpot.Driver.Main(System.String[] args)
Created attachment 108410 [details] [review] tag-icon-from-external-file-crashing.patch this patch should fix the issue.
fixed in r3821