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 624665 - F-spot crashes upon startup
F-spot crashes upon startup
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
0.7.1
Other Linux
: Normal critical
: 0.7.2
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-18 13:10 UTC by Alexander Hunziker
Modified: 2010-07-22 13:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Hunziker 2010-07-18 13:10:02 UTC
F-Spot 0.7.1 from the PPA on Ubuntu Lucid crashes when I start the program. Output from command line:

hunzikea@AlexT60:~$ f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[1 Info  15:07:33.885] Initializing Mono.Addins
[1 Debug 15:07:34.197] Mono.Addins Initialization took 0.279989
[1 Debug 15:07:34.441] Db Initialization took 0.082166
[1 Debug 15:07:34.834] 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 15:07:34.849] QueryToTemp took 0.014307 : 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 15:07:34.849] Reloading the query took 0.018392
[1 Debug 15:07:35.049] Query took 0.016912 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[2 Debug 15:07:35.091] PhotosPerMonth took 0.010335
[2 Debug 15:07:35.093] TimeAdaptor REAL Reload took 0.220447
[1 Debug 15:07:35.097] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[1 Debug 15:07:35.111] QueryToTemp took 0.014071 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[1 Debug 15:07:35.126] Query took 0.004413 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 15:07:35.273] open uri = file:///home/hunzikea/Pictures/Barcelona/Namiko/PICT0002.JPG
[1 Debug 15:07:35.292] Reloading the query took 0.195719
[3 Debug 15:07:35.337] PhotosPerMonth took 0.01221
[3 Debug 15:07:35.337] TimeAdaptor REAL Reload took 0.221399
[1 Debug 15:07:35.385] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[1 Debug 15:07:35.398] QueryToTemp took 0.012838 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time ASC, filename ASC 
[1 Debug 15:07:35.408] IndexOf took 0.000585 : SELECT ROWID AS row_id FROM photoquery_temp_0 WHERE id = 920
[1 Debug 15:07:35.408] Reloading the query took 0.023593
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentNullException: Argument cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[System.String,Cms.Profile].ContainsKey (System.String key) [0x00000] 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] 
  at FSpot.ColorManagement.get_Profiles () [0x00000] 
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GtkSharp.TreeCellDataFuncWrapper.NativeCallback(IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr 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)
Comment 1 Ruben Vermeersch 2010-07-22 13:33:10 UTC
Should be fixed in git master now. Please reopen if this is not the case.