Switching on custom labels in Axes Grid/Data Axes Grid and enabling raytracing results in a crash [v5.9.0-RC1]
Setting Axes Grid/Data Axes Grid and enabling RayTracing works fine in both v5.8.0 and v5.9.0-RC1.
As expected, the axes grid is not rendered in the final output (related: #19871 (closed)), but it does not crash.
But, setting custom labels in Axes Grid/Data Axes Grid and switching on RayTracing results in a crash in v5.9.0-RC1.
The same works without any problem in v5.8.0.
This issue occurs in Paraview GUI and can also be reproduced using a simple script.
Code for reproduction
from paraview.simple import *
# Create a Cone
cone = Cone()
# Turn on the visibility of the object
Show(cone)
# Get the renderview
renderView = GetRenderView()
# Switch On/Off Raytracing
# Set this to 1 to reproduce the issue
renderView.EnableRayTracing = 1
# Switch on the axes grid
renderView.AxesGrid.Visibility = 1
# Switch custom label for x-axis
# Set this to 1 to reproduce the issue
renderView.AxesGrid.XAxisUseCustomLabels = 1
# Provide labels for the x-axis
renderView.AxesGrid.XAxisLabels = [0.1]
# Render the scene
Render()
# Save results
SaveScreenshot('test.png')
Expected Output (using v5.8.0)
RayTracing Off | RayTracing On |
---|---|
Actual Output (using v5.9.0-RC1)
RayTracing Off | RayTracing On |
---|---|
Loguru caught a signal: SIGSEGV Stack trace: . . . ( 0.750s) [paraview ] :0 FATL| Signal: SIGSEGV |