POV-Ray : Newsgroups : povray.general : Segfault on 3.6.1 Server Time
29 Nov 2024 13:46:29 EST (-0500)
  Segfault on 3.6.1 (Message 1 to 3 of 3)  
From: Sebastian H 
Subject: Segfault on 3.6.1
Date: 3 Oct 2005 20:14:10
Message: <4341c952$1@news.povray.org>
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


Post a reply to this message

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


Post a reply to this message

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


Post a reply to this message

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