On 2007-02-11 02:01:32 +0100 Enrico Sersale <[EMAIL PROTECTED]> wrote:
There was a bug visible only the first time mdextractor is run. It
was trying
to create a NSDistributedLock with an invalid path.
Fixed on SVN.
Sorry, I still have the same (I think) problem but I have more data to
show. mdextractor loops over and over on the same paths :
2007-02-11 22:11:16.081 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp
2007-02-11 22:11:16.100 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp/vs60wiz.exe
2007-02-11 22:11:16.119 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp
2007-02-11 22:11:16.137 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp/vs60wiz.exe
2007-02-11 22:11:16.156 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp
2007-02-11 22:11:16.174 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp/vs60wiz.exe
2007-02-11 22:11:16.192 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp
2007-02-11 22:11:16.210 mdextractor[25787] no extractor for:
/home/philou/stuff/winedata/drive_c/windows/temp/vs60wiz.exe
...
After hundreds of similar lines, it gets stuck in 'error mode' :
2007-02-11 22:11:18.844 mdextractor[25787] error at: UPDATE paths SET
words_count = 0, moddate = :moddate WHERE id = :pathid
2007-02-11 22:11:18.856 mdextractor[25787] unable to open database file
...
Indexing is configured on /home/philou/stuff/winedata only, it's the
only directory that causes a problem. The only unusual thing about
this directory is that it contains Windows executables and files used
by Wine.
I tried mdextractor under gdb and can confirm that the enumerator
created in mdextractor.m on line 837 'enumerator = [fm
enumeratorAtPath: path];' give several times the same path on line
841. I can reproduce this behavior every time so I can dig deeper if
needed.
Philippe
--
If nested functions are answer, you've got the wrong question. Al Viro
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep