ParaView Visualizer segmentation fault when starting up

Hi.

I am trying to use ParaView 5.12.0-osmesa on an Ubuntu 22.04 machine. Specifically I am attempting to start the ParaView web visualizer using ‘./pvpython -m paraview.apps.visualizer’. Upon running this command, all that I receive in console is error: exception occurred: Segmentation fault

Doing some digging into the Python libraries I find the last function call before the segmentation fault occurs when calling ‘<built-in method StillRender of paraview.modules.vtkRemotingViews.vtkSMRenderViewProxy object at 0x7facc7c546a0>’

This function is inside of the vtkRemotingViews.so file and I am unable to debug or try to trace the error any further.

I have tried other versions of ParaView including the full 5.12.0 binary as well as 5.10.
I am able to run this exact same ParaView 5.12.0-osmesa visualizer on a seperate linux server with no issues whatsoever, so I’m not sure if I am simply missing some package that needs to be installed? But I have attempted to find a complete list of required dependencies and have been unable to do so.

Any help would be appreciated. Thank you!

I do remember something about our ParaView osmesa bundle having an issue. I don’t know if that got fixed, but you should try either 5.11 or 5.13. And nowadays, you can even use the EGL version on a non gpu system.

I think it was the OpenCascade reader that was linking against X or something. @mwestphal may remember the details.

I’m afraid that doesn’t ring a bell, what are you referring too ?

Thank you for the responses!
Unfortunately after trying ParaView 5.13 and 5.11, I run into the same Segmentation fault error on each of the binaries.

[lindavsedge1:736765] *** Process received signal ***
[lindavsedge1:736765] Signal: Segmentation fault (11)
[lindavsedge1:736765] Signal code: Address not mapped (1)
[lindavsedge1:736765] Failing at address: 0x968
[lindavsedge1:736765] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f79eff3d520]
[lindavsedge1:736765] [ 1] /lib/x86_64-linux-gnu/libX11.so.6(XSync+0x1d)[0x7f79e3ffb74d]
[lindavsedge1:736765] [ 2] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRenderingUI-pv5.12.so.1(_ZN26vtkXRenderWindowInteractor10InitializeEv+0xee)[0x7f79e727df0e]
[lindavsedge1:736765] [ 3] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRenderingCore-pv5.12.so.1(_ZN15vtkRenderWindow6RenderEv+0x268)[0x7f79e65254c8]
[lindavsedge1:736765] [ 4] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRenderingOpenGL2-pv5.12.so.1(_ZN21vtkOpenGLRenderWindow6RenderEv+0xbb)[0x7f79e745467b]
[lindavsedge1:736765] [ 5] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRenderingOpenGL2-pv5.12.so.1(_ZN22vtkXOpenGLRenderWindow6RenderEv+0x37)[0x7f79e74fc337]
[lindavsedge1:736765] [ 6] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingViews-pv5.12.so.1(_ZN15vtkPVRenderView6RenderEbb+0x9c7)[0x7f79ea1e88a7]
[lindavsedge1:736765] [ 7] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingViews-pv5.12.so.1(_ZN15vtkPVRenderView11StillRenderEv+0x79)[0x7f79ea1da8d9]
[lindavsedge1:736765] [ 8] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingApplication-pv5.12.so.1(_Z22vtkPVRenderViewCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_Pv+0x1bb0)[0x7f79eece9280]
[lindavsedge1:736765] [ 9] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingClientServerStream-pv5.12.so.1(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x4ad)[0x7f79ee14218d]
[lindavsedge1:736765] [10] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingClientServerStream-pv5.12.so.1(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0xed)[0x7f79ee1422ed]
[lindavsedge1:736765] [11] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingClientServerStream-pv5.12.so.1(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x7d)[0x7f79ee14289d]
[lindavsedge1:736765] [12] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingServerManager-pv5.12.so.1(_ZN16vtkPVSessionCore21ExecuteStreamInternalERK21vtkClientServerStreamb+0x157)[0x7f79ee67e607]
[lindavsedge1:736765] [13] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingServerManager-pv5.12.so.1(_ZN16vtkPVSessionBase13ExecuteStreamEjRK21vtkClientServerStreamb+0x91)[0x7f79ee67c8d1]
[lindavsedge1:736765] [14] /home/DEV.LOCAL/pope/development/testing/paraview-build/bin/../lib/libvtkRemotingViews-pv5.12.so.1(_ZN14vtkSMViewProxy11StillRenderEv+0x1c8)[0x7f79ea2a4358]
[lindavsedge1:736765] [15] /home/DEV.LOCAL/pope/development/testing/paraview-build/lib/python3.10/site-packages/paraview/modules/vtkRemotingViews.so(+0x210495)[0x7f79cdd0f495]
[lindavsedge1:736765] [16] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x128008)[0x7f79ecd3f008]
[lindavsedge1:736765] [17] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyObject_Call+0x5c)[0x7f79eccf8fec]
[lindavsedge1:736765] [18] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyEval_EvalFrameDefault+0x4b16)[0x7f79ecc8d776]
[lindavsedge1:736765] [19] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x1c23af)[0x7f79ecdd93af]
[lindavsedge1:736765] [20] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0xe23d8)[0x7f79eccf93d8]
[lindavsedge1:736765] [21] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyEval_EvalFrameDefault+0x9d68)[0x7f79ecc929c8]
[lindavsedge1:736765] [22] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x1c23af)[0x7f79ecdd93af]
[lindavsedge1:736765] [23] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyEval_EvalFrameDefault+0x9d68)[0x7f79ecc929c8]
[lindavsedge1:736765] [24] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x1c23af)[0x7f79ecdd93af]
[lindavsedge1:736765] [25] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyObject_FastCallDictTstate+0xd6)[0x7f79eccf8c76]
[lindavsedge1:736765] [26] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyObject_Call_Prepend+0xe0)[0x7f79eccf8e10]
[lindavsedge1:736765] [27] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x14f0fe)[0x7f79ecd660fe]
[lindavsedge1:736765] [28] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x14388e)[0x7f79ecd5a88e]
[lindavsedge1:736765] [29] /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyObject_MakeTpCall+0x8c)[0x7f79eccf6adc]
[lindavsedge1:736765] *** End of error message ***
Segmentation fault (core dumped)

This is the full error message I am receiving after building ParaView with the debug flags set and running the Visualizer.