Bug 555034

Summary: trackerd takes 100% CPU
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: trackerAssignee: Deji Akingunola <dakingun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dakingun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tracker-0.6.96-3.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-23 05:20:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Waugh 2010-01-13 13:42:28 UTC
Description of problem:
trackerd is continuously looping here:

#0  0x000000384163c42e in IA__g_main_context_prepare (context=0x1858410, 
    priority=<value optimized out>) at gmain.c:2278
#1  0x000000384163c811 in g_main_context_iterate (context=0x1858410, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at gmain.c:2571
#2  0x000000384163cd3a in IA__g_main_context_iteration (context=0x1858410, 
    may_block=0) at gmain.c:2654
#3  0x0000000000425469 in inotify_watch_func (source=<value optimized out>, 
    condition=<value optimized out>, data=<value optimized out>)
    at inotify-monitor.c:93
#4  0x000000384163922e in g_main_dispatch (context=<value optimized out>)
    at gmain.c:1960
#5  IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#6  0x000000384163cc18 in g_main_context_iterate (context=0x1858410, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at gmain.c:2591
#7  0x000000384163d065 in IA__g_main_loop_run (loop=0x187ffb0) at gmain.c:2799
#8  0x000000000041b4cf in main (argc=1, argv=0x7fffd144ace8)
    at tracker-main.c:1236

It never leaves this loop in inotify-monitor.c:

91	      /* Add some sort of yield to the main loop. */
92	      while (g_main_context_pending (NULL)) {
93	              g_main_context_iteration (NULL, FALSE);
94	      }

Version-Release number of selected component (if applicable):
tracker-0.6.95-3.fc12.x86_64

How reproducible:
Often.

Comment 1 Fedora Update System 2010-02-04 20:32:40 UTC
tracker-0.6.96-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/tracker-0.6.96-1.fc12

Comment 2 Fedora Update System 2010-02-04 20:35:55 UTC
tracker-0.6.96-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/tracker-0.6.96-1.fc11

Comment 3 Fedora Update System 2010-02-05 23:56:21 UTC
tracker-0.6.96-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tracker'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-1522

Comment 4 Fedora Update System 2010-02-05 23:59:45 UTC
tracker-0.6.96-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tracker'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1525

Comment 5 Fedora Update System 2010-02-10 16:05:14 UTC
tracker-0.6.96-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/tracker-0.6.96-3.fc12

Comment 6 Fedora Update System 2010-02-11 14:51:32 UTC
tracker-0.6.96-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tracker'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1750

Comment 7 Fedora Update System 2010-02-23 05:17:33 UTC
tracker-0.6.96-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.