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 704947 - Segfault if tracker never run
Segfault if tracker never run
Status: RESOLVED FIXED
Product: gnome-photos
Classification: Applications
Component: general
3.8.x
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-07-26 18:08 UTC by Joe Bylund
Modified: 2013-12-30 15:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tracker-queue: Make it fallible (11.38 KB, patch)
2013-12-27 17:37 UTC, Debarshi Ray
committed Details | Review
camera-cache: Be resilient against PhotosTrackerQueue failures (1.77 KB, patch)
2013-12-27 17:38 UTC, Debarshi Ray
committed Details | Review
utils: Be resilient against PhotosTrackerQueue failures (2.34 KB, patch)
2013-12-27 17:47 UTC, Debarshi Ray
committed Details | Review
collection-icon-watcher: Be robust against PhotosTrackerQueue failures (945 bytes, patch)
2013-12-28 10:56 UTC, Debarshi Ray
committed Details | Review
create-collection-job: Be robust against PhotosTrackerQueue failures (953 bytes, patch)
2013-12-28 10:57 UTC, Debarshi Ray
committed Details | Review
delete-item-job: Be robust against PhotosTrackerQueue failures (889 bytes, patch)
2013-12-29 22:16 UTC, Debarshi Ray
committed Details | Review
fetch-collections-job: Be robust against PhotosTrackerQueue failures (949 bytes, patch)
2013-12-29 22:17 UTC, Debarshi Ray
committed Details | Review
offset-controller: Be robust against PhotosTrackerQueue failures (933 bytes, patch)
2013-12-29 22:17 UTC, Debarshi Ray
committed Details | Review
set-collection-job: Be robust against PhotosTrackerQueue failures (869 bytes, patch)
2013-12-29 22:19 UTC, Debarshi Ray
committed Details | Review
single-item-job: Be robust against PhotosTrackerQueue failures (895 bytes, patch)
2013-12-30 15:06 UTC, Debarshi Ray
committed Details | Review
update-mtime-job: Be robust against PhotosTrackerQueue failures (898 bytes, patch)
2013-12-30 15:06 UTC, Debarshi Ray
committed Details | Review
tracker-change-monitor: Make it fallible (8.42 KB, patch)
2013-12-30 15:08 UTC, Debarshi Ray
committed Details | Review
tracker-controller: Be robust against PhotosTrackerQueue failures (1.95 KB, patch)
2013-12-30 15:09 UTC, Debarshi Ray
committed Details | Review

Description Joe Bylund 2013-07-26 18:08:57 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.
Comment 1 Debarshi Ray 2013-12-27 17:36:56 UTC
This is not "major" because tracker-store not running is indicative of a broken system. However we should still fix this.
Comment 2 Debarshi Ray 2013-12-27 17:37:48 UTC
Created attachment 264937 [details] [review]
tracker-queue: Make it fallible
Comment 3 Debarshi Ray 2013-12-27 17:38:38 UTC
Created attachment 264938 [details] [review]
camera-cache: Be resilient against PhotosTrackerQueue failures
Comment 4 Debarshi Ray 2013-12-27 17:47:42 UTC
Created attachment 264939 [details] [review]
utils: Be resilient against PhotosTrackerQueue failures
Comment 5 Debarshi Ray 2013-12-28 10:56:22 UTC
Created attachment 264954 [details] [review]
collection-icon-watcher: Be robust against PhotosTrackerQueue failures
Comment 6 Debarshi Ray 2013-12-28 10:57:00 UTC
Created attachment 264955 [details] [review]
create-collection-job: Be robust against PhotosTrackerQueue failures
Comment 7 Debarshi Ray 2013-12-29 22:16:30 UTC
Created attachment 265008 [details] [review]
delete-item-job: Be robust against PhotosTrackerQueue failures
Comment 8 Debarshi Ray 2013-12-29 22:17:11 UTC
Created attachment 265009 [details] [review]
fetch-collections-job: Be robust against PhotosTrackerQueue failures
Comment 9 Debarshi Ray 2013-12-29 22:17:46 UTC
Created attachment 265010 [details] [review]
offset-controller: Be robust against PhotosTrackerQueue failures
Comment 10 Debarshi Ray 2013-12-29 22:19:15 UTC
Created attachment 265011 [details] [review]
set-collection-job: Be robust against PhotosTrackerQueue failures
Comment 11 Debarshi Ray 2013-12-30 15:06:25 UTC
Created attachment 265033 [details] [review]
single-item-job: Be robust against PhotosTrackerQueue failures
Comment 12 Debarshi Ray 2013-12-30 15:06:56 UTC
Created attachment 265034 [details] [review]
update-mtime-job: Be robust against PhotosTrackerQueue failures
Comment 13 Debarshi Ray 2013-12-30 15:08:24 UTC
Created attachment 265035 [details] [review]
tracker-change-monitor: Make it fallible
Comment 14 Debarshi Ray 2013-12-30 15:09:09 UTC
Created attachment 265036 [details] [review]
tracker-controller: Be robust against PhotosTrackerQueue failures