POV-Ray : Newsgroups : povray.general : Segmentation fault : Re: Segmentation fault Server Time
29 Jul 2024 06:18:08 EDT (-0400)
  Re: Segmentation fault  
From: Warp
Date: 13 Oct 2012 12:10:40
Message: <50799280@news.povray.org>
Anthony D. Baye <Sha### [at] spamnomorehotmailcom> wrote:
> > The segfault is due to the depth of CSG: each level will stack a few
> > calls... the provisionned stack is not big enough for diving in that data.

> Thanks for responding.

> It's pretty much what I figured, although I had thought it was a signed 16-bit
> overflow somewhere, but 32768 works just fine.

> my solution was to create another container to hold unions of a safe size, but
> it seems that there's a better solution.

> at any rate, it would probably be a good idea to do some error checking on the
> stack size before it overflows and causes a segfault.

In any case, a segmentation fault is not something that a program should do,
so a bug report is in place.

-- 
                                                          - Warp


Post a reply to this message

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