opengl-shader-builder

Fatal signal 11 and INVALID HEAP ADDRESS IN dlfree error when using glShaderBinary

≯℡__Kan透↙ 提交于 2019-12-05 21:06:23
Device : Samsung Galaxy Note Android version: 4.0.4 My application apply some visual effects to a video stream using OpenGL Shaders. I need to use binary shaders for security reasons. I am using glSurfaceView and SurfaceTexture to access the frame data in OpenGL shaders and using the extension GL_OES_EGL_image_external . This is working fine as far as I am using shader source. When I try to use compiled shader binaries I often get an error A/libc(4242): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) and the program crashes. When It is working when I try to close the app with back key I