Bug 748558

Summary: Tracker hangs while indexing applications
Product: [Fedora] Fedora Reporter: Michael Monreal <michael.monreal+bugs>
Component: trackerAssignee: Deji Akingunola <dakingun>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dakingun, jeremy
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 10:04:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Monreal 2011-10-24 19:58:45 UTC
Tracker does not index any date. Using tracker-0.12.4-2.fc16.x86_64 and running the fs miner by hand reveals this:

Tracker-Message: Flushing SPARQL buffer, reason: Queue handlers WAIT
Tracker-Message: (Sparql buffer) Finished array-update with 1 tasks
(tracker-miner-fs:5375): Tracker-DEBUG: tracker-backend.vala:84: Tracker.Sparql.Backend.query_async(): 'SELECT ?s WHERE { ?s nie:url "file:///home/mimox/.local/share/applications"}'
(tracker-miner-fs:5375): Tracker-DEBUG: Generating children cache for URI 'file:///home/mimox/.local/share/applications'
(tracker-miner-fs:5375): Tracker-DEBUG: tracker-backend.vala:84: Tracker.Sparql.Backend.query_async(): 'SELECT ?url ?u {   ?u nfo:belongsToContainer ?p ;      nie:url ?url .   ?p nie:url "file:///home/mimox/.local/share/applications" }'
Tracker-Message: Parent 'file:///home/mimox/.local/share/applications' not indexed yet
(tracker-miner-fs:5375): Tracker-DEBUG: tracker-backend.vala:84: Tracker.Sparql.Backend.query_async(): 'SELECT ?s WHERE { ?s nie:url "file:///home/mimox/.local/share"}'
(tracker-miner-fs:5375): Tracker-DEBUG: Generating children cache for URI 'file:///home/mimox/.local/share'
(tracker-miner-fs:5375): Tracker-DEBUG: tracker-backend.vala:84: Tracker.Sparql.Backend.query_async(): 'SELECT ?url ?u {   ?u nfo:belongsToContainer ?p ;      nie:url ?url .   ?p nie:url "file:///home/mimox/.local/share" }'
(tracker-miner-fs:5375): Tracker-DEBUG: tracker-backend.vala:84: Tracker.Sparql.Backend.query_async(): 'SELECT ?s WHERE { ?s nie:url "file:///home/mimox/.local/share/applications"}'
(tracker-miner-fs:5375): Tracker-DEBUG: tracker-backend.vala:84: Tracker.Sparql.Backend.query_async(): 'SELECT ?s WHERE { ?s nie:url "file:///home/mimox/.local/share/applications"}'
(tracker-miner-fs:5375): Tracker-DEBUG: Processing file 'file:///home/mimox/.local/share/applications'...

(tracker-miner-fs:5375): Tracker-WARNING **: Couldn't properly parse desktop file 'file:///home/mimox/.local/share/applications': 'Couldn't load desktop file:'/home/mimox/.local/share/applications''
Tracker-Message: Could not process 'file:///home/mimox/.local/share/applications': File is not a key file
Tracker-Message: Flushing SPARQL buffer, reason: Queue handlers WAIT

Comment 1 Michael Monreal 2011-10-24 21:19:15 UTC
$ tracker-control 
Found 159 PIDs…
Found process ID 1716 for 'tracker-miner-flickr'
Found process ID 1725 for 'tracker-store'
Found process ID 1744 for 'tracker-miner-fs'

Store:
24 Oct 2011, 23:14:06:  ✓     Store                 - Idle 

Miners:
24 Oct 2011, 23:14:06:  ✓     Flickr                - Idle 
24 Oct 2011, 23:14:06:    0%  File System           - Initializing 
24 Oct 2011, 23:14:06:  ✗     Emails                - Not running or is a disabled plugin
24 Oct 2011, 23:14:06:   82%  Applications          - Processing… 05m 53s remaining



"Applications" stops at 82% (I guess indexing those should be a matter of seconds) and "File System" never starts

Comment 2 Fedora End Of Life 2013-01-16 12:50:47 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. 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 '16'.

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 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 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 to click on 
"Clone This Bug" and open it against that version of Fedora.

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.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2013-02-13 13:25:41 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 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.

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

Comment 4 Michael Monreal 2015-08-16 21:56:33 UTC
Funny; I just did a google search for a problem I ran into, only to find I filed a bug report about the same issue nearly 5 years ago? Wow...

Anyway: running tracker-1.4.1-1.fc22.x86_64 now.

$ sh /usr/bin/tracker-control
---
WARNING: The 'tracker-control' command is no longer available.
WARNING: Use 'tracker <command> [<args>]' instead...\n
Store:
16 Aug 2015, 23:45:11:  ✓     Store                 - Idle 

Miners:
16 Aug 2015, 23:45:11:  ✓     Userguides            - Idle 
16 Aug 2015, 23:45:11:  ✓     File System           - Idle 
16 Aug 2015, 23:45:11:  ✓     Extractor             - Idle 
16 Aug 2015, 23:45:11:   84%  Applications          - Processing… 02h 46m 38s remaining
---

$ /usr/libexec/tracker-miner-apps --no-daemon -v 3
---
(tracker-miner-apps:1841): Tracker-WARNING **: Couldn't properly parse desktop file 'file:///home/mimox/.local/share/applications': 'Couldn't load desktop file:'/home/mimox/.local/share/applications''
Tracker-Message: Could not process 'file:///home/mimox/.local/share/applications': File is not a key file
(tracker-miner-apps:1841): Tracker-DEBUG: tracker-backend.vala:129: Tracker.Sparql.Backend.update_async(priority:-100): ''
(tracker-miner-apps:1841): Tracker-DEBUG: tracker-backend.vala:95: Tracker.Sparql.Backend.query(): 'SELECT ?url ?u nfo:fileLastModified(?u) {  ?u a rdfs:Resource ; nie:url ?url . FILTER (?url IN ("file:///home/mimox/.local/share/applications"))}'
Tracker-Message: Parent 'file:///home/mimox/.local/share/applications' not indexed yet
(tracker-miner-apps:1841): Tracker-DEBUG: tracker-backend.vala:95: Tracker.Sparql.Backend.query(): 'SELECT ?url ?u nfo:fileLastModified(?u) {  ?u a rdfs:Resource ; nie:url ?url . FILTER (?url IN ("file:///home/mimox/.local/share/applications"))}'
(tracker-miner-apps:1841): Tracker-DEBUG: Processing file 'file:///home/mimox/.local/share/applications'...
---

Comment 5 Fedora End Of Life 2016-07-19 10:04:50 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.