POV-Ray : Newsgroups : povray.beta-test : Linux Beta 28 segfaults on Slackware and Kubuntu : Re: Linux Beta 28 segfaults on Slackware and Kubuntu Server Time
29 Apr 2024 13:04:50 EDT (-0400)
  Re: Linux Beta 28 segfaults on Slackware and Kubuntu  
From: Le Forgeron
Date: 18 Sep 2008 12:47:38
Message: <48d2862a$1@news.povray.org>
Le Thu, 18 Sep 2008 21:22:18 +1000, Chris Cason a modifié des petits
morceaux de l'univers pour nous faire lire :


> Suggestion: as an experiment, try changing the initial value of the
> cache (line 153) to a much larger value and see if the fault goes away.
> I suspect it will (note this is not the solution, just a test: the
> solution is to either avoid the need to resize, or to not keep
> references to the data across calls to the trace functions).
> 

It is far better (tried with a huge modifier of 10* ).
No more segfaults there.

Looks like a very good point.


Post a reply to this message

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