Bad call to SDqueryTreProjSA for BSDF

Dear all,

I am getting the above error when rendering an image with rpiece/rpict on many cpu cores. The ambient cache is used (e.g. no -aa 0). Is it possible that this is due to multiple processes interfering (I am running 38 in parallel…)? Or is the BSDF the primary suspect in this case?

I updated to the latest head release as of today, but the error just occured again.

Right now I am trying out with fewer (18) processes, but this will obviously take some time befor I can confirm any effect.

Cheers,

Lars.

This was a bug that is rarely encountered, and has been fixed in the HEAD release with Lars' help.

Cheers,
-Greg

···

From: "Lars O. Grobe" <[email protected]>
Subject: Re: [Radiance-general] Bad call to SDqueryTreProjSA for BSDF
Date: November 19, 2017 1:43:14 PM PST

Dear Greg,

thank you, this has solved the issue!

Cheers, Lars.

17.11.17 at 16:53 Greg Ward wrote:

Hi Lars,

I had a look at the code, and realized there is a case where a BSDF that is zero in a neighborhood could generate this error. Try the attached version of src/rt/m_bsdf.c and tell me if it gets rid of your error. The number of processes shouldn't be a factor.

Cheers,
-Greg

From: "Lars Grobe" <[email protected]>
Date: November 17, 2017 5:26:07 AM PST

Dear all,

I am getting the above error when rendering an image with rpiece/rpict on many cpu cores. The ambient cache is used (e.g. no -aa 0). Is it possible that this is due to multiple processes interfering (I am running 38 in parallel...)? Or is the BSDF the primary suspect in this case?

I updated to the latest head release as of today, but the error just occured again.

Right now I am trying out with fewer (18) processes, but this will obviously take some time befor I can confirm any effect.

Cheers,
Lars.