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 488268 - Exception not caught on Picasa Export makes F-Spot crash
Exception not caught on Picasa Export makes F-Spot crash
Status: RESOLVED INCOMPLETE
Product: f-spot
Classification: Other
Component: General
SVN
Other Linux
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-19 14:02 UTC by Maxxer
Modified: 2011-01-07 04:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Stacktrace (2.71 KB, text/plain)
2008-09-25 10:54 UTC, Allard Hoeve
Details

Description Maxxer 2007-10-19 14:02:44 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]
Comment 1 Tim Retout 2008-04-21 23:50:05 UTC
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.
Comment 2 Maxxer 2008-04-22 06:36:24 UTC
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.
Comment 3 Allard Hoeve 2008-09-25 10:54:13 UTC
Created attachment 119358 [details]
Stacktrace
Comment 4 Allard Hoeve 2008-09-25 10:55:50 UTC
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.
Comment 5 Maxxer 2008-09-30 16:49:41 UTC
(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...
Comment 6 Attila Szilagyi 2008-10-24 13:06:53 UTC
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:~$ 
Comment 7 Maxxer 2008-10-25 08:41:56 UTC
(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)
Comment 8 Fabio Durán Verdugo 2010-11-25 03:46:34 UTC
any news for this report?
Comment 9 Akhil Laddha 2011-01-07 04:17:50 UTC
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.