[Paraview] Segmentation fault from ProgrammableFilter/Source

Gerrit Laube gerrit.laube at ufz.de
Tue Aug 20 10:50:34 EDT 2013


Hi,

I'm trying to do some batched postprocessing on a unix cluster using 
pvbatch/pvpython from Paraview3.14 with OSMesa. Unfortunately, I end up 
with an error (see bottom of mail). I could narrow it down to this 
minimal example:

from paraview.simple import *
programmableSource1 = ProgrammableSource()
programmableSource1.Script = 'print "foo"'
UpdatePipeline()

This works on the same machine with the ParaView-4.0.1-Linux-64bit 
superbuild but not with the mentioned PV3.14 that was build on our 
server. Unfortunately, I need this ParaView version for 
off-screen-Rendering.

Any Ideas, why the programmable source and filter are not working while 
other filters do?

Thanks,

Gerrit

Error messages:

 > pvpython ../traveltime_pv314.py
foo
Segmentation fault

 > pvbatch ../traveltime_pv314.py
foo

pvbatch:17177 terminated with signal 11 at PC=2b9e6e232d31 
SP=7fff12313a00.  Backtrace:
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyDict_GetItem+0x31)[0x2b9e6e232d31]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyFrame_New+0x53)[0x2b9e6e21e393]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x79)[0x2b9e6e298539]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0[0x2b9e6e21efd2]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyObject_Call+0x68)[0x2b9e6e1f18f8]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyObject_CallFunctionObjArgs+0x161)[0x2b9e6e1f3bf1]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyObject_ClearWeakRefs+0x2d9)[0x2b9e6e25d959]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0[0x2b9e6e202353]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0[0x2b9e6e24b6a3]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0[0x2b9e6e202423]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0[0x2b9e6e2058a6]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0[0x2b9e6e230b73]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyDict_SetItem+0x73)[0x2b9e6e231ae3]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(_PyModule_Clear+0x138)[0x2b9e6e2367d8]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(PyImport_Cleanup+0x4b5)[0x2b9e6e2ace25]
/usr/local/python/2.7.1/lib/libpython2.7.so.1.0(Py_EndInterpreter+0x52)[0x2b9e6e2ba992]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVPythonInterpretor.so(_ZN22vtkPVPythonInterpretorD1Ev+0x5b)[0x2b9e6d83009b]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVPythonInterpretor.so(_ZN22vtkPVPythonInterpretorD0Ev+0x9)[0x2b9e6d830239]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVClientServerCore.so(_ZN35vtkPythonProgrammableFilterObserver7ExecuteEP9vtkObjectmPv+0x16)[0x2b9e60229ae6]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkCommon.so.pv3.14[0x2b9e6dbbedb2]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVServerImplementation.so(_ZN16vtkPVSessionBaseD2Ev+0x4b)[0x2b9e5f4df16b]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVServerManager.so(_ZN12vtkSMSessionD0Ev+0x9)[0x2b9e5ed53d69]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVClientServerCore.so(_ZNSt8_Rb_treeIxSt4pairIKx15vtkSmartPointerI10vtkSessionEESt10_Select1stIS5_ESt4lessIxESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E+0x20e)[0x2b9e602113be]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVClientServerCore.so(_ZN16vtkProcessModule8FinalizeEv+0x26)[0x2b9e6020e0f6]
/data/ogs/paraview_3.14.1_python_osmesa/paraview_py_newMPI/bin/libvtkPVServerManager.so(_ZN23vtkInitializationHelper8FinalizeEv+0xe)[0x2b9e5ecba2fe]
pvbatch(_ZN14ParaViewPython3RunEiiPPc+0x172)[0x402142]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3d05e1d9c4]
pvbatch(__gxx_personality_v0+0xb9)[0x401c79]


More information about the ParaView mailing list