Can't run Java 3D 1.6

puybaret

Junior Member
Hi,

I'm the developer of Sweet Home 3D, an interior design application developed in Java.
This application requires Java3D technology for its 3D part. Until recently, I used Java3D 1.5.2 under Windows and Linux, but would like to upgrade to Java3D 1.6 which is implemented quite differently with JogAmp. Sweet Home 3D + Java3D 1.6 works correctly under Mac OS X, but crashes under Windows, when run in Parallels Desktop. As the JogAmp team is convinced that it's a driver issue, I hope you can fix this issue because I use very often Parallels Desktop to test Sweet Home 3D under Windows with my iMac which is my main computer.
To help you fix it, I created a simple Jar executable that reproduces this issue. Install Java (any version) under Windows / Parallels Desktop, and run the jar application by double-clicking on it. This application should display a window showing 3 faces of a cube similar to this image:

CubeSidesYX.gif


but in my case, it crashes issuing a hs_err_pidxxxx log file that contains the following information:
----------------------
Stack: [0x000000001d710000,0x000000001d810000], sp=0x000000001d80f010, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [prl_gldd.dll+0x134d9]
C 0x00000000027c5e34

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j jogamp.opengl.gl4.GL4bcImpl.dispatch_glColor4f1(FFFFJ)V+0
j jogamp.opengl.gl4.GL4bcImpl.glColor4f(FFFF)V+47
j javax.media.j3d.JoglPipeline.resetColoringAttributes(Ljavax/media/j3d/Context;FFFFZ)V+28
j javax.media.j3d.Canvas3D.resetColoringAttributes(Ljavax/media/j3d/Context;FFFFZ)V+12
j javax.media.j3d.Canvas3D.resetImmediateRendering()V+131
j javax.media.j3d.Renderer.doWork(J)V+3824
j javax.media.j3d.J3dThread.run()V+19
v ~StubRoutines::call_stub
----------------------

Hope this will help to fix this bug.

For your information, until recently, it used to crash also under Ubuntu 14.04 when run in Parallels Desktop, but it's not the case anymore. Encouraging! ;)

Thanks for your support
--
Emmanuel Puybaret
 
Hello, I'm looking for an answer to the same problem. Running Parallels 10 on Mac OS X 9. After upgrading source code to the latest Java 3D and JogAmp, my OpenGl code fails with an extremely similar pro_gldd.dll problem. Same code works fine on a real Windows box. This is a clear failure of Parallels, because I cannot rely on my Windows VM in Parallels to behave identically to a real Windows installation. Does anyone know if there any way to look up the problem report status by the ID number you gave above? Thanks.
 
glColor4f() is likely being called without current context set in the thread. Normally Microsoft openlgl32.dll trampolines would have provided the safety net, but not for the case where driver API is used directly via GetProcAddress().
 
Back
Top