Bug 903022 - f-spot starts, but then dies after a few seconds.
Summary: f-spot starts, but then dies after a few seconds.
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: f-spot
Version: 19
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Christian Krause
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-22 23:26 UTC by Rodd Clarkson
Modified: 2015-02-17 14:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-17 14:41:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
f-spot-colord.patch (workaround) (658 bytes, patch)
2014-01-06 09:15 UTC, Tim Waugh
no flags Details | Diff

Description Rodd Clarkson 2013-01-22 23:26:26 UTC
Description of problem:

When I try to start f-spot using the GUI it shows a small window with the UI, but no data and then dies after a couple of seconds.

If I start it from the command line, I get some output.  Strangely, if I try to start it again, it starts, but if you close it and start it again, you get the error message again.

Version-Release number of selected component (if applicable):



How reproducible:

Very

Steps to Reproduce:
1. Open a terminal
2. run `f-spot &`  A small window appears and output appears on the commandline (see below).
3. run `f-spot &`  It starts with data in the window.
4. repeat steps 2 and three
  
Actual results:

I get the following output from the terminal window:
[rodd@localhost .config]$ f-spot &
[1] 3256
[rodd@localhost .config]$ [Info  10:19:46.766] Initializing Mono.Addins
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] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.get_Profiles () [0x00000] in <filename unknown>:0 
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] in <filename unknown>:0 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
   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)

[1]+  Exit 1                  f-spot



Expected results:

It should just work.


Additional info:

I use f-spot on and off, but I've used it for the last two or three iterations of fedora and keep it up to date.  Having updated from f17 to f18 recently, I expected it to just work.

Comment 1 Christof Haerens 2013-02-15 07:36:17 UTC
Hi,

Same problem here.

[root@bender log]# uname -a
Linux bender 3.7.6-201.fc18.x86_64 #1 SMP Mon Feb 4 15:54:08 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

[root@bender log]# f-spot
** No session dbus found. Starting one **
[Info  08:32:02.183] Initializing Mono.Addins
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].Add (System.String key, Cms.Profile value) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.get_Profiles () [0x00000] in <filename unknown>:0 
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] in <filename unknown>:0 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
   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)



I installed f-spot on feb 7 and then it worked fine. I did install updates twice since then. So I assume there must be something in there that broke the f-spot. Hereby an extract of yum.log since I installed f-spot (and since it worked):

Feb 07 16:26:24 Installed: f-spot-0.8.2-7.fc18.x86_64
Feb 11 09:01:32 Installed: lsscsi-0.26-2.fc18.x86_64
Feb 11 09:09:07 Updated: bash-4.2.42-3.fc18.x86_64
Feb 11 09:09:07 Updated: nspr-4.9.5-1.fc18.x86_64
Feb 11 09:09:07 Updated: nss-util-3.14.2-2.fc18.x86_64
Feb 11 09:09:07 Updated: mesa-libglapi-9.0.1-4.fc18.x86_64
Feb 11 09:09:07 Updated: mesa-libGL-9.0.1-4.fc18.x86_64
Feb 11 09:09:07 Updated: selinux-policy-3.11.1-74.fc18.noarch
Feb 11 09:09:08 Updated: libuuid-2.22.2-3.fc18.x86_64
Feb 11 09:09:08 Updated: libblkid-2.22.2-3.fc18.x86_64
Feb 11 09:09:08 Installed: colord-libs-0.1.28-1.fc18.x86_64
Feb 11 09:09:08 Updated: bluez-libs-4.101-6.fc18.x86_64
Feb 11 09:09:08 Updated: nss-softokn-freebl-3.14.2-3.fc18.x86_64
Feb 11 09:09:08 Updated: nss-softokn-3.14.2-3.fc18.x86_64
Feb 11 09:09:08 Updated: nss-3.14.2-2.fc18.x86_64
Feb 11 09:09:08 Updated: nss-sysinit-3.14.2-2.fc18.x86_64
Feb 11 09:09:08 Updated: rpm-libs-4.10.3.1-1.fc18.x86_64
Feb 11 09:09:08 Updated: rpm-4.10.3.1-1.fc18.x86_64
Feb 11 09:09:09 Updated: rpm-build-libs-4.10.3.1-1.fc18.x86_64
Feb 11 09:09:09 Updated: libmount-2.22.2-3.fc18.x86_64
Feb 11 09:09:09 Updated: util-linux-2.22.2-3.fc18.x86_64
Feb 11 09:09:09 Updated: mesa-libGL-devel-9.0.1-4.fc18.x86_64
Feb 11 09:09:09 Updated: mesa-libgbm-9.0.1-4.fc18.x86_64
Feb 11 09:09:09 Updated: mesa-libEGL-9.0.1-4.fc18.x86_64
Feb 11 09:09:09 Updated: cairo-1.12.10-2.fc18.x86_64
Feb 11 09:09:09 Updated: cairo-gobject-1.12.10-2.fc18.x86_64
Feb 11 09:09:10 Updated: gnome-settings-daemon-3.6.4-3.fc18.x86_64
Feb 11 09:09:11 Updated: xulrunner-18.0.2-1.fc18.x86_64
Feb 11 09:09:11 Updated: perl-Git-1.8.1.2-1.fc18.noarch
Feb 11 09:09:12 Updated: git-1.8.1.2-1.fc18.x86_64
Feb 11 09:09:13 Updated: libvirt-client-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:13 Updated: 1:telepathy-mission-control-5.14.0-2.fc18.x86_64
Feb 11 09:09:13 Updated: 1:rmt-0.4-0.14.b44.fc18.x86_64
Feb 11 09:09:13 Updated: khrplatform-devel-9.0.1-4.fc18.noarch
Feb 11 09:09:13 Updated: mesa-libEGL-devel-9.0.1-4.fc18.x86_64
Feb 11 09:09:13 Updated: libsss_idmap-1.9.4-2.fc18.x86_64
Feb 11 09:09:13 Updated: kmod-libs-12-1.fc18.x86_64
Feb 11 09:09:13 Updated: kmod-12-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-driver-network-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-driver-qemu-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-driver-storage-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-driver-secret-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-driver-nodedev-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-driver-interface-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: libvirt-daemon-driver-nwfilter-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:14 Updated: sssd-client-1.9.4-2.fc18.x86_64
Feb 11 09:09:14 Updated: xorg-x11-server-common-1.13.2-2.fc18.x86_64
Feb 11 09:09:14 Updated: mesa-dri-filesystem-9.0.1-4.fc18.x86_64
Feb 11 09:09:14 Updated: libipa_hbac-1.9.4-2.fc18.x86_64
Feb 11 09:09:15 Updated: sssd-1.9.4-2.fc18.x86_64
Feb 11 09:09:16 Updated: mesa-dri-drivers-9.0.1-4.fc18.x86_64
Feb 11 09:09:16 Updated: xorg-x11-server-Xorg-1.13.2-2.fc18.x86_64
Feb 11 09:09:16 Updated: libvirt-daemon-kvm-0.10.2.3-1.fc18.x86_64
Feb 11 09:09:17 Updated: cairo-devel-1.12.10-2.fc18.x86_64
Feb 11 09:09:17 Updated: 1:dump-0.4-0.14.b44.fc18.x86_64
Feb 11 09:09:17 Updated: telepathy-gabble-0.16.4-3.fc18.x86_64
Feb 11 09:09:19 Updated: firefox-18.0.2-1.fc18.x86_64
Feb 11 09:09:19 Updated: gnome-settings-daemon-updates-3.6.4-3.fc18.x86_64
Feb 11 09:09:19 Updated: xfce4-settings-4.10.0-4.fc18.x86_64
Feb 11 09:09:19 Updated: rpm-python-4.10.3.1-1.fc18.x86_64
Feb 11 09:09:19 Updated: rpm-build-4.10.3.1-1.fc18.x86_64
Feb 11 09:09:19 Updated: nss-tools-3.14.2-2.fc18.x86_64
Feb 11 09:09:19 Updated: bluez-cups-4.101-6.fc18.x86_64
Feb 11 09:09:20 Updated: bluez-4.101-6.fc18.x86_64
Feb 11 09:09:20 Installed: colord-0.1.28-1.fc18.x86_64
Feb 11 09:09:21 Updated: selinux-policy-targeted-3.11.1-74.fc18.noarch
Feb 11 09:09:21 Updated: selinux-policy-devel-3.11.1-74.fc18.noarch
Feb 11 09:09:22 Updated: selinux-policy-doc-3.11.1-74.fc18.noarch
Feb 11 09:09:22 Updated: iputils-20121221-2.fc18.x86_64
Feb 11 09:09:22 Updated: fedora-logos-17.0.3-3.fc18.noarch
Feb 11 09:09:42 Installed: kernel-devel-3.7.6-201.fc18.x86_64
Feb 11 09:09:46 Updated: 1:java-1.7.0-openjdk-1.7.0.9-2.3.5.3.fc18.x86_64
Feb 11 09:09:47 Updated: kernel-headers-3.7.6-201.fc18.x86_64
Feb 11 09:09:47 Updated: mesa-libxatracker-9.0.1-4.fc18.x86_64
Feb 11 09:09:47 Updated: orc-0.4.16-7.fc18.x86_64
Feb 11 09:09:47 Updated: fpaste-0.3.7.1-5.fc18.noarch
Feb 11 09:09:47 Updated: graphite2-1.1.1-4.fc18.x86_64
Feb 11 09:09:50 Installed: kernel-3.7.6-201.fc18.x86_64
Feb 11 09:09:56 Erased: shared-color-profiles-0.1.6-1.fc18.noarch
Feb 11 13:50:34 Updated: selinux-policy-3.11.1-76.fc18.noarch
Feb 11 13:50:35 Updated: selinux-policy-targeted-3.11.1-76.fc18.noarch
Feb 11 13:50:36 Updated: selinux-policy-devel-3.11.1-76.fc18.noarch
Feb 11 13:50:36 Updated: selinux-policy-doc-3.11.1-76.fc18.noarch
Feb 11 13:50:36 Updated: xorg-x11-drv-synaptics-1.6.3-1.fc18.x86_64
Feb 14 10:05:40 Updated: 1:libreoffice-ure-3.6.5.2-2.fc18.x86_64
Feb 14 10:05:40 Updated: libtalloc-2.0.8-1.fc18.x86_64
Feb 14 10:05:41 Updated: libtdb-1.2.11-1.fc18.x86_64
Feb 14 10:05:41 Updated: libldb-1.1.15-2.fc18.x86_64
Feb 14 10:05:41 Updated: 2:libwbclient-4.0.3-1.fc18.x86_64
Feb 14 10:05:43 Updated: 1:qt-4.8.4-11.fc18.x86_64
Feb 14 10:05:43 Updated: 1:autocorr-en-3.6.5.2-2.fc18.noarch
Feb 14 10:05:44 Updated: openssh-6.1p1-5.fc18.x86_64
Feb 14 10:05:49 Updated: 1:qt-x11-4.8.4-11.fc18.x86_64
Feb 14 10:05:49 Updated: pytalloc-2.0.8-1.fc18.x86_64
Feb 14 10:05:51 Updated: 2:samba-libs-4.0.3-1.fc18.x86_64
Feb 14 10:05:52 Updated: 2:samba-common-4.0.3-1.fc18.x86_64
Feb 14 10:05:52 Updated: 2:libsmbclient-4.0.3-1.fc18.x86_64
Feb 14 10:05:52 Updated: 1:perl-parent-0.225-238.fc18.noarch
Feb 14 10:05:52 Updated: 1:perl-Pod-Escapes-1.04-238.fc18.noarch
Feb 14 10:05:52 Updated: perl-Pod-Perldoc-3.17.00-238.fc18.noarch
Feb 14 10:05:52 Updated: perl-Carp-1.26-238.fc18.noarch
Feb 14 10:05:52 Updated: perl-PathTools-3.39.2-238.fc18.x86_64
Feb 14 10:05:53 Updated: 4:perl-libs-5.16.2-238.fc18.x86_64
Feb 14 10:05:53 Updated: 1:perl-Pod-Simple-3.20-238.fc18.noarch
Feb 14 10:05:53 Updated: perl-threads-1.86-238.fc18.x86_64
Feb 14 10:05:53 Updated: 1:perl-Module-Pluggable-4.00-238.fc18.noarch
Feb 14 10:05:53 Updated: 4:perl-macros-5.16.2-238.fc18.x86_64
Feb 14 10:05:53 Updated: perl-threads-shared-1.40-238.fc18.x86_64
Feb 14 10:05:53 Updated: perl-Scalar-List-Utils-1.25-238.fc18.x86_64
Feb 14 10:05:53 Updated: perl-Pod-Parser-1.51-238.fc18.noarch
Feb 14 10:05:59 Updated: 4:perl-5.16.2-238.fc18.x86_64
Feb 14 10:06:00 Updated: perl-Digest-1.17-238.fc18.noarch
Feb 14 10:06:01 Updated: glusterfs-3.3.1-9.fc18.x86_64
Feb 14 10:06:01 Updated: libipa_hbac-1.9.4-3.fc18.x86_64
Feb 14 10:06:01 Updated: libdrm-2.4.42-1.fc18.x86_64
Feb 14 10:06:01 Updated: libsss_idmap-1.9.4-3.fc18.x86_64
Feb 14 10:06:02 Updated: yum-3.4.3-49.fc18.noarch
Feb 14 10:06:03 Updated: oprofile-0.9.8-3.fc18.x86_64
Feb 14 10:06:04 Updated: 1:libreoffice-opensymbol-fonts-3.6.5.2-2.fc18.noarch
Feb 14 10:06:07 Updated: 1:libreoffice-writer-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:40 Updated: 1:libreoffice-core-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:42 Updated: 1:libreoffice-presenter-screen-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:43 Updated: 1:libreoffice-impress-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:43 Updated: 1:libreoffice-graphicfilter-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:43 Updated: 1:libreoffice-pdfimport-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:44 Updated: 1:libreoffice-draw-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:44 Updated: 2:qemu-common-1.2.2-6.fc18.x86_64
Feb 14 10:06:46 Updated: 2:qemu-system-x86-1.2.2-6.fc18.x86_64
Feb 14 10:06:46 Updated: sssd-client-1.9.4-3.fc18.x86_64
Feb 14 10:06:48 Updated: sssd-1.9.4-3.fc18.x86_64
Feb 14 10:06:48 Updated: 2:qemu-kvm-1.2.2-6.fc18.x86_64
Feb 14 10:06:48 Updated: 1:libreoffice-langpack-en-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:51 Updated: 1:libreoffice-calc-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:52 Updated: 1:libreoffice-math-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:52 Updated: 1:libreoffice-xsltfilter-3.6.5.2-2.fc18.x86_64
Feb 14 10:06:52 Updated: oprofile-gui-0.9.8-3.fc18.x86_64
Feb 14 10:06:52 Updated: yum-utils-1.1.31-9.fc18.noarch
Feb 14 10:06:53 Updated: libdrm-devel-2.4.42-1.fc18.x86_64
Feb 14 10:06:53 Updated: glusterfs-fuse-3.3.1-9.fc18.x86_64
Feb 14 10:06:53 Updated: perl-Digest-MD5-2.51-238.fc18.x86_64
Feb 14 10:06:53 Updated: perl-Test-Harness-3.23-238.fc18.noarch
Feb 14 10:06:53 Updated: perl-Data-Dumper-2.135.06-238.fc18.x86_64
Feb 14 10:06:53 Updated: 2:samba-client-4.0.3-1.fc18.x86_64
Feb 14 10:06:54 Updated: 2:samba-4.0.3-1.fc18.x86_64
Feb 14 10:06:54 Updated: openssh-server-6.1p1-5.fc18.x86_64
Feb 14 10:06:54 Updated: openssh-clients-6.1p1-5.fc18.x86_64
Feb 14 10:06:55 Updated: iproute-3.6.0-6.fc18.x86_64
Feb 14 10:06:55 Updated: lftp-4.4.2-1.fc18.x86_64
Feb 14 10:06:56 Updated: libxfce4ui-4.10.0-4.fc18.x86_64
Feb 14 10:06:57 Updated: gl-manpages-1.1-5.20130122.fc18.noarch
Feb 14 10:06:57 Updated: 2:qemu-img-1.2.2-6.fc18.x86_64
Feb 14 10:06:57 Updated: 2:libcacard-1.2.2-6.fc18.x86_64
Feb 14 10:06:57 Updated: dnsmasq-2.65-4.fc18.x86_64
Feb 14 10:06:58 Updated: libnl3-3.2.21-1.fc18.x86_64

Comment 2 brano 2013-02-19 21:26:39 UTC
The same crash here :(

$ rpm -q f-spot
f-spot-0.8.2-7.fc18.x86_64
$ f-spot
[Info  22:19:34.899] Initializing Mono.Addins
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].Add (System.String key, Cms.Profile value) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.get_Profiles () [0x00000] in <filename unknown>:0 
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] in <filename unknown>:0 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
   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 3 brano 2013-02-19 21:49:48 UTC
Just found out that colord.x86_64 0:0.1.28-1.fc18 is culprit. I'm able to start f-spot after removing colord from system.

Comment 4 Christof Haerens 2013-02-20 14:00:57 UTC
Thxs! Yum removed it and now f-spot works again.

Comment 5 Richard Hollins 2013-04-02 23:12:13 UTC
I just installed f-spot, and had same immediate crash.  However, removing colord with yum does not get f-spot to work.  I get a Fatal Error message:

An unhandled exception was thrown: Object reference not set to an instance of an object

  at FSpot.Widgets.PhotoImageView.LoadErrorImage (System.Exception e) [0x00000] in <filename unknown>:0 
  at FSpot.Widgets.PhotoImageView.HandlePhotoItemChanged (System.Object sender, FSpot.Core.BrowsablePointerChangedEventArgs args) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_BrowsablePointerChangedEventArgs (object,FSpot.Core.BrowsablePointerChangedEventArgs)
  at FSpot.Core.BrowsablePointer.SetIndex (Int32 value, IBrowsableItemChanges changes) [0x00000] in <filename unknown>:0 
  at FSpot.Core.BrowsablePointer.HandleCollectionChanged (IBrowsableCollection collection) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___IBrowsableCollection (FSpot.Core.IBrowsableCollection)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___IBrowsableCollection (FSpot.Core.IBrowsableCollection)
  at FSpot.PhotoQuery.RequestReload () [0x00000] in <filename unknown>:0 
  at FSpot.QueryWidget.Close () [0x00000] in <filename unknown>:0 
  at FSpot.MainWindow.UpdateFindByTagMenu () [0x00000] in <filename unknown>:0 
  at FSpot.MainWindow..ctor (FSpot.Database.Db db) [0x00000] in <filename unknown>:0 
  at FSpot.App.get_Organizer () [0x00000] in <filename unknown>:0 
  at FSpot.App.HandleOrganize () [0x00000] in <filename unknown>:0 
  at FSpot.App.Organize () [0x00000] in <filename unknown>:0 
  at FSpot.Driver.Startup () [0x00000] in <filename unknown>:0 
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0 

.NET Version: 2.0.50727.1433
OS Version: Unix 3.8.4.202

Assembly Version Information:

Mono.Cairo (2.0.0.0)
FSpot.Bling (0.8.0.0)
TagLib (0.8.0.0)
pango-sharp (2.12.0.0)
FSpot.Query (0.8.0.0)
gtk-sharp-beans (2.14.0.0)
gnome-sharp (2.24.0.0)
Hyena.Data.Sqlite (0.8.0.0)
FSpot.JobScheduler (0.8.0.0)
unique-sharp (1.0.0.0)
System.Configuration (2.0.0.0)
FSpot.Gui (0.8.0.0)
System.Xml (2.0.0.0)
Mono.Addins (0.6.0.0)
Mono.Addins.Setup (0.6.0.0)
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)
System.Core (3.5.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)

Platform Information: Linux 3.8.4-202.fc18.x86_64 x86_64 x86_64 GNU/Linux

Disribution Information:

[/etc/fedora-release]
Fedora release 18 (Spherical Cow)

[/etc/os-release]
NAME=Fedora
VERSION="18 (Spherical Cow)"
ID=fedora
VERSION_ID=18
PRETTY_NAME="Fedora 18 (Spherical Cow)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:18"

[/etc/redhat-release]
Fedora release 18 (Spherical Cow)

[/etc/system-release]
Fedora release 18 (Spherical Cow)

Comment 6 Andy Campbell 2013-05-06 18:48:40 UTC
I see similar symptoms.

With colord uninstalled f-spot will run correctly

With colord installed I find f-spot only starts intermittently.  Strangely f-spot will sometimes run from the command line, but will not start from the app launcher.  

----------- here is the command line output when f-spot fails to run
[andy@host ~]$ f-spot
[Info  19:46:19.778] Initializing Mono.Addins
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].Add (System.String key, Cms.Profile value) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x00000] in <filename unknown>:0 
  at FSpot.ColorManagement.get_Profiles () [0x00000] in <filename unknown>:0 
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] in <filename unknown>:0 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
   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)
-----------


During startup it will show a partially rendered main screen (borders and frame is present, but with no content, and then will crash after about 10 seconds)

After uninstalling colord f-spot starts consistently (and much faster)

Comment 7 Stephen Shaw 2013-05-12 21:00:28 UTC
I was just pointed to this bug. Thanks for all of the input here. Would someone be willing to run f-spot --debug from the console and post the input for me?  Thanks!!!

Comment 8 Stephen Shaw 2013-05-14 07:08:46 UTC
Ok, I started to dig into this a bit. It looks like it has to do with a native call into lcms 1. Not sure what's going on yet, but maybe the layout of color profiles has changed such that its not compatible with lcms 1?

I really need to look at lcms 2 and probably update f-spot to use it in the near future.

Comment 9 Stephen Shaw 2013-05-14 07:08:55 UTC
Ok, I started to dig into this a bit. It looks like it has to do with a native call into lcms 1. Not sure what's going on yet, but maybe the layout of color profiles has changed such that its not compatible with lcms 1?

I really need to look at lcms 2 and probably update f-spot to use it in the near future.

Comment 10 Stephen Shaw 2013-05-14 08:22:53 UTC
Ok, looking into this some more it looks like this might be an issue with f-spot still using lcms1. I've started working on moving f-spot off of lcms1 and onto lcms2.

Comment 11 Andy Campbell 2013-05-19 18:00:23 UTC
Stephen, thanks for looking at this.

Here is the output of f-spot --debug after I reinstalled colord
--------------
[andy@speedy ~]$ f-spot --debug 
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[1 Info  18:59:06.601] Initializing Mono.Addins
[1 Debug 18:59:06.865] Mono.Addins Initialization took 0.253723
[1 Debug 18:59:08.479] Db Initialization took 1.50134
[1 Debug 18:59:08.869] 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 18:59:09.061] QueryToTemp took 0.191406 : 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 18:59:09.061] Reloading the query took 0.192812
[1 Debug 18:59:09.218] Query took 0.005085 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 18:59:09.249] 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 18:59:09.453] QueryToTemp took 0.204105 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename ASC 
[4 Debug 18:59:09.508] PhotosPerMonth took 0.226714
[4 Debug 18:59:09.509] TimeAdaptor REAL Reload took 0.053677
[1 Debug 18:59:09.515] Query took 0.000516 : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[1 Debug 18:59:09.600] open uri = file:///home/andy/Photos/2013/05/06/IMG_2172.JPG
[1 Debug 18:59:09.607] Reloading the query took 0.358229
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].Add (System.String key, Cms.Profile value) [0x00171] in /builddir/build/BUILD/mono-2.10.8/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:452 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x0005b] in /builddir/build/BUILD/f-spot-0.8.2/src/Clients/MainApp/FSpot/ColorManagement.cs:65 
  at FSpot.ColorManagement.AddProfiles (System.String path, IDictionary`2 profs) [0x0010a] in /builddir/build/BUILD/f-spot-0.8.2/src/Clients/MainApp/FSpot/ColorManagement.cs:75 
  at FSpot.ColorManagement.get_Profiles () [0x0008d] in /builddir/build/BUILD/f-spot-0.8.2/src/Clients/MainApp/FSpot/ColorManagement.cs:38 
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00046] in /builddir/build/BUILD/f-spot-0.8.2/src/Clients/MainApp/FSpot/TagSelectionWidget.cs:189 
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 
   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() in /builddir/build/BUILD/f-spot-0.8.2/src/Clients/MainApp/FSpot/main.cs:line 355
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) in /builddir/build/BUILD/f-spot-0.8.2/lib/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:line 54
   at FSpot.Driver.Main(System.String[] args) in /builddir/build/BUILD/f-spot-0.8.2/src/Clients/MainApp/FSpot/main.cs:line 273
--------------

Comment 12 Tim Waugh 2013-07-16 20:48:30 UTC
I'm seeing this problem too on F-18. I haven't updated that machine to F-19 yet... has anyone done that, and does F-19 fail in the same way?

What's the status of moving to lcms2 in f-spot?

Comment 13 Stephen Shaw 2013-07-16 20:52:13 UTC
@Tim, this isn't going to be fixed until lcms2 is finished. I think I have gotten a fair amount of it finished, but have been really busy lately. Its still a top priority, but I have to get a few things taken care of in the next couple/few weeks before I think I can get back to it :(

Comment 14 Fedora End Of Life 2013-12-21 10:43:15 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Tim Waugh 2014-01-05 21:22:12 UTC
I'm still seeing this in Fedora 19.

Comment 16 Stephen Shaw 2014-01-06 06:18:00 UTC
This should be fixed now upstream. I just need to figure out a release.

Comment 17 Tim Waugh 2014-01-06 09:15:03 UTC
Created attachment 845975 [details]
f-spot-colord.patch (workaround)

FWIW, here's a patch that simply disables the code that loads cms profiles. It works around the problem for the time being.

Comment 18 Fedora End Of Life 2015-01-09 17:36:11 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 19 Fedora End Of Life 2015-02-17 14:41:37 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.