Surface LIC crashed

Using ParaView-4.2.0-RC1-Linux-64bit is all good. The data is attached simple_pipe_flow_surfaceLIC.tgz (74.7 KB)

My machine info

3.10.0-957.12.1.el7.x86_64

CentOS Linux release 7.8.2003

Intel® Xeon® CPU E5-2640 0 @ 2.50GHz

GPU: Titan V 12GB RAM.

The error info is as:

( 106.169s) [paraview ] vtkShaderProgram.cxx:452 ERR| vtkShaderProgram (0x1470ecc0): 1: #version 150

2: #ifdef GL_ES

3: #ifdef GL_FRAGMENT_PRECISION_HIGH

4: precision highp float;

5: precision highp sampler2D;

6: precision highp sampler3D;

7: #else

8: precision mediump float;

9: precision mediump sampler2D;

10: precision mediump sampler3D;

11: #endif

12: #define texelFetchBuffer texelFetch

13: #define texture1D texture

14: #define texture2D texture

15: #define texture3D texture

16: #else // GL_ES

17: #define highp

18: #define mediump

19: #define lowp

20: #if VERSION == 150

21: #define texelFetchBuffer texelFetch

22: #define texture1D texture

23: #define texture2D texture

24: #define texture3D texture

25: #endif

26: #endif // GL_ES

27: #define varying in

28:

29:

30: /*=========================================================================

31:

32: Program: Visualization Toolkit

33: Module: vtkPolyDataFS.glsl

34:

35: Copyright © Ken Martin, Will Schroeder, Bill Lorensen

36: All rights reserved.

37: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.

38:

39: This software is distributed WITHOUT ANY WARRANTY; without even

40: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR

41: PURPOSE. See the above copyright notice for more information.

42:

43: =========================================================================*/

44: // Template for the polydata mappers fragment shader

45:

46: uniform int PrimitiveIDOffset;

47:

48:

49:

50: // VC position of this fragment

51: //VTK::PositionVC::Dec

52:

53: // Camera prop

54: uniform int cameraParallel;

55:

56:

57: // optional color passed in from the vertex shader, vertexColor

58: uniform bool OverridesColor;

59: uniform float ambientIntensity; // the material ambient

60: uniform float diffuseIntensity; // the material diffuse

61: uniform float opacityUniform; // the fragment opacity

62: uniform vec3 ambientColorUniform; // ambient color

63: uniform vec3 diffuseColorUniform; // diffuse color

64: in vec4 vertexColorVSOutput;

65:

66:

67: // optional surface normal declaration

68: //VTK::Normal::Dec

69:

70: // extra lighting parameters

71: uniform vec3 lightColor0;

72: uniform vec3 lightDirectionVC0; // normalized

73: uniform vec3 lightColor1;

74: uniform vec3 lightDirectionVC1; // normalized

75: uniform vec3 lightColor2;

76: uniform vec3 lightDirectionVC2; // normalized

77: uniform vec3 lightColor3;

78: uniform vec3 lightDirectionVC3; // normalized

79: uniform vec3 lightColor4;

80: uniform vec3 lightDirectionVC4; // normalized

81:

82:

83: // Texture maps

84: //VTK::TMap::Dec

85:

86: // Texture coordinates

87: uniform int uMaskOnSurface;

88: uniform mat3 normalMatrix;

89: in vec3 tcoordVCVSOutput;

90:

91: // picking support

92: //VTK::Picking::Dec

93:

94: // Depth Peeling Support

95: //VTK::DepthPeeling::Dec

96:

97: // clipping plane vars

98: //VTK::Clip::Dec

99:

100: // the output of this shader

101: out vec4 fragOutput0;

102: out vec4 fragOutput1;

103: out vec4 fragOutput2;

104:

105:

106: // Apple Bug

107: //VTK::PrimID::Dec

108:

109: // handle coincident offsets

110: uniform float cCValue;

111:

112: // Value raster

113: //VTK::ValuePass::Dec

114:

115: // surface with edges

116: //VTK::Edges::Dec

117:

118: void main()

119: {

120: // VC position of this fragment. This should not branch/return/discard.

121: //VTK::PositionVC::Impl

122:

123: // Place any calls that require uniform flow (e.g. dFdx) here.

124: //VTK::UniformFlow::Impl

125:

126: // Set gl_FragDepth here (gl_FragCoord.z by default)

127: gl_FragDepth = gl_FragCoord.z + cCValue;

128:

129:

130: // Early depth peeling abort:

131: //VTK::DepthPeeling::PreColor

132:

133: // Apple Bug

134: //VTK::PrimID::Impl

135:

136: //VTK::Clip::Impl

137:

138: //VTK::ValuePass::Impl

139:

140: vec3 ambientColor = ambientIntensity * vertexColorVSOutput.rgb;

141: vec3 diffuseColor = diffuseIntensity * vertexColorVSOutput.rgb;

142: float opacity = opacityUniform * vertexColorVSOutput.a;

143: if (OverridesColor) {

144: ambientColor = ambientColorUniform * ambientIntensity;

145: diffuseColor = diffuseColorUniform * diffuseIntensity; }

146:

147:

148: //VTK::Edges::Impl

149:

150: // Generate the normal if we are not passed in one

151: //VTK::Normal::Impl

152:

153: fragOutput0 = vec4(ambientColor + diffuseColor, opacity);

154: //VTK::Light::Impl

155:

156:

157: vec3 tcoordLIC = normalMatrix * tcoordVCVSOutput;

158: vec3 normN = normalize(normalVCVSOutput);

159: float k = dot(tcoordLIC, normN);

160: tcoordLIC = (tcoordLIC - k*normN);

161: fragOutput1 = vec4(tcoordLIC.x, tcoordLIC.y, 0.0 , gl_FragCoord.z);

162: if (uMaskOnSurface == 0)

163: {

164: fragOutput2 = vec4(tcoordVCVSOutput, gl_FragCoord.z);

165: }

166: else

167: {

168: fragOutput2 = vec4(tcoordLIC.x, tcoordLIC.y, 0.0 , gl_FragCoord.z);

169: }

170:

171:

172: if (fragOutput0.a <= 0.0)

173: {

174: discard;

175: }

176:

177: //VTK::DepthPeeling::Impl

178:

179: //VTK::Picking::Impl

180:

181: // handle coincident offsets

182: //VTK::Coincident::Impl

183: }

( 106.180s) [paraview ] vtkShaderProgram.cxx:453 ERR| vtkShaderProgram (0x1470ecc0): 0(158) : error C1503: undefined variable “normalVCVSOutput”

Loguru caught a signal: SIGSEGV

Stack trace:

47 0x407b6d /old_u/ychen/Downloads/ParaView-5.8.1-MPI-Linux-Python2.7-64bit/bin/paraview() [0x407b6d]

46 0x2aef61209555 __libc_start_main + 245

45 0x4077fd /old_u/ychen/Downloads/ParaView-5.8.1-MPI-Linux-Python2.7-64bit/bin/paraview() [0x4077fd]

44 0x2aef639770b4 QCoreApplication::exec() + 132

43 0x2aef6396e4aa QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 234

42 0x2aef99954e8d /old_u/ychen/Downloads/ParaView-5.8.1-MPI-Linux-Python2.7-64bit/plugins/platforms/…/…/lib/libQt5XcbQpa.so.5(+0xb1e8d) [0x2aef99954e8d]

41 0x2aef639c226a QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 1114

40 0x2aef639c428e QTimerInfoList::activateTimers() + 1118

39 0x2aef6396fc08 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 264

38 0x2aef61bc4f01 QApplication::notify(QObject*, QEvent*) + 577

37 0x2aef61bbdc8c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156

36 0x2aef6399cb7b QObject::event(QEvent*) + 123

35 0x2aef639a8838 QTimer::timerEvent(QTimerEvent*) + 40

34 0x2aef639a8557 QTimer::timeout(QTimer::QPrivateSignal) + 39

33 0x2aef6399bc47 QMetaObject::activate(QObject*, int, int, void**) + 1511

32 0x2aef62b42325 /old_u/ychen/Downloads/ParaView-5.8.1-MPI-Linux-Python2.7-64bit/bin/…/lib/libpqCore-pv5.8.so.1(+0x76325) [0x2aef62b42325]

31 0x2aef62c0fc92 pqView::forceRender() + 114

30 0x2aef6e72a708 vtkSMViewProxy::StillRender() + 328

29 0x2aef64453b95 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 53

28 0x2aef64454adb vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 59

27 0x2aef64454ca5 vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 245

26 0x2aef64faeded vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 29

25 0x2aef64faeabe vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 1198

24 0x2aef64fadffa vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 330

23 0x2aef64fadd05 vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 325

22 0x2aef6c7c06c0 vtkPVRenderViewCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 7456

21 0x2aef6e69592f vtkPVRenderView::StillRender() + 95

20 0x2aef6e6a0797 vtkPVRenderView::Render(bool, bool) + 1623

19 0x2aef6651a270 vtkGenericOpenGLRenderWindow::Render() + 144

18 0x2aef66599d2d vtkOpenGLRenderWindow::Render() + 13

17 0x2aef67b9c52b vtkRenderWindow::Render() + 251

16 0x2aef67b9bf15 vtkRenderWindow::DoStereoRender() + 197

15 0x2aef67bad055 vtkRendererCollection::Render() + 197

14 0x2aef67ba71d7 vtkRenderer::Render() + 1991

13 0x2aef6659c35b vtkOpenGLRenderer::DeviceRender() + 187

12 0x2aef664f32f6 vtkCameraPass::Render(vtkRenderState const*) + 534

11 0x2aef6659e491 vtkOpenGLRenderer::UpdateGeometry(vtkFrameBufferObjectBase*) + 2049

10 0x2aef665a0c31 vtkOpenGLRenderer::DeviceRenderOpaqueGeometry(vtkFrameBufferObjectBase*) + 33

9 0x2aef67ba5216 vtkRenderer::DeviceRenderOpaqueGeometry(vtkFrameBufferObjectBase*) + 86

8 0x2aef6e678c4e vtkPVLODActor::RenderOpaqueGeometry(vtkViewport*) + 78

7 0x2aef6e679680 vtkPVLODActor::Render(vtkRenderer*, vtkMapper*) + 384

6 0x2aef6651d9ae vtkOpenGLActor::Render(vtkRenderer*, vtkMapper*) + 158

5 0x2aef7b8d0aec vtkCompositeSurfaceLICMapper::Render(vtkRenderer*, vtkActor*) + 972

4 0x2aef664fcd74 vtkCompositePolyDataMapper2::Render(vtkRenderer*, vtkActor*) + 4164

3 0x2aef664f626e vtkCompositeMapperHelper2::RenderPieceDraw(vtkRenderer*, vtkActor*) + 206

2 0x2aef664f5f31 vtkCompositeMapperHelper2::DrawIBO(vtkRenderer*, vtkActor*, int, vtkOpenGLHelper&, unsigned int, int) + 113

1 0x2aef66578835 vtkOpenGLPolyDataMapper::UpdateShaders(vtkOpenGLHelper&, vtkRenderer*, vtkActor*) + 1173

0 0x2aef6121d400 /lib64/libc.so.6(+0x36400) [0x2aef6121d400]

( 106.180s) [paraview ] :0 FATL| Signal: SIGSEGV

Please try with a newer version of ParaView : https://www.paraview.org/download/