Saving a non distributed partitioned dataset segfault
Saving a non distributed partitioned dataset while working in a distributed environnement segfault, at least with vtkImageData leafs.
Steps to reproduce:
- mpirun -np 2 ./bin/pvserver
- ./bin/paraview, connect to pvserver
- Wavelet, apply
- AppendReduce, move to processor 0, Apply
- ConvertToPartitionned, Apply
- Save to vtpc
Thread 1 "pvserver" received signal SIGSEGV, Segmentation fault.
0x00007ffff556f078 in vtkCellArray::Storage::Is64Bit (this=0x30)
at /home/glow/work/paraview/pv2/src/VTK/Common/DataModel/vtkCellArray.h:1265
1265 bool Is64Bit() const { return this->StorageIs64Bit; }
(gdb) bt
#0 0x00007ffff556f078 in vtkCellArray::Storage::Is64Bit (this=0x30)
at /home/glow/work/paraview/pv2/src/VTK/Common/DataModel/vtkCellArray.h:1265
#1 0x00007ffff55a0292 in vtkCellArray::Visit<(anonymous namespace)::ConvertCellsVisitor&> (this=0x0, functor=...)
at /home/glow/work/paraview/pv2/src/VTK/Common/DataModel/vtkCellArray.h:940
#2 0x00007ffff559fa19 in vtkXMLUnstructuredDataWriter::ConvertCells (
this=0x555558c61ac0, cells=0x0)
at /home/glow/work/paraview/pv2/src/VTK/IO/XML/vtkXMLUnstructuredDataWriter.cxx:1011
#3 0x00007ffff55a409b in vtkXMLUnstructuredGridWriter::WriteAppendedPiece (
this=0x555558c61ac0, index=0, indent=...)
at /home/glow/work/paraview/pv2/src/VTK/IO/XML/vtkXMLUnstructuredGridWriter.cxx:166
#4 0x00007ffff559d1ef in vtkXMLUnstructuredDataWriter::WriteHeader (
this=0x555558c61ac0)
at /home/glow/work/paraview/pv2/src/VTK/IO/XML/vtkXMLUnstructuredDataWriter.cxx:305
#5 0x00007ffff559cbbb in vtkXMLUnstructuredDataWriter::ProcessRequest (
this=0x555558c61ac0, request=0x5555584f7710, inputVector=0x555558511850,
outputVector=0x55555976aef0)
at /home/glow/work/paraview/pv2/src/VTK/IO/XML/vtkXMLUnstructuredDataWriter.cxx:181
--Type <RET> for more, q to quit, c to continue without paging--
#6 0x00007ffff51c2987 in vtkExecutive::CallAlgorithm (this=0x5555590a82b0,
request=0x5555584f7710, direction=1, inInfo=0x555558511850,
outInfo=0x55555976aef0)
at /home/glow/work/paraview/pv2/src/VTK/Common/ExecutionModel/vtkExecutive.cxx:746
#7 0x00007ffff51ba474 in vtkDemandDrivenPipeline::ExecuteData (
this=0x5555590a82b0, request=0x5555584f7710, inInfo=0x555558511850,
outInfo=0x55555976aef0)
at /home/glow/work/paraview/pv2/src/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:462
#8 0x00007ffff51ae9c9 in vtkCompositeDataPipeline::ExecuteData (
this=0x5555590a82b0, request=0x5555584f7710, inInfoVec=0x555558511850,
outInfoVec=0x55555976aef0)
at /home/glow/work/paraview/pv2/src/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:162
#9 0x00007ffff51b9b2b in vtkDemandDrivenPipeline::ProcessRequest (
this=0x5555590a82b0, request=0x5555584f7710, inInfoVec=0x555558511850,
outInfoVec=0x55555976aef0)
at /home/glow/work/paraview/pv2/src/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:261
#10 0x00007ffff52c896b in vtkStreamingDemandDrivenPipeline::ProcessRequest (
this=0x5555590a82b0, request=0x5555584f7710, inInfoVec=0x555558511850,
outInfoVec=0x55555976aef0)
--Type <RET> for more, q to quit, c to continue without paging--
at /home/glow/work/paraview/pv2/src/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:343
#11 0x00007ffff51ba2a3 in vtkDemandDrivenPipeline::UpdateData (
this=0x5555590a82b0, outputPort=-1)
at /home/glow/work/paraview/pv2/src/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:419
#12 0x00007ffff52c8d06 in vtkStreamingDemandDrivenPipeline::Update (
this=0x5555590a82b0, port=-1, requests=0x0)
at /home/glow/work/paraview/pv2/src/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:417
#13 0x00007ffff52c8b8f in vtkStreamingDemandDrivenPipeline::Update (