POV-Ray : Newsgroups : povray.beta-test : 3.7.0RC3 -- make check -- how long should the test run? : Re: 3.7.0RC3 -- make check -- how long should the test run? Server Time
24 Apr 2024 20:28:08 EDT (-0400)
  Re: 3.7.0RC3 -- make check -- how long should the test run?  
From: Jan-Philip Gehrcke
Date: 22 Jun 2011 10:00:00
Message: <web.4e01f4505d5b93c12b256d410@news.povray.org>
clipka <ano### [at] anonymousorg> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.