Login  Register

Not reproductible GL4bcImpl error with shaders program

Posted by tartox on Nov 09, 2016; 12:14pm
URL: https://forum.jogamp.org/Not-reproductible-GL4bcImpl-error-with-shaders-program-tp4037398.html

Hello
I am using ShaderCode to create and link programs and shaders. Everything works fine most of the time.
However, from time to time, the application crashes with these kind of errors:

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 4022  jogamp.opengl.gl4.GL4bcImpl.dispatch_glCompileShader1(IJ)V (0 bytes) @ 0x00007f74f9a380f8 [0x00007f74f9a380c0+0x38]
J 4021 C1 jogamp.opengl.gl4.GL4bcImpl.glCompileShader(I)V (44 bytes) @ 0x00007f74f9a447ac [0x00007f74f9a43de0+0x9cc]

or

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 4300  jogamp.opengl.gl4.GL4bcImpl.dispatch_glLinkProgram1(IJ)V (0 bytes) @ 0x00007fba38f70838 [0x00007fba38f70800+0x38]
J 4299 C1 jogamp.opengl.gl4.GL4bcImpl.glLinkProgram(I)V (44 bytes) @ 0x00007fba38f719b4 [0x00007fba38f70fe0+0x9d4]

I can not reproduce the error, everything works fine most of the time. But in some cases, the application just crashes and the JVM produces this kind of logs.

Have you ever seen this behavior ? How to avoid this ?