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 583874 - Crashes on Edit -> Preferences
Crashes on Edit -> Preferences
Status: RESOLVED INCOMPLETE
Product: f-spot
Classification: Other
Component: General
0.5.x
Other All
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-26 10:45 UTC by tljunggren
Modified: 2011-02-09 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tljunggren 2009-05-26 10:45:51 UTC
Steps to reproduce:
1. Start application
2. Open Edit menu
3. Select Preferences


Stack trace:


Other information:
Deleted ~/.gnome2/f-spot and ~/.gconf/apps/f-spot, restarted gnome but the crash still occurs.

Running f-spot on openSUSE 11.1 x64. Packages from the stable 2.26 repository (http://download.opensuse.org/repositories/GNOME:/STABLE:/2.26/openSUSE_11.1/)

tolj@t61p-tolj:~> f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[Info  12:27:42.657] Initializing DBus
[Debug 12:27:42.739] DBusInitialization took 0.075774s
[Info  12:27:42.739] Initializing Mono.Addins
[Debug 12:27:42.869] Mono.Addins Initialization took 0.129634s
[Info  12:27:42.873] Starting new FSpot server
[Debug 12:27:42.988] Db Initialization took 0.068927s
Domain: 'Gtk' Level: Critical
Message: gtk_window_resize: assertion `width > 0' failed
Trace follows:
   at GLib.Log.PrintTraceLogFunction(System.String domain, LogLevelFlags level, System.String message)
   at Gtk.Window.gtk_window_resize(IntPtr , Int32 , Int32 )
   at Gtk.Window.Resize(Int32 width, Int32 height)
   at MainWindow.LoadPreference(System.String key)
   at MainWindow..ctor(.Db db)
   at FSpot.Core.get_MainWindow()
   at FSpot.Core.Organize()
   at FSpot.Driver.Main(System.String[] args)
[Debug 12:27:43.263] QueryToTemp took 0.000666s : SELECT id, time, uri, description, roll_id, default_version_id, rating, md5_sum FROM photos  WHERE id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC
[Info  12:27:43.434] Starting BeagleService
[Debug 12:27:43.435] BeagleService startup took 1.4E-05s
[Info  12:27:43.435] Hack for gnome-settings-daemon engaged
[Debug 12:27:43.499] PhotosPerMonth took 0.02049s
[Debug 12:27:43.501] TimeAdaptor REAL Reload took 0.226807s

<!-- Selecting preferences -->

System.NullReferenceException: Object reference not set to an instance of an object
  at GConf.Value..ctor (System.Object val) [0x00018] in /usr/src/packages/BUILD/gnome-sharp-2.24.0/gconf/GConf/Value.cs:278 
  at GConf.ClientBase.Set (System.String key, System.Object val) [0x00000] in /usr/src/packages/BUILD/gnome-sharp-2.24.0/gconf/GConf/ClientBase.cs:32 
  at FSpot.GConfPreferenceBackend.Set (System.String key, System.Object o) [0x00000] 
  at FSpot.Preferences.Set (System.String key, System.Object value) [0x00000] 
Unable to set this :/apps/f-spot/ui/color_management_output_profile
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.UI.Dialog.ProfileList.ProfileNameDataFunc (CellLayout layout, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] 
  at (wrapper delegate-invoke) Gtk.CellLayoutDataFunc:invoke_void__this___CellLayout_CellRenderer_TreeModel_TreeIter (Gtk.CellLayout,Gtk.CellRenderer,Gtk.TreeModel,Gtk.TreeIter)
  at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback (IntPtr cell_layout, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in /usr/src/packages/BUILD/gtk-sharp-2.12.8/gtk/generated/GtkSharp.CellLayoutDataFuncNative.cs:57 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) in /usr/src/packages/BUILD/gtk-sharp-2.12.8/glib/ExceptionManager.cs:line 58
   at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback(IntPtr cell_layout, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) in /usr/src/packages/BUILD/gtk-sharp-2.12.8/gtk/generated/GtkSharp.CellLayoutDataFuncNative.cs:line 61
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run() in /usr/src/packages/BUILD/gtk-sharp-2.12.8/gtk/generated/AboutDialog.cs:line 1
   at Gnome.Program.Run() in /usr/src/packages/BUILD/gnome-sharp-2.24.0/gnome/generated/About.cs:line 1
   at FSpot.Driver.Main(System.String[] args)
[Debug 12:27:54.327] Finalizer called on FSpot.Tag. Should be Disposed
[Debug 12:27:54.327] Finalizer called on FSpot.Utils.DisposableCache`2[System.String,Gdk.Pixbuf]. Should be Disposed
[Debug 12:27:54.330] Finalizer called on FSpot.PhotoView. Should be Disposed
[Debug 12:27:54.330] Finalizer called on FSpot.Widgets.Filmstrip. Should be Disposed
tolj@t61p-tolj:~>
Comment 1 Maxxer 2009-06-05 08:27:53 UTC
try manually creating the key
/apps/f-spot/ui/color_management_output_profile

as string
Comment 2 tljunggren 2009-06-05 09:17:25 UTC
(In reply to comment #1)
> try manually creating the key
> /apps/f-spot/ui/color_management_output_profile
> 
> as string
> 

Unfortunately it didn't help. Still crashes, debug output:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.UI.Dialog.ProfileList.ProfileNameDataFunc (CellLayout layout, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] 
  at (wrapper delegate-invoke) Gtk.CellLayoutDataFunc:invoke_void__this___CellLayout_CellRenderer_TreeModel_TreeIter (Gtk.CellLayout,Gtk.CellRenderer,Gtk.TreeModel,Gtk.TreeIter)
  at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback (IntPtr cell_layout, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in /usr/src/packages/BUILD/gtk-sharp-2.12.8/gtk/generated/GtkSharp.CellLayoutDataFuncNative.cs:57 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) in /usr/src/packages/BUILD/gtk-sharp-2.12.8/glib/ExceptionManager.cs:line 58
   at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback(IntPtr cell_layout, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) in /usr/src/packages/BUILD/gtk-sharp-2.12.8/gtk/generated/GtkSharp.CellLayoutDataFuncNative.cs:line 61
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run() in /usr/src/packages/BUILD/gtk-sharp-2.12.8/gtk/generated/AboutDialog.cs:line 1
   at Gnome.Program.Run() in /usr/src/packages/BUILD/gnome-sharp-2.24.0/gnome/generated/About.cs:line 1
   at FSpot.Driver.Main(System.String[] args)
[Debug 11:15:17.906] Finalizer called on Banshee.Database.QueuedSqliteDatabase. Should be Disposed
[Debug 11:15:17.906] Finalizer called on FSpot.Tag. Should be Disposed
[Debug 11:15:17.907] Finalizer called on FSpot.Utils.DisposableCache`2[System.String,Gdk.Pixbuf]. Should be Disposed


I've tried this before along with other tips mentioned in other threads.

Best regards,
Tobias
Comment 3 Akhil Laddha 2010-12-30 06:08:53 UTC
Could you please confirm if this bug is still happening at your end ? Please try in f-spot 0.6.2 or 0.8.0 and report back, thanks.
Comment 4 Akhil Laddha 2011-02-09 11:06:58 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!