GNOME Bugzilla – Bug 488268
Exception not caught on Picasa Export makes F-Spot crash
Last modified: 2011-01-07 04:17:50 UTC
Hi I was trying to export to PicasaWeb, while during a network outage connection dopped and F-Spot crashed with the following error: GoogleAccount.Connect() open uri = file:///home/maxxer/Photos/2007/10/13/img_8505.jpg System.Net.WebException: Error getting response stream (ReadDone1): ReceiveFailure ---> System.IO.IOException: EndRead failure ---> System.Net.Sockets.SocketException: Connection reset by peer at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult, System.Net.Sockets.SocketError& errorCode) [0x00000] at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00000] --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00000] at System.Net.WebConnection.ReadDone (IAsyncResult result) [0x00000] --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] at System.Net.HttpWebRequest.GetResponse () [0x00000] at Mono.Google.GoogleConnection.DownloadString (System.String url) [0x00000] at Mono.Google.Picasa.PicasaWeb.GetAlbums () [0x00000] at FSpot.GoogleExport.HandleResponse (System.Object sender, Gtk.ResponseArgs args) [0x00000] at Gtk.Dialog.ResponseSignalCallback (IntPtr arg0, Int32 arg1, IntPtr gch) [0x00000] at (wrapper native-to-managed) Gtk.Dialog:ResponseSignalCallback (intptr,int,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at Gnome.Program.Run () [0x00000] at FSpot.Driver.Main (System.String[] args) [0x00000]
Hmm. This is the same stack trace as bug #360877, but that was marked 'resolved fixed'. From the ChangeLog, the fix was just avoiding opening a browser window at the end. The exception should probably be caught as well, if it still happens.
iirc this wasn't happening at the end but while transferring. it's maybe a corner case, as I said I experienced network outage when this error crashed f-spot.
Created attachment 119358 [details] Stacktrace
I can confirm this bug for 0.4.3 and 0.4.4 on Ubuntu Hardy. When trying to export pictures to a Picasa account, f-spot prompts me to select an album. When I try to create one, it asks me for my account information. It then crashes with previously attached stacktrace.
(In reply to comment #4) > I can confirm this bug for 0.4.3 and 0.4.4 on Ubuntu Hardy. i believe your issue could be fixed in 0.5.0.1...
My F-spot crashed without any notification when I tried to export a picture to Picasaweb. No dialogs were shown at all, just disappeared the main window... In Terminal it says this: attila@ubuntu-laptop:~$ f-spot Starting new FSpot server Reloading item changed error checking orientation error checking orientation error checking orientation (f-spot:15442): 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. error checking orientation error checking orientation error checking orientation error checking orientation error checking orientation GoogleAccount.Connect() Your google account is locked Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.NullReferenceException: Object reference not set to an instance of an object at FSpotGoogleExport.GoogleExport.HandleAlbumOptionMenuChanged (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.OptionMenu.gtk_option_menu_set_menu(IntPtr , IntPtr ) at Gtk.OptionMenu.gtk_option_menu_set_menu(IntPtr , IntPtr ) at Gtk.OptionMenu.set_Menu(Gtk.Widget value) at FSpotGoogleExport.GoogleExport.PopulateAlbumOptionMenu(Mono.Google.Picasa.PicasaWeb picasa) at FSpotGoogleExport.GoogleExport.Connect(FSpotGoogleExport.GoogleAccount selected, System.String token, System.String text) at FSpotGoogleExport.GoogleExport.Connect(FSpotGoogleExport.GoogleAccount selected) at FSpotGoogleExport.GoogleExport.Connect() at FSpotGoogleExport.GoogleExport.Run(IBrowsableCollection selection) at FSpot.Extensions.ExportMenuItemNode.OnActivated(System.Object o, System.EventArgs e) 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) attila@ubuntu-laptop:~$
(In reply to comment #6) > My F-spot crashed without any notification when I tried to export a picture to > Picasaweb. No dialogs were shown at all, just disappeared the main window... i suppose you're using 0.4.4... try upgrading picasa export from online extension repository (Edit > manage extensions)
any news for this report?
Please feel free to reopen the bug if the problem still occurs with a newer version of f-spot 0.8.0 or later, thanks.