POV-Ray : Newsgroups : povray.bugreports : segmentation fault when executing incorrect code : Re: segmentation fault when executing incorrect code Server Time
2 May 2024 02:54:51 EDT (-0400)
  Re: segmentation fault when executing incorrect code  
From: clipka
Date: 24 Jun 2010 05:49:44
Message: <4c232a38$1@news.povray.org>
Am 24.06.2010 00:03, schrieb Senusert:
> Hello all,
>
> I encountered a segmentation fault in povray. By accident I wrote some
> incorrect code:
>
> 	#if MyValue<  MyFunction(A, B)
>
> Which, of-course, should be written as:
>
> 	#if ( MyValue<  MyFunction(A, B) )
>
> The first code example gives a segmentation fault, while I would expect
> an error message saying that the code is not correct. Did I find
> something new, or is this already known behaviour?
> I am using povray version 3.6.1 (g++ 3.4.1 @ i686-pc-linux-gnu).

I guess the issue /might/ have something to do with this known bug (that 
has been fixed in POV-Ray 3.7 beta 35 already, but not in the 3.6 branch 
yet):

<http://bugs.povray.org/task/51>


Post a reply to this message

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