There is a scene I wrote which produced a segfault.
It could be reduced to the following two files:
break.pov & break.inc
/* file break.inc */
#macro M()
#local aspect_ratio=1.0;
#if(aspect_ratio)
#end
#end
/* end of file */
/* file: break.pov */
#include "break.inc"
M()
#if (UNDEFINED_VARIABLE)
#end
#
/* end of file */
Things that I observed:
- The macro must be included with #include
- #declare or #local within the macro both have same result
- Without #if() condition test in macro scene "works"
- Without #if() condition test in break.pov scene "works" too
- Too much coffee to get some sleep
PoV-Ray:
...
Persistence of Vision(tm) Ray Tracer Version 3.6.1 (g++-3.4 3.4.4 @
i686-pc-linux-gnu)
...
Sorry, I'm not sure where to post this.
Good night,
Sebastian
From: Vincent LE CHEVALIER
Subject: Re: Segfault on 3.6.1
Date: 4 Oct 2005 11:43:44
Message: <4342a330$1@news.povray.org>
Sebastian H. wrote:
> There is a scene I wrote which produced a segfault.> It could be reduced to the following two files:> break.pov & break.inc>
<snip>
> Good night,> Sebastian>
This bug seems akin to the one first related by Nicolas Alvarez around
July 14. I don't know if anyone has found a fix since then...
(see thread at
http://news.povray.org/povray.general/thread/%3C42d6c6cc%40news.povray.org%3E/
)
I'm afraid I can't help much more :-( Strange thing...
--
Vincent
From: Sebastian H
Subject: Re: Segfault on 3.6.1
Date: 4 Oct 2005 13:20:41
Message: <4342b9e9$1@news.povray.org>
Vincent LE CHEVALIER wrote:
> Sebastian H. wrote:> >> There is a scene I wrote which produced a segfault.>> It could be reduced to the following two files:>> break.pov & break.inc>>> <snip>> >> Good night,>> Sebastian>>> > This bug seems akin to the one first related by Nicolas Alvarez around > July 14. I don't know if anyone has found a fix since then...> (see thread at > http://news.povray.org/povray.general/thread/%3C42d6c6cc%40news.povray.org%3E/ > )
As you mention it I remember that I read it then.
> I'm afraid I can't help much more :-( Strange thing...
Yes really strange...
Thanks,
Sebastian