GNOME Bugzilla – Bug 646232
f-spot crashes when trying to open extensions dialog
Last modified: 2018-07-01 08:53:30 UTC
as the title says. everytime i try to enter the xtension dialof, f-spot is closing down. I'm using this package http://ppa.launchpad.net/f-spot/f-spot-ppa/ubuntu. It's version 0.8.2 on Ubuntu Maverick 10.10.1
Seen in Debian (0.8.2-2 in Debian, I'm running wheezy): $ f-spot --versions F-Spot 0.8.2 http://f-spot.org (c)2003-2009, Novell Inc (c)2009 Stephane Delcroix Personal photo management for the GNOME Desktop Mono/.NET Version: 2.0.50727.1433 Assembly Version Information: gconf-sharp (2.24.0.0) Hyena.Gui (0.8.0.0) atk-sharp (2.12.0.0) System (2.0.0.0) gtk-sharp (2.12.0.0) FSpot.Cms (0.8.0.0) FSpot.Core (0.8.0.0) FSpot.Platform (0.8.0.0) Mono.Posix (2.0.0.0) gdk-sharp (2.12.0.0) Hyena (0.8.0.0) glib-sharp (2.12.0.0) FSpot.Utils (0.8.0.0) f-spot (0.8.0.0) mscorlib (2.0.0.0) $ f-spot --debug ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [1 Info 22:07:03.184] Initializing Mono.Addins [1 Debug 22:07:03.641] Mono.Addins Initialization took 0.432513 [1 Debug 22:07:04.452] Db Initialization took 0.565948 [1 Debug 22:07:05.108] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 22:07:05.224] QueryToTemp took 0.116261 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 22:07:05.224] Reloading the query took 0.120259 [2 Debug 22:07:05.514] PhotosPerMonth took 0.060859 [2 Debug 22:07:05.516] TimeAdaptor REAL Reload took 0.271501 [1 Debug 22:07:05.585] Query took 0.018973 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 22:07:05.689] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 22:07:05.808] QueryToTemp took 0.118889 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 22:07:05.826] Query took 0.001465 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0 [1 Debug 22:07:06.053] open uri = file:///media/STOP/Images/Photos/2011/05/18/DSC_0057.JPG [1 Debug 22:07:06.071] Reloading the query took 0.38349 [3 Debug 22:07:06.076] PhotosPerMonth took 0.0617 [3 Debug 22:07:06.076] TimeAdaptor REAL Reload took 0.26575 [1 Debug 22:07:06.409] IndexOf took 0.001904 : SELECT ROWID AS row_id FROM photoquery_temp_0 WHERE time <= -62104060800 ORDER BY time DESC LIMIT 1 [1 Debug 22:07:06.679] Loading image took 0.84972 ***************OPENING Edit->Manage Exentsions**************** Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args) Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args) Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args) 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) [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.072] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.073] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.074] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed [4 Debug 22:07:46.075] Finalizer called on FSpot.Core.Category. Should be Disposed If there is any more info I can give, please advise how to find it. If it makes any difference, my photos are stored on a utf8 vfat shortname=mixed filesystem. Thanks, David
Also occurs with brand new, empty basedir. In the trace below, I closed the import dialog that autmatically appeared, then went Edit->Manage Extensions $ mkdir /tmp/f-spotdir $ f-spot --debut --basedir=/tmp/f-spotdir/ ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [1 Info 23:10:03.352] BaseDirectory is now /tmp/f-spotdir/ [1 Info 23:10:03.367] Initializing Mono.Addins [1 Debug 23:10:04.702] Mono.Addins Initialization took 1.330036 [2 Debug 23:10:04.962] Exception executing command: SELECT id FROM tags WHERE name = 'Hidden' [2 Warn 23:10:04.971] Caught an exception - Hyena.Data.Sqlite.SqliteException: Sqlite error 1: no such table: tags (SQL: SELECT id FROM tags WHERE name = 'Hidden') (in `Hyena.Data.Sqlite') at Hyena.Data.Sqlite.Connection.CheckError (Int32 errorCode, System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.Statement.CheckError (Int32 code) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.Statement..ctor (Hyena.Data.Sqlite.Connection connection, System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.Connection.Query[Object] (System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.HyenaSqliteCommand.Execute (Hyena.Data.Sqlite.HyenaSqliteConnection hconnection, Hyena.Data.Sqlite.Connection connection) [0x00000] in <filename unknown>:0 [1 Debug 23:10:05.022] Db Initialization took 0.138967 [1 Debug 23:10:05.023] Importing from [1 Debug 23:10:05.407] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 23:10:05.408] QueryToTemp took 0.000964 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 23:10:05.408] Reloading the query took 0.003854 [3 Debug 23:10:05.642] PhotosPerMonth took 0.000788 [3 Debug 23:10:05.644] TimeAdaptor REAL Reload took 0.207775 [1 Debug 23:10:05.673] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 23:10:05.674] QueryToTemp took 0.000904 : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename ASC [1 Debug 23:10:05.715] Reloading the query took 0.043419 (f-spot:28945): 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. [4 Debug 23:10:05.880] PhotosPerMonth took 0.000738 [4 Debug 23:10:05.880] TimeAdaptor REAL Reload took 0.203717 Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args) Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args) Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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.Startup() at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) at FSpot.Driver.Main(System.String[] args) 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)
Previously had 0.6.2 installed, which worked. Downgrading (and removing .config/f-spot) I find 0.6.2 no longer works. It seems likely that an upgraded dependency is related to the bug, however I cannot find any recently upgraded dependencies. $ f-spot --versions F-Spot 0.6.2 (c)2003-2009, Novell Inc (c)2009 Stephane Delcroix Personal photo management for the GNOME Desktop .NET Version: 2.0.50727.1433 Assembly Version Information: gconf-sharp (2.24.0.0) System.Core (3.5.0.0) unique-sharp (1.0.0.0) gdk-sharp (2.12.0.0) gnome-vfs-sharp (2.24.0.0) Mono.Addins (0.6.0.0) Cms (0.0.0.0) FSpot.Core (0.0.0.0) FSpot.Platform (0.0.0.0) Mono.Posix (2.0.0.0) FSpot.Utils (0.0.0.0) atk-sharp (2.12.0.0) gtk-sharp (2.12.0.0) System (2.0.0.0) Mono.Addins.Setup (0.6.0.0) glib-sharp (2.12.0.0) f-spot (0.6.2.0) mscorlib (2.0.0.0) $ f-spot --debug ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** [Info 18:44:34.957] Initializing Mono.Addins [Debug 18:44:35.354] Mono.Addins Initialization took 0.378348s [Debug 18:44:35.569] Db Initialization took 0.078414s [Info 18:44:35.607] Hack for gnome-settings-daemon engaged [Debug 18:44:35.931] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 18:44:35.932] QueryToTemp took 0.000998s : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 18:44:35.932] Reloading the query took 0.005853s [Debug 18:44:36.160] PhotosPerMonth took 0.0008s [Debug 18:44:36.163] TimeAdaptor REAL Reload took 0.208348s [Debug 18:44:36.285] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 18:44:36.285] QueryToTemp took 0.000807s : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 18:44:36.335] Reloading the query took 0.050554s [Debug 18:44:36.340] Query Started : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 18:44:36.341] QueryToTemp took 0.001483s : SELECT * FROM photos WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY time DESC, filename DESC [Debug 18:44:36.357] Reloading the query took 0.017325s [Debug 18:44:36.489] PhotosPerMonth took 0.00093s [Debug 18:44:36.490] TimeAdaptor REAL Reload took 0.148844s [Debug 18:44:36.543] PhotosPerMonth took 0.001042s [Debug 18:44:36.543] TimeAdaptor REAL Reload took 0.202205s (f-spot:24401): 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. Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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) Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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) Domain: 'Gtk' Level: Critical Message: IA__gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed Trace follows: at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message) at Gtk.Container.gtk_container_add(IntPtr , IntPtr ) at Gtk.Container.Add(Gtk.Widget widget) at Mono.Addins.Gui.AddinManagerDialog.Build() at Mono.Addins.Gui.AddinManagerDialog..ctor(Gtk.Window parent) at Mono.Addins.Gui.AddinManagerWindow.Run(Gtk.Window parent) at FSpot.MainWindow.HandleManageExtensions(System.Object sender, System.EventArgs args) 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) 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.Main(System.String[] args)
On Ubuntu lp this Bug-report seems to cover the very same behaviour: https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/754721
The bug is in Mono.Addins.Gui, and is fixed in the 0.6.1 tarball on codeplex. I have submitted debian bug #629152, which contains more details. The problem will be fixed when the mono-addins debian/ubuntu package is updated to 0.6.1.
Me (Debian) and an Ubuntu user on Launchpad confirm that this bug is fixed in our respective distributions. Feel free to close bugs.
f-spot is not under active development anymore, has not seen code changes for five years, and saw its last tarball release in the year 2010. Its codebase has been archived: https://gitlab.gnome.org/Archive/f-spot/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.