Skip to content

osmesa binary release crash on rendering with recent glibc

osmesa binary release crash on rendering on ArchLinux

Steps to reproduce:

  • Use up-to-date Arch Linux (not reproduced on Ubuntu as well, depending on libc version, see below)
  • Download and extract ParaView OSMESA binary release (>= 5.10, nightly included, not reproduced with 5.9)
  • ./bin/pvpython
  from paraview.simple import *
  Sphere()
  Show()
  Render()
  • segfault
Loguru caught a signal: SIGSEGV
Stack trace:
43            0x401de9 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/pvpython-real() [0x401de9]
42      0x7f5ee1e4ed8a __libc_start_main + 138
41      0x7f5ee1e4ecd0 /usr/lib/libc.so.6(+0x27cd0) [0x7f5ee1e4ecd0]
40            0x402446 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/pvpython-real() [0x402446]
39      0x7f5edee0a3f4 vtkPythonInterpreter::PyMain(int, char**) + 916
38      0x7f5edca38e84 Py_RunMain + 2340
37      0x7f5edca14f9e PyRun_AnyFileExFlags + 62
36      0x7f5edca146f6 PyRun_InteractiveLoopFlags + 134
35      0x7f5edca14438 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0x214438) [0x7f5edca14438]
34      0x7f5edca12af5 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0x212af5) [0x7f5edca12af5]
33      0x7f5edc9cdf8b PyEval_EvalCode + 27
32      0x7f5edc9cdf5e PyEval_EvalCodeEx + 62
31      0x7f5edc9cdf12 _PyEval_EvalCodeWithName + 82
30      0x7f5edc9cdb79 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0x1cdb79) [0x7f5edc9cdb79]
29      0x7f5edc86e24b _PyEval_EvalFrameDefault + 22235
28      0x7f5edc867667 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0x67667) [0x7f5edc867667]
27      0x7f5edc86ebd0 _PyEval_EvalFrameDefault + 24672
26      0x7f5edc868757 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0x68757) [0x7f5edc868757]
25      0x7f5edc8c8e43 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0xc8e43) [0x7f5edc8c8e43]
24      0x7f5edc8c5571 _PyFunction_Vectorcall + 177
23      0x7f5edc9cdb79 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0x1cdb79) [0x7f5edc9cdb79]
22      0x7f5edc86a869 _PyEval_EvalFrameDefault + 7417
21      0x7f5edc8c53ea _PyObject_Call + 90
20      0x7f5edc92033b /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/libpython3.9.so.1.0(+0x12033b) [0x7f5edc92033b]
19      0x7f5e7f1c7414 /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/lib/python3.9/site-packages/paraview/modules/vtkRemotingViews.so(+0x1c7414) [0x7f5e7f1c7414]
18      0x7f5ed6ab032a vtkSMViewProxy::StillRender() + 330
17      0x7f5edfccdd35 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 53
16      0x7f5edfccf01b vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 59
15      0x7f5edfccf1e2 vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 242
14      0x7f5edea11b0d vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 29
13      0x7f5edea1186e vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 1294
12      0x7f5edea1113d vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 1229
11      0x7f5edea10973 vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 355
10      0x7f5ee09bee00 vtkPVRenderViewCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 8528
9       0x7f5ed69ecee1 vtkPVRenderView::StillRender() + 97
8       0x7f5ed69fa3ea vtkPVRenderView::Render(bool, bool) + 2250
7       0x7f5eb6f55ab1 vtkOpenGLRenderWindow::Render() + 81
6       0x7f5eaf95f425 vtkRenderWindow::Render() + 741
5       0x7f5eb6f528d9 vtkOpenGLRenderWindow::Start() + 297
4       0x7f5eb6f4d2ad vtkOpenGLRenderWindow::OpenGLInit() + 13
3       0x7f5eb6f535ed vtkOpenGLRenderWindow::OpenGLInitContext() + 61
2       0x7f5eb666ead6 vtkglew_glewInit + 630
1       0x7f5eb665847a /home/glow/dev/paraview/others/ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/../lib/../lib/libvtkglew-pv5.11.so.1(+0x5847a) [0x7f5eb665847a]
0       0x7f5ee1e65710 /usr/lib/libc.so.6(+0x3e710) [0x7f5ee1e65710]
(  16.402s) [paraview        ]                       :0     FATL| Signal: SIGSEGV
error: exception occurred: Segmentation fault

Unable to reproduce with a local build using my system libOSMesa.so

Edited by Aron Helser
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information