Posted by
Drew Hall on
Mar 10, 2014; 9:16pm
URL: https://forum.jogamp.org/Access-violation-Java3d-1-6-0-pre-9-Windows-7-x86-64-tp4031818.html
Hi,
I'm trying to port some company code from J3d 1.5.2 to your 1.6.0 prerelease 9 version backed by JOGL 2.1.4 (thanks for doing this, BTW!).
The same code works fine on Mac OS X 10.9.2 and CentOS 6.5 x86-64. But when I run it on Windows 7 x86-64 in 32-bit mode it fails as soon as it tries to create the J3d display with the following error:
3D [dev] 1.6.0-pre9-daily-experimental daily
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5df6c0c7, pid=4924, tid=2368
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode windows-x86 )
# Problematic frame:
# C 0x5df6c0c7
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\ahall\Projects\SOA\SOAv8.1_140310_dawn_package-win\SOAv8.1_140310_dawn-win\hs_err_pid4924.log
#
# If you would like to submit a bug report, please visit:
#
http://bugreport.sun.com/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
When I dig into the log file it tells me:
Stack: [0x5ddb0000,0x5de00000], sp=0x5ddff274, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x5dcdc0c7
C [jogl_desktop.dll+0xe754]
j jogamp.opengl.gl4.GL4bcImpl.dispatch_glColor4f1(FFFFJ)V+0
j jogamp.opengl.gl4.GL4bcImpl.glColor4f(FFFF)V+53
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
v ~StubRoutines::call_stub
V [jvm.dll+0x13f35a]
V [jvm.dll+0x202c6e]
V [jvm.dll+0x13f525]
V [jvm.dll+0x13f587]
V [jvm.dll+0xeb81f]
V [jvm.dll+0x16059c]
V [jvm.dll+0x160fd7]
V [jvm.dll+0x1a4b79]
C [msvcr100.dll+0x5c556]
C [msvcr100.dll+0x5c600]
C [kernel32.dll+0x1336a]
C [ntdll.dll+0x39f72]
C [ntdll.dll+0x39f45]
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+53
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
j javax.media.j3d.J3dThread.run()V+19
v ~StubRoutines::call_stub
Any ideas? I'll be happy to mail the whole log file to you if needed.
Also, the same application code works fine with 1.5.2 on Windows.
Thanks for your help!
Drew