vtkHyperTreeGridPlaneCutter: SegFault in RecursivelyProcessTreeDual
Description
When trying to do a Slice
of this HyperTreeGrid (aquarius2.htg) using a Plane and the dual option, we have a crash due to a SegFault during the recursive call in vtkHyperTreeGridPlaneCutter::RecursivelyProcessTreeDual
. I didn't look too deep into it but it fails when trying to copy data:
CopyData(vtkDataSetAttributes*, long long, long long)
vtkDataSetAttributes::CopyTuple(vtkAbstractArray*, vtkAbstractArray*, long long, long long)
vtkAOSDataArrayTemplate<double>::InsertTuple(long long, long long, vtkAbstractArray*)
vtkAOSDataArrayTemplate<double>::SetTuple(long long, long long, vtkAbstractArray*)
vtkAOSDataArrayTemplate<double>::FastDownCast(vtkAbstractArray*)
I wasn't able to reproduce with other datasets.
Steps to reproduce
Python script
You may run this script (SliceHyperTreeGridSegFault.py) and see. First, you have to edit the script to specify the path of your downloaded dataset!
In ParaView
- Load aquarius2.htg in ParaView
- Select the
Slice
filter - Place its origin to (0.015, 0.015, 0.015) to be centered on the dataset
- Check the dual option
- Apply and notice the crash of ParaView from the vtk filter
Edited by Charly Bollinger