Closed paulmelis closed 2 years ago
The crash you are seeing could actually be related to d7824bb7d14acc259e7e33b3e43f2fc7762902b5 (a fix coming in patch release v2.7.1 in a few days): are all opacity values zero (for the set valueRange
)?
If not, there is DEPENDENCIES_BUILD_TYPE
(which will be propagated as CMAKE_BUILD_TYPE
for dependencies like Open VKL) , so set it to Debug
(we use that in CI to build everything with Debug). And consider to enable some BUILD_*_FROM_SOURCE
if symbols from those are needed.
Making some headway on this, it appears to be one ospRelease()
too many on the Volume on my side. But I really need to clean up the combination of C and C++ API use involved to be sure.
Any update on this? Can we help, or can the issue be closed?
I guess it can be closed. I'm still in the process of refactoring my code in order to rule out issues on my side. Will reopen if needed.
I'm having a hard time finding the cause of a segfault when committing a VolumetricModel. This happens during a second render call in blospray, where the first render succeeds, producing a good image. Some of the scene elements then get updated, such as a new TransferFunction and new VolumetricModel (but reusing the existing
structuredRegular
Volume). The transfer function is nothing special, just 128 entries of vec3f for color and 128 floats for opacity. The volume small as well, 128^3 floats. Nothing of interest is shown with debug log output.Unfortunately I've been unable to create a small standalone sample that reproduces the error outside of blospray. So I was wondering if the stack trace might give some clues to what is going on, or where to look further? This happens with 2.7.0 and also a recent git version.
This is based on a debug superbuild, although it seems the
CMAKE_BUILD_TYPE=Debug
flag doesn't propagate to the non-OSPRay dependencies. Any way to enable a debug build for all components when using the superbuild?