POV-Ray : Newsgroups : povray.beta-test : Crash: Windows - redeclared local variables. : Crash: Windows - redeclared local variables. Server Time
4 Nov 2024 19:20:54 EST (-0500)
  Crash: Windows - redeclared local variables.  
From: autowitch
Date: 28 Sep 2001 11:25:39
Message: <3bb49673$1@news.povray.org>
I don't know if this has already been reported or not (so bear with me if it
already has been).

The scene:

#local fn_X = function(x,y,z) { x*x + y*y - 1 }
#local fn_X = function(x,y,z) { x*y + y*x - 1 }

when rendered will crash PovRay 3.5 editor with the following message:
'The instruction at "0x0046539d" referenced memory at "0x00000105".  The
memory could not be "read".'  (I'm not sure just what Windows was really
trying to do when it wanted to "read" the data.  Maybe it had to be
"written" first <g>).

Tested on Win2k and Win98.

It appears to be an issue with using the same fairly complicated local
variable.  Using
#declare will not exhibit the same behavior.  Neither will:

#local fn_X = 3;
#local fn_X = 4;

-autowitch
www.autowitch.org


Post a reply to this message

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