[ubuntu-mono] [Bug 754721] Re: F-Spot crashes when trying to access Edit->Manage Extensions

David Newgas 754721 at bugs.launchpad.net
Sun Jun 5 09:03:17 UTC 2011


The version in the docky ppa is 0.6-1, which is the 1st debian/ubuntu
package of mono-addins 0.6.   The bug is fixed in mono-addins 0.6.1,
which will have a debian/ubuntu version like 0.6.1-1.

Attached is a patch that will fix the bug if you are happy recompiling
yourself.  If you change the prefix when building, use MONO_GAC_PREFIX
and MONO_PATH at runtime to ensure f-spot uses the new mono-addins.

** Attachment added: "Cherry pick gtk-gui/Mono.Addins.Gui.AddinManagerDialog.cs from 0.6.1"
   https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/754721/+attachment/2155451/+files/patch

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in Ubuntu.
https://bugs.launchpad.net/bugs/754721

Title:
  F-Spot crashes when trying to access Edit->Manage Extensions

Status in Personal photo management for the GNOME desktop:
  Unknown
Status in “f-spot” package in Ubuntu:
  New
Status in “mono-addins” package in Debian:
  Unknown

Bug description:
  Binary package hint: f-spot

  Complete output when trying to access Manage Extensions in F-Spot:

  f-spot
  [Info  12:00:13.225] Initializing Mono.Addins

  (f-spot:7451): 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.

  (f-spot:7451): Gtk-CRITICAL **: IA__gtk_container_add: assertion
  `GTK_IS_WIDGET (widget)' failed

  (f-spot:7451): Gtk-CRITICAL **: IA__gtk_container_add: assertion
  `GTK_IS_WIDGET (widget)' failed

  (f-spot:7451): Gtk-CRITICAL **: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
  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. ---> System.NullReferenceException: Object reference not set to an instance of an object
    at Mono.Addins.Gui.AddinManagerDialog..ctor (Gtk.Window parent) [0x00000] in <filename unknown>:0 
    at Mono.Addins.Gui.AddinManagerWindow.Run (Gtk.Window parent) [0x00000] in <filename unknown>:0 
    at FSpot.MainWindow.HandleManageExtensions (System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0 
    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] in <filename unknown>:0 
    --- 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] in <filename unknown>:0 
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
    at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
    at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
    at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
    at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
    at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
    at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 
     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.Startup()
     at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
     at FSpot.Driver.Main(System.String[] args)

  This is 64bit machine, and I get the same result using the universe
  package and the 0.8.2 version from the f-spot team PPA.



More information about the Ubuntu-mono mailing list