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 525513 - f-spot crashes in icon file chooser when path does not exist
f-spot crashes in icon file chooser when path does not exist
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
0.4.x
Other Linux
: Normal major
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-01 09:59 UTC by Tim Retout
Modified: 2008-04-11 15:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tag-icon-from-external-file-crashing.patch (1.75 KB, patch)
2008-04-01 12:43 UTC, Maxxer
committed Details | Review

Description Tim Retout 2008-04-01 09:59:26 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)
Comment 1 Maxxer 2008-04-01 12:43:56 UTC
Created attachment 108410 [details] [review]
tag-icon-from-external-file-crashing.patch

this patch should fix the issue.
Comment 2 Stephane Delcroix 2008-04-11 15:48:11 UTC
fixed in r3821