POV-Ray : Newsgroups : povray.general : Strange bug : Re: Strange bug Server Time
1 Aug 2024 16:31:11 EDT (-0400)
  Re: Strange bug  
From: Vincent LE CHEVALIER
Date: 15 Jul 2005 10:39:44
Message: <42d7cab0@news.povray.org>
Nicolas Alvarez wrote:
> I was working in a scene and I got the following message when I tried to
> render:
<snip>
> 
> In summary, it seems like undeclared identifiers hang povray if there is a
> Shear_Trans before :S (maybe just any matrix transform, I didn't try)
> 

Well I tried to reduce the scene still more and it seems that the 
content of the macro doesn't really matter...
Here is the minimal scene I've got :

//begin crash.inc
#macro Trans() #end
//end crash.inc

//begin crash.pov
//including the file makes POV-Ray crash
#include "crash.inc"

//if the content of crash.inc is included inline, normal behaviour:
//#macro Trans() #end

Trans()

#if(UndeclaredId) #end
//end crash.pov

Seems that it has to do with the parsing of macros in includes...

Here is the output I have in Debian Linux, kernel 2.6.11.6, 256 MB RAM, 
Pentium M 1.5 GHz :

Persistence of Vision(tm) Ray Tracer Version 3.6.1 (g++ 3.4.1 @
  i686-pc-linux-gnu)
This is an official version prepared by the POV-Ray Team. See the
  documentation on how to contact the authors or visit us on the
  internet at http://www.povray.org/.
POV-Ray is based on DKBTrace 2.12 by David K. Buck & Aaron A. Collins
Copyright 1991-2003 Persistence of Vision Team
Copyright 2003-2004 Persistence of Vision Raytracer Pty. Ltd.

Primary POV-Ray 3.5/3.6 Developers: (Alphabetically)
   Chris Cason         Thorsten Froehlich  Nathan Kopp         Ron 
Parker

Contributing Authors: (Alphabetically)
   Steve Anger         Eric Barish         Dieter Bayer        Steve A. 
Bennett
   David K. Buck       Nicolas Calimet     Aaron A. Collins    Chris 
Dailey
   Steve Demlow        Andreas Dilger      Alexander Enzmann   Dan 
Farmer
   Mark Gordon         Christoph Hormann   Mike Hough          Chris 
Huff
   Kari Kivisalo       Lutz Kretzschmar    Jochen Lippert      Pascal 
Massimino
   Jim McElhiney       Douglas Muir        Juha Nieminen       Bill 
Pulver
   Eduard Schwan       Wlodzimierz Skiba   Robert Skinner      Yvo 
Smellenbergh
   Zsolt Szalavari     Scott Taylor        Massimo Valentini   Timothy 
Wegner
   Drew Wells          Chris Young

Other contributors are listed in the documentation.

Support libraries used by POV-Ray:
   ZLib 1.2.1, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
   LibPNG 1.2.5, Copyright 1998-2002 Glenn Randers-Pehrson
   LibJPEG 6b, Copyright 1998 Thomas G. Lane
   LibTIFF 3.6.1, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
zsh: segmentation fault  povray crash.pov

Hope this will help...

-- 
Vincent


Post a reply to this message

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