pvpython startup crash (5.5.2, Arch Linux)


(Daan Van Vugt) #1

On startup of pvpython it crashes immediately after the update to 5.5.2.
Additionally, my python plugins crash with a similar segmentation fault now.

/tmp  pvpython 360ms  12:16
Fatal Python error: _Py_InitializeCore: main interpreter already initialized

Current thread 0x00007fc73d7fda80 (most recent call first):
[localhost:13525] *** Process received signal ***
[localhost:13525] Signal: Aborted (6)
[localhost:13525] Signal code: (-6)
[localhost:13525] [ 0] /usr/lib/libc.so.6(+0x37e00)[0x7fc7546b6e00]
[localhost:13525] [ 1] /usr/lib/libc.so.6(gsignal+0x10f)[0x7fc7546b6d7f]
[localhost:13525] [ 2] /usr/lib/libc.so.6(abort+0x125)[0x7fc7546a1672]
[localhost:13525] [ 3] /usr/lib/libpython3.7m.so.1.0(+0x68672)[0x7fc74e0ac672]
[localhost:13525] [ 4] /usr/lib/libpython3.7m.so.1.0(+0xcff5c)[0x7fc74e113f5c]
[localhost:13525] [ 5] /usr/lib/libpython3.7m.so.1.0(+0xd367e)[0x7fc74e11767e]
[localhost:13525] [ 6] /usr/lib/libpython3.7m.so.1.0(Py_Main+0x77)[0x7fc74e117a42]
[localhost:13525] [ 7] /usr/lib/libvtkPythonInterpreter-pv5.5.so.1(_ZN20vtkPythonInterpreter6PyMainEiPPc+0x1ed)[0x7fc754e6073d]
[localhost:13525] [ 8] /usr/lib/pvpython(_ZN14ParaViewPython3RunEiiPPc+0x210)[0x55dfd981c610]
[localhost:13525] [ 9] /usr/lib/libc.so.6(__libc_start_main+0xf3)[0x7fc7546a3223]
[localhost:13525] [10] /usr/lib/pvpython(_start+0x2e)[0x55dfd981c19e]
[localhost:13525] *** End of error message ***
fish: Job 1, “pvpython” terminated by signal SIGABRT (Abort)


(Cory Quammen (Kitware)) #2

This problem is likely caused by a regression in Python 3.7. See the discussion at https://gitlab.kitware.com/vtk/vtk/issues/17363. Changing to PYthon 3.7.1 should resolve the crash.


(Daan Van Vugt) #3

Hi Cory,

Thanks for getting back to me, indeed with Python 3.7.1 I do not experience this crash anymore (paraview 5.6.0 on arch linux)

Best,
Daan


(Cory Quammen (Kitware)) #4

Great, thanks for following up!