POV-Ray : Newsgroups : povray.beta-test : v3.8 attempted load of radiosity file core dumps. : Re: v3.8 attempted load of radiosity file core dumps. Server Time
5 Dec 2021 00:24:56 EST (-0500)
  Re: v3.8 attempted load of radiosity file core dumps.  
From: William F Pokorny
Date: 6 Feb 2021 15:11:44
Message: <601ef800$1@news.povray.org>
On 12/7/20 12:16 PM, William F Pokorny wrote:
> For future reference.
> 
> On Ubuntu 18.04 g++9
> 
> povray bogus.pov Radiosity_File_Name="RadSamples" +rfo +rfi
> 
> coredumps unless the RadSamples file exists. The file can be empty
> and things are fine but it must exist.
...
> 

This is a problem in source/core/lighting/radiosity.cpp. In the function 
RadiosityCache::Load change:

     if (fd != nullptr)
     {

to

     if (*fd)  // Natural is (fd != nullptr), but IStream has overrides
     {         // of !fd and *fd for testing.

Bill P.


Post a reply to this message

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