POV-Ray : Newsgroups : povray.beta-test : another crash with max_intersections Server Time
30 Jul 2024 08:20:44 EDT (-0400)
  another crash with max_intersections (Message 1 to 2 of 2)  
From:
Subject: another crash with max_intersections
Date: 28 Dec 2001 04:44:45
Message: <j8fo2u8mbo97gi3as0udmab7t9ttap2iom@4ax.com>
POV 3.5 b 9 on PII 233 128 MB with NT 4 Sp 6

checking fix of "Bug with intersection stack (job000175) I found following
script causes crash:

#local S=sphere{0,1};
#local N=<0,0,0>;
global_settings{max_intersections 0}
#local I=trace(S,2*x,-x,N);

Any confirmation ?

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: another crash with max_intersections
Date: 28 Dec 2001 06:22:55
Message: <3c2c560f@news.povray.org>

>checking fix of "Bug with intersection stack (job000175) I found following
>script causes crash:


Yes, I can confirm the crash. If you move the
global_settings{max_intersections 0}
to the top of the file, you'll get an parse error instead (Attempt to malloc
zero size block).

Marc-Hendrik
PII 450, 128 MB, Win 98, Pov 3.5 beta 9.icl.win32


Post a reply to this message

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