|
 |
clipka <ano### [at] anonymous org> wrote:
> Am 22.06.2011 11:10, schrieb Jan-Philip Gehrcke:
>
> > In my case, this loop was an endless loop. line.length() was always 0 and the
> > Stream.eof() never returned true (at least I checked this until line_number =
> > 9).
> >
> > I was interested in which file was actually parsed here:
> ...
> > povray.conf was a directory in my case. I removed it, restarted 'make check' and
> > the test worked fine (X window opened..."POV-Ray finished").
>
> Duh - I guess we have a problem there.
>
> Next question that arises here: Is this problem limited to reading of
> Unix config files (or should we say directories? :-)), or does it also
> happen with other text file read accesses, e.g. a scene or INI file? And
> is this a Unix-specific issue, or does it also affect Windows?
>
> I guess there's work to do now; an endless loop is /not/ an acceptable
> mode of failure. Thanks for finding this bug. Would you mind filing a
> bug report on http://bugs.povray.org?
Of course, here it is: http://bugs.povray.org/task/213
As it turns out, the fix in this specific function is pretty simple. But maybe
there are more of these things?
JP
Post a reply to this message
|
 |