vtkPlaneCutter segfault when slicing a dataset containing GlobalIds and PedigreeIds
Steps to reproduce (with pv):
- run paraview
- open microascii.vtu, Apply
- SliceWithPlane, Apply
Thread 1 "paraview" received signal SIGSEGV, Segmentation fault.
0x00007ffff1c7fc59 in vtkAOSDataArrayTemplate<long long>::FastDownCast (source=0x20) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkAOSDataArrayTemplate.h:254
254 switch (source->GetArrayType())
(gdb) bt
#0 0x00007ffff1c7fc59 in vtkAOSDataArrayTemplate<long long>::FastDownCast (source=0x20) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkAOSDataArrayTemplate.h:254
#1 0x00007ffff197785c in vtkArrayDownCast_impl<vtkAOSDataArrayTemplate<long long> >::operator() (this=0x7fffffffc227, array=0x20) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkAOSDataArrayTemplate.h:309
#2 0x00007ffff19773af in vtkArrayDownCast<vtkAOSDataArrayTemplate<long long> > (array=0x20) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkAbstractArray.h:733
#3 0x00007ffff1c7feb7 in vtkAOSDataArrayTemplate<long long>::InsertTuples (this=0x55555c36b6c0, dstStart=0, n=0, srcStart=0, source=0x20) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkAOSDataArrayTemplate.txx:297
#4 0x00007ffff27790ff in vtkDataSetAttributes::CopyTuples (this=0x55555c8bc840, fromData=0x20, toData=0x55555c36b6c0, dstStart=0, n=0, srcStart=0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/DataModel/vtkDataSetAttributes.cxx:997
#5 0x00007ffff2778a1e in vtkDataSetAttributes::CopyData (this=0x55555c8bc840, fromPd=0x55555c45dc30, dstStart=0, n=0, srcStart=0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/DataModel/vtkDataSetAttributes.cxx:849
#6 0x00007ffff34437d3 in (anonymous namespace)::PointSetFunctor::Reduce (this=0x7fffffffc5f0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/Core/vtkPlaneCutter.cxx:440
#7 0x00007ffff3443d8a in (anonymous namespace)::UnstructuredGridFunctor::Reduce (this=0x7fffffffc5f0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/Core/vtkPlaneCutter.cxx:561
#8 0x00007ffff344968f in vtk::detail::smp::vtkSMPTools_FunctorInternal<(anonymous namespace)::UnstructuredGridFunctor, true>::For (this=0x7fffffffc4e0, first=0, last=4800, grain=0) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkSMPTools.h:123
#9 0x00007ffff3448e1d in vtkSMPTools::For<(anonymous namespace)::UnstructuredGridFunctor> (first=0, last=4800, grain=0, f=...) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkSMPTools.h:170
#10 0x00007ffff3447344 in vtkSMPTools::For<(anonymous namespace)::UnstructuredGridFunctor> (first=0, last=4800, f=...) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/Core/vtkSMPTools.h:204
#11 0x00007ffff3443edb in (anonymous namespace)::UnstructuredGridFunctor::Execute (input=0x55555b101620, output=0x55555c322950, plane=0x55555d2cd3c0, tree=0x55555b06c6a0, origin=0x7fffffffca60, normal=0x7fffffffca80, interpolate=true)
at /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/Core/vtkPlaneCutter.cxx:577
#12 0x00007ffff344680b in vtkPlaneCutter::ExecuteDataSet (this=0x55555d2aa4e0, input=0x55555b101620, tree=0x55555b06c6a0, output=0x55555c322950) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/Core/vtkPlaneCutter.cxx:1890
#13 0x00007ffff3445b00 in vtkPlaneCutter::RequestData (this=0x55555d2aa4e0, inputVector=0x55555c677de0, outputVector=0x55555d2d0f80) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/Core/vtkPlaneCutter.cxx:1765
#14 0x00007ffff2cf1600 in vtkDataSetAlgorithm::ProcessRequest (this=0x55555d2aa4e0, request=0x55555c419ab0, inputVector=0x55555c677de0, outputVector=0x55555d2d0f80) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/ExecutionModel/vtkDataSetAlgorithm.cxx:161
#15 0x00007ffff344555a in vtkPlaneCutter::ProcessRequest (this=0x55555d2aa4e0, request=0x55555c419ab0, inputVector=0x55555c677de0, outputVector=0x55555d2d0f80) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Filters/Core/vtkPlaneCutter.cxx:1687
#16 0x00007ffff2cfb43b in vtkExecutive::CallAlgorithm (this=0x55555d25a260, request=0x55555c419ab0, direction=1, inInfo=0x55555c677de0, outInfo=0x55555d2d0f80) at /home/glow/work/paraview/paraviewThird/paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx:746
Removing either the GlobalIds or PedigreeIds tag from the .vtu file fix the issue.