Login  Register

Re: GLES2 on Windows 7 - RawGL2ES2demo crashes

Posted by Sven Gothel on Apr 10, 2014; 6:59pm
URL: https://forum.jogamp.org/GLES2-on-Windows-7-RawGL2ES2demo-crashes-tp4029816p4032154.html

On 04/10/2014 07:51 PM, ross.vander [via jogamp] wrote:

> I'm not sure if this is the right place to post, but I saw a similar crash on
> ubuntu 12.10 this morning.
>
> this morning I ran the steps listed in the .java file:
>    wget
> http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z
>    7z x jogamp-all-platforms.7z
>    cd jogamp-all-platforms
>    mkdir -p demos/es2
>    cd demos/es2
>    wget
> https://raw.github.com/xranby/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java
>    cd ../..
>    javac -cp jar/jogl-all.jar:jar/gluegen-rt.jar demos/es2/RawGL2ES2demo.java
>    java -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. demos.es2.RawGL2ES2demo
>
> and then saw the below:
>
<snip/>

> Exception in thread "main-AWTAnimator" javax.media.opengl.GLException:
> GL-Error 0x502 while creating mutable storage for target 0x8892 -> buffer 2 of
> size 36 with data java.nio.DirectFloatBufferU[pos=0 lim=9 cap=9]
>         at
> jogamp.opengl.GLBufferObjectTracker.createBufferStorage(GLBufferObjectTracker.java:169)
>
>         at jogamp.opengl.gl4.GL4bcImpl.glBufferData(GL4bcImpl.java:37407)
>         at demos.es2.RawGL2ES2demo.display(RawGL2ES2demo.java:516)

Reproduced ..

Thank you, we will look at it.

~Sven


signature.asc (894 bytes) Download Attachment