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 595418 - Crash when using Facebook exporter
Crash when using Facebook exporter
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Export
0.6.x
Other Linux
: Normal major
: ---
Assigned To: F-spot maintainers
F-spot maintainers
: 595482 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-16 23:12 UTC by Iain Lane
Modified: 2009-09-17 20:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Iain Lane 2009-09-16 23:12:00 UTC
Greetings,

A Debian user reported this bug at [0], and I have reproduced it locally:

"Select a photo and choose Photo --> Export to --> Facebook. F-spot crashes with the following stack trace:

andrew@shirley:~/projects/common_projects/gmameui$ f-spot
[Info  21:56:12.389] Initializing DBus
[Info  21:56:12.568] Initializing Mono.Addins
[Info  21:56:12.813] Starting new FSpot server (f-spot 0.6.1.1)
[Info  21:56:16.739] Starting BeagleService
[Info  21:56:16.769] Hack for gnome-settings-daemon engaged

(f-spot:11389): 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.Driver.Main(System.String[] args)
andrew@shirley:~/projects/common_projects/gmameui$ 

The FacebookExport extension version is 0.6.0.5."

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545683
Comment 1 Iain Lane 2009-09-16 23:32:42 UTC
The traceback seems particularly useful here; seems like a simple case of duplicate label name. I'll test a patch tomorrow.
Comment 2 Stephane Delcroix 2009-09-17 11:17:46 UTC
commit b87604bc9782bf92f053aaf3ceb739a32f44ea13
Author: Stephane Delcroix stephane@delcroix.org
Date: Thu Sep 17 13:13:34 2009 +0200

bump version

commit 807dab4344ecdadc7e46793369821de8b49692e5
Author: Iain Lane laney@ubuntu.com
Date: Thu Sep 17 11:19:41 2009 +0100

Rename duplicate label name in Facebook exporter

There were two labels named 'label6'. This caused crash when starting the  
exporter. Fixes bgo595418.


The fixed addin is available (0.6.0.6) is available on the addin repository and installable via the Extension Manager
Comment 3 Stephane Delcroix 2009-09-17 20:18:57 UTC
*** Bug 595482 has been marked as a duplicate of this bug. ***