pio reader seg faults on warnings for client-server
The PIO Reader will output a warning for various reasons, for example, when it cannot find any data files in a directory. When you are on a client-server connection and a warning appears, it kills the client-server connection, and Paraview seg faults. When a warning is displayed when trying to load data locally, the warning appears, but does not crash Paraview.
I am using Paraview 5.9.1, and using a client-server connection with 16 processes.
Example dataset: todd2_bad.pio
The example pio file points to a directory that does not exist, so trying to load it will always generate a warning message.
To reproduce:
- create a client-server connection
- try to load the example dataset
- the ssh connection will be killed, and Paraview will seg fault
Below is the output I get when trying to load the file, and Paraview seg faults. Note the last part about an error in vtkSocketCommunicator
. In the PIO Reader, warnings are generated using vtkGenericWarningMacro()
. Is there something special needed in order for vtkGenericWarningMacro()
to work in parallel?
( 79.349s) [paraview ] vtkOutputWindow.cxx:86 WARN| Generic Warning: In /tmp/pflarr/paraview-builds/toss3/snow/server/5.9.1-osmesa_intel-19.1.3_openmpi-3.1.6_python-system3/superbuild/paraview/src/VTK/IO/PIO/PIOAdaptor.cxx, line 244
Dump directory does not exist: /users/boonth/scratch/eap/pio_datasets/todd2/dumpsnothere
( 79.389s) [paraview ] vtkOutputWindow.cxx:76 ERR| ERROR: In /tmp/pflarr/paraview-builds/toss3/snow/server/5.9.1-osmesa_intel-19.1.3_openmpi-3.1.6_python-system3/superbuild/paraview/src/VTK/IO/PIO/vtkPIOReader.cxx, line 130
vtkPIOReader (0x30b7ee0): Error in pio description file
( 79.394s) [paraview ] vtkOutputWindow.cxx:76 ERR| ERROR: In /tmp/pflarr/paraview-builds/toss3/snow/server/5.9.1-osmesa_intel-19.1.3_openmpi-3.1.6_python-system3/superbuild/paraview/src/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 753
vtkPVCompositeDataPipeline (0x30b5d80): Algorithm vtkPIOReader(0x30b7ee0) returned failure for request: vtkInformation (0x30b7b30)
Debug: Off
Modified Time: 95448
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
( 79.479s) [paraview ]vtkSocketCommunicator.c:781 ERR| vtkSocketCommunicator (0x7ffb48c7bba0): Could not receive tag. 55627