Login  Register

Re: GLCanvas problem with JOGL 2.0 RC4 on OSX Snow Leopard (32-bit VM)

Posted by Sven Gothel on Dec 14, 2011; 3:12pm
URL: https://forum.jogamp.org/GLCanvas-problem-with-JOGL-2-0-RC4-on-OSX-Snow-Leopard-32-bit-VM-tp3585628p3585722.html

On Wednesday, December 14, 2011 03:40:16 PM andrade [via jogamp] wrote:

>
> Hi,
>
> I'm upgrading the Agile2D library to JOGL 2.0 RC4 and I'm testing it in many
> platforms.
> When testing it on OSX Snow Leopard 10.6.8, JOGL won't work when using
> GLCanvas with a 32-bit VM (I've tested it in more than one machine).
> I've pasted below the output of the errors when trying to launch the GEARS
> example.
> Note that GLCanvas works fine with a 64-bit VM and GLJPanel works fine with
> both 32 and 64 VM.

Thank you.

Can you file a bugreport on https://jogamp.org/bugzilla/ ?

I work on fixes for OS X these days anyways, hence I hope I can add this one
to my list.

Is there a use case for the 32bit JVM on OS X ?

~Sven

>
> Any ideas?
> Thanks in advance!
>
> Rodrigo
> (I can post the longer output with debug flags if it may help)
>
> ******************
> Exception in thread "main-AWTAnimator-1" java.lang.IndexOutOfBoundsException
> at java.nio.Buffer.checkIndex(Buffer.java:518)
> at java.nio.DirectByteBuffer.getLong(DirectByteBuffer.java:760)
> at com.jogamp.common.nio.StructAccessor.getLongAt(StructAccessor.java:169)
> at
> jogamp.nativewindow.jawt.macosx.JAWT_MacOSXDrawingSurfaceInfo.getCocoaViewRef(JAWT_MacOSXDrawingSurfaceInfo.java:53)
> at
> jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow.lockSurfaceImpl(MacOSXJAWTWindow.java:173)
> at jogamp.nativewindow.jawt.JAWTWindow.lockSurface(JAWTWindow.java:278)
> at jogamp.opengl.GLDrawableImpl.lockSurface(GLDrawableImpl.java:195)
> at jogamp.opengl.GLDrawableImpl.setRealized(GLDrawableImpl.java:156)
> at javax.media.opengl.awt.GLCanvas.validateGLDrawable(GLCanvas.java:573)
> at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:394)
> at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:74)
> at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:142)
> at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:176)
> at java.lang.Thread.run(Thread.java:680)
> Invalid memory access of location 0x15c eip=0x371c63
> Bus error
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/GLCanvas-problem-with-JOGL-2-0-RC4-on-OSX-Snow-Leopard-32-bit-VM-tp3585628p3585628.html
> To start a new topic under jogl, email [hidden email]
> To unsubscribe from jogl, visit