IOSS writer is non-fonctional and segfaults with unstructured grid
I've been testing the IOSS Exodus writer, it seems just non fonctionnal.
- Saving a image data or poly data in IOSS Exodus do not save anything and fails with (tested with Wavelet/Cone):
( 47.207s) [paraview ]vtkDemandDrivenPipeline:776 ERR| vtkPVCompositeDataPipeline (0x55d46408c7c0): Input for connection index 0 on input port index 0 for algorithm vtkIOSSWriter (0x55d463a4e900) is of type vtkImageData, but a vtkPartitionedDataSetCollection is required.
- Saving a PartitionedDataSetCollection do save a file but reading it back is empty (test with PartitionedDataSetCollectionSource)
- Saving an unstructured grid segfaults with (test with UnstructuredCellTypes):
Breakpoint 1 at 0x7ffff7e3f49c
(gdb) bt
#0 0x00007ffff7e3f49c in ?? () from /usr/lib/libc.so.6
#1 0x00007ffff7def958 in raise () from /usr/lib/libc.so.6
#2 0x00007ffff7dd953d in abort () from /usr/lib/libc.so.6
#3 0x00007fffed699833 in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#4 0x00007fffed6a5cfc in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#5 0x00007fffed6a5d69 in std::terminate () at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#6 0x00007fffed6a5fcd in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7fffed8291e0 <typeinfo for std::runtime_error>, dest=0x7fffed6bd470 <std::runtime_error::~runtime_error()>)
at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#7 0x00007fffe6e49f32 in vtkNodeBlock::vtkNodeBlock (this=0x55555bbc05d0, pdc=0x555559dd0ef0, name="nodeblock_1", controller=0x555555a56f40, writer=0x55555bc27750) at /home/glow/dev/paraview/pv1/src/VTK/IO/IOSS/vtkIOSSModel.cxx:383
#8 0x00007fffe6e5f7d5 in std::_Construct<vtkNodeBlock, vtkPartitionedDataSetCollection*&, char const (&) [12], vtkSmartPointer<vtkMultiProcessController>&, vtkIOSSWriter*&> (__p=0x55555bbc05d0)
at /usr/include/c++/12.2.0/bits/stl_construct.h:119
#9 0x00007fffe6e5e062 in std::allocator_traits<std::allocator<void> >::construct<vtkNodeBlock, vtkPartitionedDataSetCollection*&, char const (&) [12], vtkSmartPointer<vtkMultiProcessController>&, vtkIOSSWriter*&> (__p=0x55555bbc05d0)
at /usr/include/c++/12.2.0/bits/alloc_traits.h:635
#10 0x00007fffe6e5c68e in std::_Sp_counted_ptr_inplace<vtkNodeBlock, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<vtkPartitionedDataSetCollection*&, char const (&) [12], vtkSmartPointer<vtkMultiProcessController>&, vtkIOSSWriter*&> (this=0x55555bbc05c0, __a=...) at /usr/include/c++/12.2.0/bits/shared_ptr_base.h:604
#11 0x00007fffe6e5a41d in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<vtkNodeBlock, std::allocator<void>, vtkPartitionedDataSetCollection*&, char const (&) [12], vtkSmartPointer<vtkMultiProcessController>&, vtkIOSSWriter*&> (this=0x7fffffffc718, __p=@0x7fffffffc710: 0x0, __a=...) at /usr/include/c++/12.2.0/bits/shared_ptr_base.h:971
#12 0x00007fffe6e57d0e in std::__shared_ptr<vtkNodeBlock, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<void>, vtkPartitionedDataSetCollection*&, char const (&) [12], vtkSmartPointer<vtkMultiProcessController>&, vtkIOSSWriter*&> (this=0x7fffffffc710, __tag=...) at /usr/include/c++/12.2.0/bits/shared_ptr_base.h:1712
#13 0x00007fffe6e54919 in std::shared_ptr<vtkNodeBlock>::shared_ptr<std::allocator<void>, vtkPartitionedDataSetCollection*&, char const (&) [12], vtkSmartPointer<vtkMultiProcessController>&, vtkIOSSWriter*&> (this=0x7fffffffc710,
__tag=...) at /usr/include/c++/12.2.0/bits/shared_ptr.h:464
#14 0x00007fffe6e5038e in std::make_shared<vtkNodeBlock, vtkPartitionedDataSetCollection*&, char const (&) [12], vtkSmartPointer<vtkMultiProcessController>&, vtkIOSSWriter*&> () at /usr/include/c++/12.2.0/bits/shared_ptr.h:1010
#15 0x00007fffe6de2e38 in vtkIOSSModel::vtkIOSSModel (this=0x7fffffffc860, dataset=0x555559dd0ef0, writer=0x55555bc27750) at /home/glow/dev/paraview/pv1/src/VTK/IO/IOSS/vtkIOSSModel.cxx:825
#16 0x00007fffe6dcaed2 in vtkIOSSWriter::RequestData (this=0x55555bc27750, request=0x55555bc03570, inputVector=0x55555b66ab40) at /home/glow/dev/paraview/pv1/src/VTK/IO/IOSS/vtkIOSSWriter.cxx:206
#17 0x00007ffff0c7ddd0 in vtkDataObjectAlgorithm::ProcessRequest (this=0x55555bc27750, request=0x55555bc03570, inputVector=0x55555b66ab40, outputVector=0x55555bc02d10)
at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkDataObjectAlgorithm.cxx:86
#18 0x00007ffff0c8a62b in vtkExecutive::CallAlgorithm (this=0x555559e26710, request=0x55555bc03570, direction=1, inInfo=0x55555b66ab40, outInfo=0x55555bc02d10)
at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkExecutive.cxx:734
#19 0x00007ffff0c809b8 in vtkDemandDrivenPipeline::ExecuteData (this=0x555559e26710, request=0x55555bc03570, inInfo=0x55555b66ab40, outInfo=0x55555bc02d10)
at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:461
#20 0x00007ffff0c73bd9 in vtkCompositeDataPipeline::ExecuteData (this=0x555559e26710, request=0x55555bc03570, inInfoVec=0x55555b66ab40, outInfoVec=0x55555bc02d10)
at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:162
#21 0x00007ffff0c7ff65 in vtkDemandDrivenPipeline::ProcessRequest (this=0x555559e26710, request=0x55555bc03570, inInfoVec=0x55555b66ab40, outInfoVec=0x55555bc02d10)
at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:260
#22 0x00007ffff0dd6adc in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0x555559e26710, request=0x55555bc03570, inInfoVec=0x55555b66ab40, outInfoVec=0x55555bc02d10)
at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:343
#23 0x00007ffff0c8079d in vtkDemandDrivenPipeline::UpdateData (this=0x555559e26710, outputPort=0) at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:418
#24 0x00007ffff0dd6e6c in vtkStreamingDemandDrivenPipeline::Update (this=0x555559e26710, port=0, requests=0x0) at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:417
#25 0x00007ffff0dd6cf5 in vtkStreamingDemandDrivenPipeline::Update (this=0x555559e26710, port=0) at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:380
#26 0x00007ffff0c694d2 in vtkAlgorithm::Update (this=0x55555bc27750, port=0) at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkAlgorithm.cxx:1491
#27 0x00007ffff0c6949d in vtkAlgorithm::Update (this=0x55555bc27750) at /home/glow/dev/paraview/pv1/src/VTK/Common/ExecutionModel/vtkAlgorithm.cxx:1485
#28 0x00007fffe6dca654 in vtkIOSSWriter::Write (this=0x55555bc27750) at /home/glow/dev/paraview/pv1/src/VTK/IO/IOSS/vtkIOSSWriter.cxx:117
#29 0x00007fffec3f9967 in vtkIOSSWriterCommand (arlu=0x555555a6fb60, ob=0x55555bc27750, method=0x55555bb91759 "Write", msg=..., resultStream=...)
at /home/glow/dev/paraview/pv1/build/CMakeFiles/vtkIOIOSSCS/vtkIOSSWriterClientServer.cxx:300
#30 0x00007ffff566e270 in vtkClientServerInterpreter::CallCommandFunction (this=0x555555a6fb60, cname=0x7fffe6e66783 "vtkIOSSWriter", ptr=0x55555bc27750, method=0x55555bb91759 "Write", msg=..., result=...)
at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:810
#31 0x00007ffff566c60f in vtkClientServerInterpreter::ProcessCommandInvoke (this=0x555555a6fb60, css=..., midx=0) at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:424
#32 0x00007ffff566baf2 in vtkClientServerInterpreter::ProcessOneMessage (this=0x555555a6fb60, css=..., message=0) at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:265
#33 0x00007ffff566b955 in vtkClientServerInterpreter::ProcessStream (this=0x555555a6fb60, css=...) at /home/glow/dev/paraview/pv1/src/Remoting/ClientServerStream/vtkClientServerInterpreter.cxx:235
#34 0x00007ffff52f01ae in vtkPVSessionCore::ExecuteStreamInternal (this=0x555555f85250, stream=..., ignore_errors=false) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionCore.cxx:620
#35 0x00007ffff52eff5e in vtkPVSessionCore::ExecuteStream (this=0x555555f85250, location=1, stream=..., ignore_errors=false) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionCore.cxx:590
#36 0x00007ffff52ebc64 in vtkPVSessionBase::ExecuteStream (this=0x555555f91060, location=1, stream=..., ignore_errors=false) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionBase.cxx:165
#37 0x00007ffff5456dce in vtkSMProxy::ExecuteStream (this=0x55555bc34be0, stream=..., ignore_errors=false, location=1) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkSMProxy.cxx:2406
#38 0x00007ffff5512cf1 in vtkSMWriterProxy::UpdatePipeline (this=0x55555bc34be0) at /home/glow/dev/paraview/pv1/src/Remoting/ServerManager/vtkSMWriterProxy.cxx:74
#39 0x00007ffff7a34c28 in pqSaveDataReaction::saveActiveData (filename=...) at /home/glow/dev/paraview/pv1/src/Qt/ApplicationComponents/pqSaveDataReaction.cxx:189
#40 0x00007ffff7a344b8 in pqSaveDataReaction::saveActiveData () at /home/glow/dev/paraview/pv1/src/Qt/ApplicationComponents/pqSaveDataReaction.cxx:125
#41 0x00007ffff78e6a8f in pqSaveDataReaction::onTriggered (this=0x555555e5c760)
FYI @_transfer-utkarsh.ayachit @cory.quammen
Edited by Mathieu Westphal (Kitware)