F-Spot crashes on Facebook Export

Bug #424409 reported by DonFranco83
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
F-Spot
Fix Released
High
f-spot (Ubuntu)
Fix Released
Medium
Iain Lane

Bug Description

Binary package hint: f-spot

lsb_release -rd:
Description: Ubuntu karmic (development branch)
Release: 9.10

F-Spot Version: 0.6.1.1
Facebook Plugin Version: 0.6.0.5

Starting f-spot from command line with f-spot --debug brings me this when I click Picture -> Export -> Facebook :

Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> GLib.GException: Doppelte Objektkennung »label6« in Zeile 505 (zuvor in Zeile 80)
  at GtkBeans.Builder.AddFromString (System.String buffer) [0x00000]
  at GtkBeans.Builder..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String translation_domain) [0x00000]
  at FSpot.UI.Dialog.BuilderDialog..ctor (System.Reflection.Assembly assembly, System.String resourceName, System.String dialogName) [0x00000]
  at FSpot.Exporter.Facebook.FacebookExportDialog..ctor (IBrowsableCollection selection) [0x00000]
  at FSpot.Exporter.Facebook.FacebookExport.Run (IBrowsableCollection selection) [0x00000]
  at FSpot.Extensions.ExportMenuItemNode.OnActivated (System.Object o, System.EventArgs e) [0x00000]
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000]
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Main(System.String[] args)
[Debug 11:26:56.712] Finalizer called on FSpot.Utils.DisposableCache`2[System.String,Gdk.Pixbuf]. Should be Disposed
[Debug 11:26:56.720] Finalizer called on FSpot.Tag. Should be Disposed
[Debug 11:26:56.721] Finalizer called on Banshee.Database.QueuedSqliteDatabase. Should be Disposed
[Debug 11:26:56.721] Finalizer called on Db. Should be Disposed

Changed in f-spot (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Pedro Villavicencio (pedro) wrote :

that's probably fixed by http://git.gnome.org/cgit/f-spot/commit/?id=f946dc0972e4d290a7267649e4229432b1849255 ; could you try to build f-spot from git and comment back? Thanks in advance.

Changed in f-spot (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Incomplete
Revision history for this message
DonFranco83 (fadolph) wrote :
Download full text (3.4 KiB)

Thanks Pedro.

I just built f-spot from git, but the error stays the same. It still crashes instantly when I try to export pictures to Facebook ...

Once more, here is what f-spot --debug shows up with when I click Picture -> Export -> Facebook

Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> GLib.GException: Doppelte Objektkennung »label6« in Zeile 505 (zuvor in Zeile 80)
  at GtkBeans.Builder.AddFromString (System.String buffer) [0x00000]
  at GtkBeans.Builder..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String translation_domain) [0x00000]
  at FSpot.UI.Dialog.BuilderDialog..ctor (System.Reflection.Assembly assembly, System.String resourceName, System.String dialogName) [0x00000] in /home/frank/tmp/f-spot/src/BlockProcessor.cs:1
  at FSpot.Exporter.Facebook.FacebookExportDialog..ctor (IBrowsableCollection selection) [0x00000]
  at FSpot.Exporter.Facebook.FacebookExport.Run (IBrowsableCollection selection) [0x00000]
  at FSpot.Extensions.ExportMenuItemNode.OnActivated (System.Object o, System.EventArgs e) [0x00017] in /home/frank/tmp/f-spot/src/Extensions/ExportMenuItemNode.cs:30
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000]
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Main(System.String[] args) in /home/frank/tmp/f-spot/src/main.cs:line 345
[Debug 14:35:39.997] Finalizer called on FSpot.Category. Should be Disposed
[Debug 14:35:39.998] Finalizer called on FSpot.Category. Should be Disposed
[Debug 14:35:39.998] Finalizer called on FSpot.Category. Should b...

Read more...

Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

the problem is in the gtk-builder file of facebook-export. The new GTK crashes when it encouters two identical IDs.

Revision history for this message
kseise (kevin-seise) wrote :
Download full text (3.2 KiB)

Same problem here I think.

kseise@brick:~$ f-spot -V
F-Spot 0.6.1.1 - (c)2003-2009, Novell Inc
Personal photo management for the GNOME Desktop

kseise@brick:~$ f-spot
[Info 19:50:46.197] Initializing DBus
[Info 19:50:46.319] Initializing Mono.Addins
[Info 19:50:46.534] Starting new FSpot server (f-spot 0.6.1.1)
[Info 19:50:47.452] Starting BeagleService
[Info 19:50:47.477] Hack for gnome-settings-daemon engaged

(f-spot:6821): 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.
Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> GLib.GException: Duplicate object id 'label6' on line 505 (previously on line 80)
  at GtkBeans.Builder.AddFromString (System.String buffer) [0x00000]
  at GtkBeans.Builder..ctor (System.Reflection.Assembly assembly, System.String resource_name, System.String translation_domain) [0x00000]
  at FSpot.UI.Dialog.BuilderDialog..ctor (System.Reflection.Assembly assembly, System.String resourceName, System.String dialogName) [0x00000]
  at FSpot.Exporter.Facebook.FacebookExportDialog..ctor (IBrowsableCollection selection) [0x00000]
  at FSpot.Exporter.Facebook.FacebookExport.Run (IBrowsableCollection selection) [0x00000]
  at FSpot.Extensions.ExportMenuItemNode.OnActivated (System.Object o, System.EventArgs e) [0x00000]
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000]
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driv...

Read more...

Revision history for this message
Pedro Villavicencio (pedro) wrote :

There's a similar crash on https://bugzilla.gnome.org/show_bug.cgi?id=594271 ; let's link that and comment there, thanks folks.

Changed in f-spot (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Triaged
Changed in f-spot:
status: Unknown → New
Revision history for this message
Iain Lane (laney) wrote :

Hi,

I've filed a bug about this precise crash, and I have an idea about a fix. Leave it with me.

Iain

Changed in f-spot:
status: New → Unknown
Changed in f-spot (Ubuntu):
status: Triaged → In Progress
assignee: Ubuntu Desktop Bugs (desktop-bugs) → Iain Lane (laney)
Changed in f-spot:
status: Unknown → New
Revision history for this message
Iain Lane (laney) wrote :

Greetings Facebook fans. I fixed the bug upstream and Stéphane informs me that the new version - 0.6.0.6 - is available from the addin manager.

We'll get 0.6.1.2 of f-spot soon, in which I will include the patch too. Good times.

Revision history for this message
DonFranco83 (fadolph) wrote :

Thanks a lot, Iain! That's why I love Open Source Software. If my programming sklills were better, I'd love to contribute to the community like you did :-)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package f-spot - 0.6.1.2-1

---------------
f-spot (0.6.1.2-1) unstable; urgency=low

  * New upstream Version 0.6.1.2
    - no longer fails to upgrade if you have photos from post 2038 (sic)
    - use interpolation on drawing
    - allows to run on gtk2.14
  * debian/patches/upstream_facebook-label-crash.patch: Backport patch from
    upstream to fix crash in Facebook exporter plugin due to two labels having
    the same name. (LP: #424409) (Closes: #545683)

 -- Iain Lane <email address hidden> Mon, 21 Sep 2009 10:22:06 +0100

Changed in f-spot (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
jay armstrong (jayarmstrong) wrote :

Thanks for the patch, Iain!
Unfortunately, I get a permission error when the addin manager tries to uninstall the old addin. Running f-spot as root just crashes.

Anyone have a workaround?

Revision history for this message
Iain Lane (laney) wrote :

There is a separate bug:

  https://bugzilla.gnome.org/show_bug.cgi?id=595658

The version of f-spot in Karmic is fixed anyway so you shouldn't need to use the addin manager. Check you have 0.6.0.6 of the Facebook exporter.

Revision history for this message
Mehdi Sadeghi (mehdix) wrote :

I get this exception after clicking Login button in Facebook export dialog:

Marshaling clicked signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000]
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000]
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000]
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Dialog.gtk_dialog_run(IntPtr )
   at Gtk.Dialog.Run()
   at FSpot.Exporter.Facebook.FacebookExport.Run(IBrowsableCollection selection)
   at FSpot.Extensions.ExportMenuItemNode.OnActivated(System.Object o, System.EventArgs e)
   at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
   at System.Delegate.DynamicInvokeImpl(System.Object[] args)
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
   at System.Delegate.DynamicInvoke(System.Object[] args)
   at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Main(System.String[] args)

Revision history for this message
Mehdi Sadeghi (mehdix) wrote :

I use F-sport 0.6.1.5 with Facebook exporter 0.6.0.9.

Revision history for this message
Iain Lane (laney) wrote : Re: [Bug 424409] Re: F-Spot crashes on Facebook Export

Hi,

On Sun, Mar 28, 2010 at 12:00:00PM -0000, Mehdi Sadeqi wrote:
>I get this exception after clicking Login button in Facebook export
>dialog:
>
>Marshaling clicked signal
>Exception in Gtk# callback delegate
> Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
>System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
>[...]

Please open a new bug for separate issues. The issue this bug was
concerned with has been fixed.

Iain

Changed in f-spot:
importance: Unknown → High
status: New → Fix Released
Revision history for this message
George Maschke (georgemaschke) wrote :

I just experienced this problem with Ubuntu 10.04, F-Spot 0.6.1.5, and FacebookExport 0.6.0.9. I was able to log in fine, but F-Spot crashed when, with 10 photos selected, I clicked "Add."

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.