Spack: GetOpenGLInformation() segfaults with master
@utkarsh.ayachit @cory.quammen
Spack spec is the same as in #20345 (closed) but using the intel compiler. We are using a simple pvpython script to render a wavelet -> print information to prove mesa is working -> save a screenshot. Using paraview.simple.GetOpenGLInformation()
now causes a segfault:
Steps to reproduce:
- Build pv master with Spack master using spec from issue mentioned above
- pvpython
import paraview.simple
paraview.simple.GetOpenGLInformation()
Loguru caught a signal: SIGSEGV
Stack trace:
26 0x405999 pvpython() [0x405999]
25 0x2b062b3bf555 __libc_start_main + 245
24 0x405d57 pvpython() [0x405d57]
23 0x2b0620a84962 vtkPythonInterpreter::PyMain(int, char**) + 578
22 0x2b0626732636 Py_Main + 2470
21 0x2b06267135dc PyRun_AnyFileExFlags + 60
20 0x2b0626713696 PyRun_InteractiveLoopFlags + 118
19 0x2b0626713a8f /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/python-3.6.8-aiosonqueh2uanzoehnjd2n3w3p3lg33/lib/libpython3.6m.so.1.0(+0x1efa8f) [0x2b0626713a8f]
18 0x2b06266c4f39 PyEval_EvalCode + 41
17 0x2b06266c58c5 PyEval_EvalCodeEx + 2437
16 0x2b06266cfc43 _PyEval_EvalFrameDefault + 24035
15 0x2b06266c8589 /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/python-3.6.8-aiosonqueh2uanzoehnjd2n3w3p3lg33/lib/libpython3.6m.so.1.0(+0x1a4589) [0x2b06266c8589]
14 0x2b06266c89b2 /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/python-3.6.8-aiosonqueh2uanzoehnjd2n3w3p3lg33/lib/libpython3.6m.so.1.0(+0x1a49b2) [0x2b06266c89b2]
13 0x2b06266cfc43 _PyEval_EvalFrameDefault + 24035
12 0x2b06266c86f4 /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/python-3.6.8-aiosonqueh2uanzoehnjd2n3w3p3lg33/lib/libpython3.6m.so.1.0(+0x1a46f4) [0x2b06266c86f4]
11 0x2b0626616856 _PyCFunction_FastCallDict + 182
10 0x2b0657731478 /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/paraview-develop-3v2osykz2rxcohg3vte25ekt2j6o5v3j/lib64/python3.6/site-packages/paraview/modules/vtkRemotingServerManager.so(+0x68478) [0x2b0657731478]
9 0x2b06226bdd62 vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation*, unsigned int) + 34
8 0x2b06226bdff9 vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) + 377
7 0x2b06225cc69a vtkPVOpenGLInformation::CopyFromObject(vtkObject*) + 266
6 0x2b0631caedc0 vtkOpenGLRenderWindow::Render() + 96
5 0x2b0635537a33 vtkRenderWindow::Render() + 371
4 0x2b0631cab3da vtkOpenGLRenderWindow::Frame() + 1242
3 0x2b0631ca37c5 vtkOpenGLQuadHelper::Render() + 37
2 0x2b06329e8547 /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/mesa-20.2.1-qhoprpxrgzdlzmyp7dzcgnyoyu7c2vb4/lib/libOSMesa.so.8(+0x4d1547) [0x2b06329e8547]
1 0x2b06326272ac /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/mesa-20.2.1-qhoprpxrgzdlzmyp7dzcgnyoyu7c2vb4/lib/libOSMesa.so.8(+0x1102ac) [0x2b06326272ac]
0 0x2b0632645572 /lustre/scratch4/yellow/stam/pilotlight-spack-snow-install/linux-rhel7-broadwell/intel-19.0.4.243/mesa-20.2.1-qhoprpxrgzdlzmyp7dzcgnyoyu7c2vb4/lib/libOSMesa.so.8(+0x12e572) [0x2b0632645572]
( 20.860s) [paraview ] :0 FATL| Signal: SIGSEGV
Segmentation fault
Edited by Ethan Stam