[ubuntu-mono] [Bug 320602] Re: F-spot crash when export to flickr and the network has problem

Bug Watch Updater 320602 at bugs.launchpad.net
Thu Sep 16 00:27:56 BST 2010


** Changed in: f-spot
   Importance: Unknown => Critical

-- 
F-spot crash when export to flickr and the network has problem
https://bugs.launchpad.net/bugs/320602
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in ubuntu.

Status in Personal photo management for the GNOME desktop: Fix Released
Status in “f-spot” package in Ubuntu: Fix Released

Bug description:
Binary package hint: f-spot

F-spot crash when the network is not available.

stack trace:
(f-spot:31251): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Net.WebException: Error: NameResolutionFailure
  at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] 
  at System.Net.HttpWebRequest.GetRequestStream () [0x00000] 
  at FlickrNet.Flickr.DoGetResponse (System.String url, System.String variables) [0x00000] 
  at FlickrNet.Flickr.GetResponse (System.Collections.Hashtable parameters, TimeSpan cacheTimeout) [0x00000] 
  at FlickrNet.Flickr.GetResponseNoCache (System.Collections.Hashtable parameters) [0x00000] 
  at FlickrNet.Flickr.AuthGetFrob () [0x00000] 
  at FlickrRemote.TryWebLogin () [0x00000] 
  at FSpotFlickrExport.FlickrExport.Login () [0x00000] 
  at FSpotFlickrExport.FlickrExport.HandleClicked (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.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at FSpot.Driver.Main(System.String[] args)

It can be simulated by 
1. iptables -A OUTPUT -o eth0 -p tcp -d www.flickr.com -j DROP
2. run f-spot.
3. select any image and export to flickr
4. click authorized button

or
1. iptables -D OUTPUT -p udp --dport 53 -j DROP
2. run f-spot.
3. select any image and export to flickr
4. click authorized button

I've made a patch to fix the problem.





More information about the Ubuntu-mono mailing list