GNOME Bugzilla – Bug 704947
Segfault if tracker never run
Last modified: 2013-12-30 15:19:52 UTC
The first time I started up gnome-photos I got the following: ** (gnome-photos:9001): WARNING **: Unable to connect to the Tracker database: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/local/libexec/tracker-store exited with status 127 (gnome-photos:9001): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnome-photos:9001): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Segmentation fault To investigate I tried "/usr/local/libexec/tracker-store &" then gnome-photos, and it seems to have started smoothly. Using aptosid, up to date from their repos, plus some gnome packages are even more recent using either git or tarballs from gnome.org.
This is not "major" because tracker-store not running is indicative of a broken system. However we should still fix this.
Created attachment 264937 [details] [review] tracker-queue: Make it fallible
Created attachment 264938 [details] [review] camera-cache: Be resilient against PhotosTrackerQueue failures
Created attachment 264939 [details] [review] utils: Be resilient against PhotosTrackerQueue failures
Created attachment 264954 [details] [review] collection-icon-watcher: Be robust against PhotosTrackerQueue failures
Created attachment 264955 [details] [review] create-collection-job: Be robust against PhotosTrackerQueue failures
Created attachment 265008 [details] [review] delete-item-job: Be robust against PhotosTrackerQueue failures
Created attachment 265009 [details] [review] fetch-collections-job: Be robust against PhotosTrackerQueue failures
Created attachment 265010 [details] [review] offset-controller: Be robust against PhotosTrackerQueue failures
Created attachment 265011 [details] [review] set-collection-job: Be robust against PhotosTrackerQueue failures
Created attachment 265033 [details] [review] single-item-job: Be robust against PhotosTrackerQueue failures
Created attachment 265034 [details] [review] update-mtime-job: Be robust against PhotosTrackerQueue failures
Created attachment 265035 [details] [review] tracker-change-monitor: Make it fallible
Created attachment 265036 [details] [review] tracker-controller: Be robust against PhotosTrackerQueue failures