[vtkusers] Trying to build VTK 7.1.1 on CentOS 6 - 'make test' fails

Prentice Bisbal pbisbal at pppl.gov
Thu Jul 20 14:37:47 EDT 2017


I'm a system administrator trying to build VTK 7.1.1 on CentOS 6.9 for 
my users. When I do 'make test', I get a lot of failures. Here's what I 
do to build:

My cmake command:


cmake \
-D CMAKE_INSTALL_PREFIX:PATH=/usr/pppl/vtk/7.1.1 \
-D CMAKE_BUILD_TYPE:STRING=Release \
-D CMAKE_C_COMPILER:PATH=/usr/bin/gcc \
-D CMAKE_CXX_COMPILER:PATH=/usr/bin/g++ \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D BUILD_TESTING=ON \
-D VTK_Group_Imaging=ON \
-D VTK_Group_Qt=ON \
-D VTK_Group_Tk=ON \
-D VTK_WRAP_JAVA=ON \
-D VTK_WRAP_PYTHON=ON \
-D VTK_WRAP_TCL=ON \
../ \
2>&1 | tee cmake.log

After make completes, I do a  'make test', and get a bunch of segfault 
and 'other fault' errors:

make test 2>&1  | tee test.log

$ grep -i fault test.log | head -n 20
208/2232 Test #208: 
vtkCommonComputationalGeometryTcl-TestParametricFunctions 
....................***Exception: SegFault  0.85 sec
209/2232 Test #209: vtkCommonComputationalGeometryTcl-CSpline 
....................................***Exception: SegFault  0.45 sec
210/2232 Test #210: vtkCommonComputationalGeometryTcl-KSpline 
....................................***Exception: SegFault  0.45 sec
211/2232 Test #211: vtkCommonComputationalGeometryTcl-closedSplines 
..............................***Exception: SegFault  0.35 sec
         Start 312: vtkCommonCorePython-TestDefaultArgs
312/2232 Test #312: vtkCommonCorePython-TestDefaultArgs 
..........................................   Passed    0.19 sec
434/2232 Test #434: vtkCommonDataModelTcl-headBone 
...............................................***Exception: SegFault  
0.33 sec
435/2232 Test #435: vtkCommonDataModelTcl-ImplicitSum 
............................................***Exception: SegFault 0.32 sec
436/2232 Test #436: vtkCommonDataModelTcl-PerlinNoise 
............................................***Exception: SegFault 0.31 sec
437/2232 Test #437: vtkCommonDataModelTcl-SelectionLoop 
..........................................***Exception: SegFault 0.21 sec
438/2232 Test #438: vtkCommonDataModelTcl-LineIntersectQuadraticCells 
............................***Exception: SegFault  0.26 sec
439/2232 Test #439: vtkCommonDataModelTcl-quadricCut 
.............................................***Exception: SegFault 0.28 sec
440/2232 Test #440: vtkCommonDataModelTcl-scalarColors 
...........................................***Exception: SegFault 0.35 sec
441/2232 Test #441: vtkCommonDataModelTcl-scalarConn 
.............................................***Exception: SegFault 0.34 sec
442/2232 Test #442: vtkCommonDataModelTcl-TestConvexPointSet 
.....................................***Exception: SegFault  0.31 sec
443/2232 Test #443: vtkCommonDataModelTcl-TestQuadricClustering 
..................................***Exception: SegFault  0.37 sec
444/2232 Test #444: vtkCommonDataModelTcl-TestStructuredGrid 
.....................................***Exception: SegFault  0.34 sec
445/2232 Test #445: vtkCommonDataModelTcl-TestICPTransform 
.......................................***Exception: SegFault  0.39 sec
475/2232 Test #475: vtkCommonTransformsTcl-cylindrical 
...........................................***Exception: SegFault 0.36 sec
476/2232 Test #476: vtkCommonTransformsTcl-spherical 
.............................................***Exception: SegFault 0.32 sec

That's just some of the errors in total, I get ~1800 errors:

$ grep -i fault test.log | wc -l
1830

When I run 'make test', I'm not doing it on my local server. I'm doing 
it on a remote system, that I ssh into with X11 forwarding enabled. I've 
noticed that, at least for the tests at the start, the tests segfault 
when they're drawing on my screen. Could the SSH/X11 forwarding be part 
of the problem? Could it be that I need to use the older OpenGL 
interface on CentOS 6.9? Should I link to Mesa instead?

Thanks for all your help, from a complete newbie to this list.

Prentice





More information about the vtkusers mailing list