EGL client-server breaks with Json::RuntimeError
Using instructions from this #18176 (closed) I have compiled pvserver
on a ppc64le machine and I am using ArchLinux on my client machine with 1.
I need to go through some port-forwarding and reverse port skullduggery, but the bottomline is that the setup works for 5.4.1 version but doesn't work for version with 5.5.0. On the client side, I am getting the following error:
Generic Warning: In /build/paraview/src/ParaView-v5.5.0/ParaViewCore/ClientServerCore/Core/vtkPVServerInformation.cxx, line 784
vtkPVServerInformation::GetOGVSupport was deprecated for ParaView 5.5 and will be removed in a future version.
Generic Warning: In /build/paraview/src/ParaView-v5.5.0/ParaViewCore/ClientServerCore/Core/vtkPVServerInformation.cxx, line 797
vtkPVServerInformation::GetAVISupport was deprecated for ParaView 5.5 and will be removed in a future version.
Generic Warning: In /build/paraview/src/ParaView-v5.5.0/ParaViewCore/ClientServerCore/Core/vtkPVServerInformation.cxx, line 784
vtkPVServerInformation::GetOGVSupport was deprecated for ParaView 5.5 and will be removed in a future version.
Generic Warning: In /build/paraview/src/ParaView-v5.5.0/ParaViewCore/ClientServerCore/Core/vtkPVServerInformation.cxx, line 797
vtkPVServerInformation::GetAVISupport was deprecated for ParaView 5.5 and will be removed in a future version.
terminate called after throwing an instance of 'Json::RuntimeError'
what(): * Line 1, Column 1
Syntax error: value, object or array expected.
[avignon:17635] *** Process received signal ***
[avignon:17635] Signal: Aborted (6)
[avignon:17635] Signal code: (-6)
[avignon:17635] [ 0] /usr/lib/libc.so.6(+0x368f0)[0x7f6de19648f0]
[avignon:17635] [ 1] /usr/lib/libc.so.6(gsignal+0x10b)[0x7f6de196486b]
[avignon:17635] [ 2] /usr/lib/libc.so.6(abort+0x129)[0x7f6de194f40e]
[avignon:17635] [ 3] /usr/lib/libstdc++.so.6(+0x8944a)[0x7f6de1f8b44a]
[avignon:17635] [ 4] /usr/lib/libstdc++.so.6(+0x8f9d6)[0x7f6de1f919d6]
[avignon:17635] [ 5] /usr/lib/libstdc++.so.6(+0x8fa13)[0x7f6de1f91a13]
[avignon:17635] [ 6] /usr/lib/libstdc++.so.6(+0x8fc48)[0x7f6de1f91c48]
[avignon:17635] [ 7] /usr/lib/libjsoncpp.so.20(_ZN4Json17throwRuntimeErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x3a)[0x7f6de171089a]
[avignon:17635] [ 8] /usr/lib/libjsoncpp.so.20(_ZN4JsonrsERSiRNS_5ValueE+0xa2)[0x7f6de171bf62]
[avignon:17635] [ 9] /usr/lib/libvtkRenderingOSPRay-pv5.5.so.1(_ZN24vtkOSPRayMaterialLibrary17InternalParseJSONEPKcbPSi+0x52)[0x7f6dcbfaa122]
[avignon:17635] [10] /usr/lib/libvtkRenderingOSPRay-pv5.5.so.1(_ZN24vtkOSPRayMaterialLibrary13InternalParseEPKcb+0x456)[0x7f6dcbfabf26]
[avignon:17635] [11] /usr/lib/libvtkPVServerManagerApplication-pv5.5.so.1(_Z27vtkPVMaterialLibraryCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_Pv+0x6a8)[0x7f6de0cd0f78]
[avignon:17635] [12] /usr/lib/libvtkClientServer-pv5.5.so.1(_ZN26vtkClientServerInterpreter19CallCommandFunctionEPKcP13vtkObjectBaseS1_RK21vtkClientServerStreamRS4_+0x1e1)[0x7f6dd9daa651]
[avignon:17635] [13] /usr/lib/libvtkClientServer-pv5.5.so.1(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x670)[0x7f6dd9daaed0]
[avignon:17635] [14] /usr/lib/libvtkClientServer-pv5.5.so.1(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x5cf)[0x7f6dd9dab6ef]
[avignon:17635] [15] /usr/lib/libvtkClientServer-pv5.5.so.1(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1e)[0x7f6dd9daba4e]
[avignon:17635] [16] /usr/lib/libvtkPVServerImplementationCore-pv5.5.so.1(_ZN16vtkPVSessionCore21ExecuteStreamInternalERK21vtkClientServerStreamb+0xff)[0x7f6ddf0af4af]
[avignon:17635] [17] /usr/lib/libvtkPVServerImplementationCore-pv5.5.so.1(_ZN16vtkPVSessionCore13ExecuteStreamEjRK21vtkClientServerStreamb+0x4c)[0x7f6ddf0af2cc]
[avignon:17635] [18] /usr/lib/libvtkPVServerImplementationCore-pv5.5.so.1(_ZN16vtkPVSessionBase13ExecuteStreamEjRK21vtkClientServerStreamb+0x35)[0x7f6ddf0addc5]
[avignon:17635] [19] /usr/lib/libvtkPVServerManagerCore-pv5.5.so.1(_ZN18vtkSMSessionClient13ExecuteStreamEjRK21vtkClientServerStreamb+0x19f)[0x7f6de40442df]
[avignon:17635] [20] /usr/lib/libvtkPVServerManagerRendering-pv5.5.so.1(_ZN25vtkSMMaterialLibraryProxy11SynchronizeEv+0x297)[0x7f6ddf39c187]
[avignon:17635] [21] /usr/lib/libvtkPVServerManagerCore-pv5.5.so.1(_ZN31vtkSMParaViewPipelineController17InitializeSessionEP12vtkSMSession+0x768)[0x7f6de3fe6468]
[avignon:17635] [22] /usr/lib/libvtkpqCore-pv5.5.so.1(_ZN20pqServerManagerModel19onConnectionCreatedEx+0x31b)[0x7f6de48c681b]
[avignon:17635] [23] /usr/lib/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x886)[0x7f6de27a6606]
[avignon:17635] [24] /usr/lib/libvtkpqCore-pv5.5.so.1(_ZN23pqServerManagerObserver17connectionCreatedEx+0x43)[0x7f6de4906503]
[avignon:17635] [25] /usr/lib/libvtkpqCore-pv5.5.so.1(+0x14c962)[0x7f6de4906962]
[avignon:17635] [26] /usr/lib/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x886)[0x7f6de27a6606]
[avignon:17635] [27] /usr/lib/libvtkGUISupportQt-pv5.5.so.1(+0x37e2c)[0x7f6ddfb36e2c]
[avignon:17635] [28] /usr/lib/libvtkGUISupportQt-pv5.5.so.1(+0x24e89)[0x7f6ddfb23e89]
[avignon:17635] [29] /usr/lib/libvtkCommonCore-pv5.5.so.1(_ZN18vtkCallbackCommand7ExecuteEP9vtkObjectmPv+0x19)[0x7f6ddd99d1c9]
[avignon:17635] *** End of error message ***
The client complains with:
Client connected.
ERROR: In /gpfs/paragon/local/HCRI016/dre03/shared/build/paraview/ParaView-v5.5.0/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 808
vtkSocketCommunicator (0x10008b368f0): Could not receive tag. 1
ERROR: In /gpfs/paragon/local/HCRI016/dre03/shared/build/paraview/ParaView-v5.5.0/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, line 301
vtkTCPNetworkAccessManager (0x10007cf7f20): Some error in socket processing.
I wasn't able to test alternative clients yet, so I am not sure which side id really failing. At the moment I am leaning towards my client side PV.
If you have any thoughts, please advise.