Re: [Tracker] [BUG] crasher with crawled dirs



On Thu, 2007-07-26 at 16:37 +0200, Marcus Fritzsch wrote:
On 7/26/07, Marcus Fritzsch <fritschy googlemail com> wrote:
PS: is tracker indexing it's own core file? ;)

No, He's not :o).

I had another look over the code and I don't really understand what
process_files_thread does for crawled files, i.e. the code block from
line 1140. Is it the culprit?

dunno

the code gets all the subdirs (add_dirs_to_list) and adds them to
tracker->dir_list

then they are checked to see if they are up to date and indexed if not
(schedule_dir_check)

tracker->dir_list is emptied

then we index the actual root dirs and add them to tracker->dir_list

and repeat above

(this latter part should index the root dirs only and no subdirs
underneath them unless a race condition occured -  a file changed suring
the index of the roots)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]