Tor Olav Kristensen <tor### [at] hotmail com> wrote in
news:Xns### [at] 204 213 191 226:
>
> This (bad) code;
>
>
> #declare AA = array[1] { x }
> #declare AA = #declare AA[0] = y;
> #declare AA = #declare AA[0] = z;
>
> plane { y, 0 }
>
>
> - results in this error message:
>
> "The POV-Ray core rendering code caused an access violation exception."
>
> - when I run it in POV-Ray for Windows v3.5
>
> POV-Ray is not shut down after this error
> message (and is able to render other scenes
> correctly).
>
>
> Can anyone else confirm this behaviour ?
I had hoped that this could be tested on
a MAC and a Linux machine too.
Further testing shows that this code:
#declare AA = array[1]
#declare AA = #declare AA = y;
#declare AA = #declare AA = z;
sphere { 0*y, 0 }
- leads to POV-Ray giving this error
message in the Messages window:
"Parse Error: Attempt to free NULL pointer
(File: ..\..\source\parse.cpp Line: 8222)."
I wonder if this is the same bug, or if
this one is somehow triggered by the zero
radius sphere. When I change the radius to
1 I get the same "Access violation" error
as with the first script I listed.
Tor Olav
Post a reply to this message
|