POV-Ray : Newsgroups : povray.general : Q: max_trace_level with POV 3.02? : Re: Q: max_trace_level with POV 3.02? Server Time
12 Aug 2024 23:23:47 EDT (-0400)
  Re: Q: max_trace_level with POV 3.02?  
From: Nieminen Mika
Date: 17 Dec 1998 09:03:50
Message: <36790f46.0@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
: If it's a stack problem you can increase your stack settings
: at least for the dos version with an addittion of a single line
: to your config.sys file. It will eat memory to do so but it is
: possible.

  I think that the stack segment of a program has nothing to do with the
stacks-option in config.sys file.

  I had the same stack overflow problem with my triangle mesh smoother.
There is a recursive function there and I was compiling with the stack
overflow checking turned off. When the input was too big, the program
crashed. I din't know why. Then I tried to compile without any optimization,
and there it was: It ended the program with a "Stack overflow" message.
  Then I compiled with all the optimizations set but without removing the
stack overflow checking and increased the stack size to 1M with the linker,
and the program worked. (Of course if you give it a very gigantic mesh, it
will end with the "Stack overflow" error message).

-- 
main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
*_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp. -*/


Post a reply to this message

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