Tracker stops indexing part way thru

Bug #511015 reported by Bruce MacDonald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tracker (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: tracker

Tracker indexes my files but stops indexing at some point. There are not error messages in the tracker, nor indexer logs (with reporting set to 3). Just says that there is no indexer. I removed the directory it hung in and then it seemed to index more files, but stopped again. Takes a couple of hours to try it. I started the indexer again but it does not progress. The log says it starts and then is finished almost immediately.

ProblemType: Bug
Architecture: amd64
Date: Fri Jan 22 17:26:05 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia wl
Package: tracker 0.6.95-1ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: tracker
Uname: Linux 2.6.31-17-generic x86_64

Revision history for this message
Bruce MacDonald (b-macdonald-auckland) wrote :
Revision history for this message
Bruce MacDonald (b-macdonald-auckland) wrote :

I found a segfault did happen during this process. However now nothing will happen. If I reindex, same problem happens again, and looks like this segfault also happened in the past.

Jan 22 14:16:20 SLT022 kernel: [51014.467153] tracker-extract[14342]: segfault at 7ffff0ac8f28 ip 00007f42ef344146 sp 00007ffff0ac8f30 error 6 in libxml2.so.2.7.5[7f42ef2cf000+144000]

Revision history for this message
Bruce MacDonald (b-macdonald-auckland) wrote :

Seems like two of my 75000+ files are causing this tracker problem.

After some experimentation on a small directory I found that the attached file, with the full pathname

/home/bmac044/temp/trackertest/athletes-foot/toenail and nail fungus treatment_files/Gout%20no%20side%20effects.gif

caused tracker-indexer to quit (pretty much silently), and caused the situation described above. So I ran on my home directory, having first renamed this file to Gout-no-side-effects.gif and then the indexer continued to index more of my files. Then another file caused the indexer to quit. That file was:

/home/bmac044/grants/IIOF/feedback/previous-v5/previous-v4/previous-v2/karen-day-Editing draft.doc

I removed this file and then restarted tracker on my home directory. Then tracker succeeded in indexing all my files (about 75000). I don't know what the two files are doing to cause the indexer to exit. It has been consistent in a few tests though; always those two files. For the first file, it seems to be the name. For the second file I haven't checked (because I will need to reindex and takes 3 hours). I haven't attached the second file because it has some confidential information in it. And I think its the name causing the problem, but I have not confirmed that.

I believe also that the behaviour of tracker is incorrect in the case of these issues. After one of these files cause the indexer to quit, tracker seems to freeze and will not continue to index the files that were found during crawling, but that have not been indexed. Even after removing the offending file, no other files are indexed. Unless I have missed the exact method of getting tracker to continue in this case. I had to reindex everything, everytime something caused the indexer to quit. It would be nice if there is a way to continue indexing the unindexed files, after these kinds of incidents occur.

Revision history for this message
Bruce MacDonald (b-macdonald-auckland) wrote :

Now that tracker seems to be working, after reboot I seem to have #458995. So far have disabled tracker startup; I'll just run it manually for awhile and see how it goes ...

Revision history for this message
Bruce MacDonald (b-macdonald-auckland) wrote :

I kept suffering from bug #458995 even running tracker manually. I found that enabling at startup is fine, but watching is a problem. So I've turned off watching. That works fine because each time I boot the laptop it runs tracker and updates the database, which works fine for me. If I want to update the database I just kill and restart trackerd.

Revision history for this message
Bruce MacDonald (b-macdonald-auckland) wrote :

I had the same problem again. A file (attached) that was added recently was killing tracker-indexer, and then indexing simply stops.

I removed the file (the last one listed in the -v=3 created indexer log, killed and started trackerd again, and indexing completed.

Revision history for this message
Bruce MacDonald (b-macdonald-auckland) wrote :

Here is the file that seems to prevent tracker-indexer continuing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.