Crashes when opening Preferences

Bug #368267 reported by Nikolaus Rath
2
Affects Status Importance Assigned to Milestone
F-Spot
Fix Released
Unknown
f-spot (Ubuntu)
Triaged
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: f-spot

F-Spot crashes with the following console output when I try to open the Preferences. If I remove the photos.db file in .gnome2/f-spot, the crash does not happen. But of course, in that case I lose all my pictures metadata. The photos.db file was last (successfully) opened by F-Spot in Intrepid.

[Info 18:14:07.119] Initializing DBus
[Info 18:14:07.202] Initializing Mono.Addins
[Info 18:14:07.335] Starting new FSpot server
[Info 18:14:08.337] Starting BeagleService
[Info 18:14:08.337] Hack for gnome-settings-daemon engaged

(f-spot:27615): 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. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.UI.Dialog.PreferenceDialog.LoadPreference (System.String key) [0x00000]
  at FSpot.UI.Dialog.PreferenceDialog..ctor () [0x00000]
  at FSpot.UI.Dialog.PreferenceDialog.Show () [0x00000]
  at MainWindow.HandlePreferences (System.Object sender, System.EventArgs args) [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 Gnome.Program.Run()
   at FSpot.Driver.Main(System.String[] args)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: f-spot 0.5.0.3-1ubuntu6
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: f-spot
Uname: Linux 2.6.28-11-generic i686

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

Thanks for the report Nikolaus, may you please attach the db ? i'm sure upstream is going to be interested on it , then we can send this report upstream, thanks you.

Changed in f-spot (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Nikolaus Rath (nikratio) wrote :

I have attached the database.

Note that I have manually emptied the exports, jobs, photo_tags, photo_versions, photos & tags tables (DELETE FROM [table]; VACUUM;). I hope this isn't a problem for debugging. The database still triggers the original problem.

Changed in f-spot (Ubuntu):
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks you Nikolaus, I've sent this upstream at: http://bugzilla.gnome.org/show_bug.cgi?id=580639

Changed in f-spot (Ubuntu):
status: New → Triaged
Changed in f-spot:
status: Unknown → New
Changed in f-spot:
status: New → Invalid
Changed in f-spot:
status: Invalid → Unknown
Changed in f-spot:
status: Unknown → Fix Released
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.