Python unified bindings cause crash on Mac
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Steps to reproduce:
- Build ParaView on Mac with PARAVIEW_USE_UNIFIED_BINDINGS on
- Run pvserver with mpirun -np 2
- Run client and connect to the running server
- Crash
Partial stack trace below:
0 org.python.python 0x0000000109b6a1b6 PyObject_Call + 23 1 org.python.python 0x0000000109be8e83 PyEval_CallObjectWithKeywords + 165 2 libvtkClientServer-pv5.0.1.dylib 0x000000010715c253 CommandFunctionCallback(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 3971 3 libvtkClientServer-pv5.0.1.dylib 0x000000010714600b vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 155 4 libvtkClientServer-pv5.0.1.dylib 0x000000010714493b vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 331 5 libvtkClientServer-pv5.0.1.dylib 0x0000000107143c45 vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 741 6 libvtkClientServer-pv5.0.1.dylib 0x000000010714392d vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 45 7 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e3c744 vtkSIProperty::ProcessMessage(vtkClientServerStream&) + 52 8 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e3bf8e vtkSIVectorPropertyTemplate<int, int>::Push(int*, int) + 654 9 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e3ba1f vtkSIVectorPropertyTemplate<int, int>::ReadXMLAttributes(vtkSIProxy*, vtkPVXMLElement*) + 271 10 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e3eeb6 vtkSIProxy::ReadXMLProperty(vtkPVXMLElement*) + 742 11 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e3e9ed vtkSIProxy::ReadXMLAttributes(vtkPVXMLElement*) + 797 12 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e3e346 vtkSIProxy::CreateVTKObjects(paraview_protobuf::Message*) + 2086 13 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e3ce01 vtkSIProxy::Push(paraview_protobuf::Message*) + 33 14 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e248ec vtkPVSessionCore::PushStateInternal(paraview_protobuf::Message*) + 2220 15 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e24ba6 vtkPVSessionCore::PushState(paraview_protobuf::Message*) + 262 16 libvtkPVServerImplementationCore-pv5.0.1.dylib 0x0000000106e220f6 vtkPVSessionBase::PushState(paraview_protobuf::Message*) + 38 17 libvtkPVServerManagerCore-pv5.0.1.dylib 0x0000000106d2630a vtkSMSessionClient::PushState(paraview_protobuf::Message*) + 426 18 libvtkPVServerManagerCore-pv5.0.1.dylib 0x0000000106d0040c vtkSMProxy::CreateVTKObjects() + 1276 19 libvtkPVServerManagerCore-pv5.0.1.dylib 0x0000000106d42aab vtkSMSettingsProxy::CreateVTKObjects() + 27 20 libvtkPVServerManagerCore-pv5.0.1.dylib 0x0000000106cffa61 vtkSMProxy::UpdateVTKObjects() + 33 21 libvtkPVServerManagerCore-pv5.0.1.dylib 0x0000000106ceccc5 vtkSMParaViewPipelineController::PostInitializeProxy(vtkSMProxy*) + 517 22 libvtkPVServerManagerRendering-pv5.0.1.dylib 0x0000000109e288b3 vtkSMParaViewPipelineControllerWithRendering::PostInitializeProxy(vtkSMProxy*) + 51 23 libvtkPVServerManagerCore-pv5.0.1.dylib 0x0000000106cec898 vtkSMParaViewPipelineController::UpdateSettingsProxies(vtkSMSession*) + 296 24 libvtkPVServerManagerCore-pv5.0.1.dylib 0x0000000106ce9d74 vtkSMParaViewPipelineController::InitializeSession(vtkSMSession*) + 452 25 libvtkpqCore-pv5.0.1.dylib 0x0000000106688e5c pqServerManagerModel::onConnectionCreated(long long) + 636
On the server, I get
ERROR: In /Users/cory.quammen/src/ParaView-v5.0.0-RC2-source/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 809
vtkSocketCommunicator (0x7fbc2a4e8930): Could not receive tag. 1