POV-Ray : Newsgroups : povray.beta-test : Beta5 nested loop crash : Beta5 nested loop crash Server Time
30 Jul 2024 18:12:35 EDT (-0400)
  Beta5 nested loop crash  
From: Mike Williams
Date: 8 Oct 2001 04:22:33
Message: <LEOJcCA8HWw7EwVH@econym.demon.co.uk>
Nested loops crash if the iteration count is high enough. This crashes
when looping to A<2, B<762, but processes correctly when looping to A<2
B<761. Similarly A<38,B<38 crashes but A<38,B<37 succeeds.

This is a complete scene file which provokes the crash. The crash occurs
during parsing, so I've not bothered to put any lights, cameras or
objects in the scene - they don't affect the results.

POV 3.5b5, AMD k6-s 500, 128 Mb, W98se

#declare A=0;
  #while (A<2)
  #declare B=0;
    #while (B<762)
    
    #declare B=B+1;
  #end
  #declare A=A+1; 
#end


-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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