[fpc-devel]Re: fpc-devel digest, Vol 1 #1736 - 4 msgs

Marco van de Voort marcov at stack.nl
Mon Apr 5 10:41:28 CEST 2004


> > I think this is a critical bug. I've also got lots of troubles with the 
> > Linux compiler lately: it often gets in an endless loop. When I strace 
> > it, you can see it keeps fstat'ing "." and ".." in succession, without 
> > ever going to the next item. So it's probably related to this bug.
> 
> That's sounds like this bug, yes. I had that problem also. But I can
> imagine that patching so close before a release can give some problems...
> 
> A good test is to run the following program from /usr/lib (or another
> LARGE directory.) Maybe Peter could try that once with a new kernel?
> 
> ---
> program test_readdir;
> 
> var str : string;
> 
> begin
>   getdir(0,str);
>   writeln(str);
> end.

Getdir is indeed a function that would provoke the ../ ./ alternate
searching behaviour in strace that Jonas described, if something was wrong
with readdir.





More information about the fpc-devel mailing list