Public bug reported:

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.

** Affects: f-spot
     Importance: Unknown
         Status: Unknown

** Affects: f-spot (Ubuntu)
     Importance: Medium
     Assignee: Ubuntu Desktop Bugs (desktop-bugs)
         Status: Triaged

-- 
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
Desktop Bugs, which is subscribed to f-spot in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to