POV-Ray : Newsgroups : povray.general : Segmentation fault : Re: Segmentation fault Server Time
2 Aug 2024 12:22:03 EDT (-0400)
  Re: Segmentation fault  
From: Christoph Hormann
Date: 22 Oct 2004 14:05:02
Message: <clbhv6$6eu$1@chho.imagico.de>
Florian Brucker wrote:
> The following code snippet causes both POV 3.5 and 3.6 to exit with a 
> segmentation fault on my Gentoo 2.4.25, Athlon XP 2600+, 1 Gig RAM:
> 
> <POV>
> #macro F_Plane ()
>   #local fn_p=function (x,y,z) { y };
>   fn_p
> #end
> 
> #local F1= F_Plane();
> 
> #declare fn_crash = function(x,y,z) { F1(x,y,z) }
> </POV>

BTW the correct way to do what you seem to be trying to do is 
demostrated in the IsoCSG library.  What you wrote can't work although 
it should of course not crash but return with an error.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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