jogl crashes in intel965 and vista

My project, which is also available at http://www.ccd.rpi.edu/Eglash/csdt/subcult/brdance/software/dancer.html, was working quite good in all the platforms I’d tried. But I bought a new HP laptop which has Intel 965 as display adapter, and Vista as OS.

I’m getting the following crash message.
Does anyone know about the reason?


#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x05941fa0, pid=2332, tid=6020
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# C  [ig4dev32.dll+0x31fa0]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x04d07000):  JavaThread "AWT-EventQueue-1" [_thread_in_native, id=6020]

siginfo: ExceptionCode=0xc0000005, reading address 0x494d5361

Registers:
EAX=0x746e656d, EBX=0x0036afb0, ECX=0x494d5359, EDX=0x0000005c
ESP=0x04bff494, EBP=0x04bff4b8, ESI=0x002c9588, EDI=0x0000008d
EIP=0x05941fa0, EFLAGS=0x00010202

Top of Stack: (sp=0x04bff494)
0x04bff494:   05916723 0000008d 002c9588 0036afb0
0x04bff4a4:   00010881 00000016 0591778a 0036afb0
0x04bff4b4:   00000055 00000000 00000000 0000005c
0x04bff4c4:   0000008d 4000ffc0 00319b88 04bff538
0x04bff4d4:   4000ffc0 00000020 0000005c 0000008d
0x04bff4e4:   056a52f5 00000055 00000000 00000000
0x04bff4f4:   0000005c 0000008d 00319e1c 00000000
0x04bff504:   00000000 0000005c 0000008d 00000001 

Instructions: (pc=0x05941fa0)
0x05941f90:   8b 49 08 8b 01 ff a0 7c 02 00 00 cc cc cc cc cc
0x05941fa0:   8b 41 08 c3 cc cc cc cc cc cc cc cc cc cc cc cc 


Stack: [0x04bb0000,0x04c00000),  sp=0x04bff494,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ig4dev32.dll+0x31fa0]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.opengl.impl.windows.WGL.SwapBuffers(J)Z+0
j  com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.swapBuffers()V+38
j  com.sun.opengl.impl.GLDrawableHelper.invokeGL(Ljavax/media/opengl/GLDrawable;Ljavax/media/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V+435
j  javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run()V+35
j  java.awt.event.InvocationEvent.dispatch()V+11
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x04fc2800 JavaThread "Timer-0" [_thread_blocked, id=6068]
  0x04d31000 JavaThread "TimerQueue" daemon [_thread_blocked, id=4488]
=>0x04d07000 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=6020]
  0x04ce5c00 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=2728]
  0x04cf9c00 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3772]
  0x012e7000 JavaThread "DestroyJavaVM" [_thread_blocked, id=4716]
  0x04217400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4128]
  0x01b0e000 JavaThread "thread applet-Dancer.class" [_thread_blocked, id=5372]
  0x01b0b400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1244]
  0x01b0b000 JavaThread "AWT-Shutdown" [_thread_blocked, id=1560]
  0x01ade800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2020]
  0x01a5d000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4480]
  0x01a53800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5924]
  0x01a53000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6092]
  0x01a52800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3116]
  0x01a4bc00 JavaThread "Finalizer" daemon [_thread_blocked, id=5584]
  0x01a42c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4888]

Other Threads:
  0x01a41c00 VMThread [id=4968]
  0x01a5e400 WatcherThread [id=4748]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 808K [0x23a00000, 0x23b00000, 0x23ee0000)
  eden space 896K,  83% used [0x23a00000, 0x23aba330, 0x23ae0000)
  from space 64K, 100% used [0x23ae0000, 0x23af0000, 0x23af0000)
  to   space 64K,   0% used [0x23af0000, 0x23af0000, 0x23b00000)
 tenured generation   total 4096K, used 1997K [0x23ee0000, 0x242e0000, 0x27a00000)
   the space 4096K,  48% used [0x23ee0000, 0x240d34c0, 0x240d3600, 0x242e0000)
 compacting perm gen  total 12288K, used 3200K [0x27a00000, 0x28600000, 0x2ba00000)
   the space 12288K,  26% used [0x27a00000, 0x27d200f8, 0x27d20200, 0x28600000)
    ro space 8192K,  66% used [0x2ba00000, 0x2bf4f860, 0x2bf4fa00, 0x2c200000)
    rw space 12288K,  52% used [0x2c200000, 0x2c84f078, 0x2c84f200, 0x2ce00000)

Dynamic libraries:
0x00400000 - 0x00423000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.exe
0x76f20000 - 0x7703e000 	C:\Windows\system32\ntdll.dll
0x75ab0000 - 0x75b88000 	C:\Windows\system32\kernel32.dll
0x75860000 - 0x7591f000 	C:\Windows\system32\ADVAPI32.dll
0x759c0000 - 0x75a83000 	C:\Windows\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\msvcr71.dll
0x6d870000 - 0x6daba000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\client\jvm.dll
0x75920000 - 0x759be000 	C:\Windows\system32\USER32.dll
0x75e20000 - 0x75e6b000 	C:\Windows\system32\GDI32.dll
0x74120000 - 0x74153000 	C:\Windows\system32\WINMM.dll
0x770b0000 - 0x7715a000 	C:\Windows\system32\msvcrt.dll
0x75ba0000 - 0x75ce4000 	C:\Windows\system32\ole32.dll
0x76c10000 - 0x76c9c000 	C:\Windows\system32\OLEAUT32.dll
0x740e0000 - 0x74118000 	C:\Windows\system32\OLEACC.dll
0x75a90000 - 0x75aae000 	C:\Windows\system32\IMM32.DLL
0x76d20000 - 0x76de7000 	C:\Windows\system32\MSCTF.dll
0x75610000 - 0x7563c000 	C:\Windows\system32\apphelp.dll
0x75b90000 - 0x75b99000 	C:\Windows\system32\LPK.DLL
0x757e0000 - 0x7585d000 	C:\Windows\system32\USP10.dll
0x6d3c0000 - 0x6d3c8000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\hpi.dll
0x757d0000 - 0x757d7000 	C:\Windows\system32\PSAPI.DLL
0x6d820000 - 0x6d82c000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\verify.dll
0x6d460000 - 0x6d47f000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.dll
0x6d860000 - 0x6d86f000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\zip.dll
0x6d0b0000 - 0x6d273000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\awt.dll
0x721d0000 - 0x72211000 	C:\Windows\system32\WINSPOOL.DRV
0x74860000 - 0x7489f000 	C:\Windows\system32\uxtheme.dll
0x6d360000 - 0x6d3b3000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\fontmanager.dll
0x6d620000 - 0x6d633000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\net.dll
0x75e70000 - 0x75e9d000 	C:\Windows\system32\WS2_32.dll
0x77040000 - 0x77046000 	C:\Windows\system32\NSI.dll
0x74e70000 - 0x74eab000 	C:\Windows\system32\mswsock.dll
0x74ed0000 - 0x74ed6000 	C:\Windows\System32\wship6.dll
0x6d640000 - 0x6d649000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\nio.dll
0x760b0000 - 0x76b7e000 	C:\Windows\system32\shell32.dll
0x77050000 - 0x770a5000 	C:\Windows\system32\SHLWAPI.dll
0x74560000 - 0x746f4000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll
0x10000000 - 0x1004d000 	C:\Users\hilmi\Projects\dancer\jogl-1.1.0-windows-i586\lib\jogl.dll
0x72570000 - 0x7263b000 	C:\Windows\system32\OPENGL32.dll
0x72670000 - 0x72693000 	C:\Windows\system32\GLU32.dll
0x6e7d0000 - 0x6e8b6000 	C:\Windows\system32\DDRAW.dll
0x6fc80000 - 0x6fc86000 	C:\Windows\system32\DCIMAN32.dll
0x75ea0000 - 0x76028000 	C:\Windows\system32\SETUPAPI.dll
0x72710000 - 0x7271c000 	C:\Windows\system32\dwmapi.dll
0x6d490000 - 0x6d496000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\jawt.dll
0x01520000 - 0x01525000 	C:\Users\hilmi\Projects\dancer\jogl-1.1.0-windows-i586\lib\jogl_awt.dll
0x054e0000 - 0x0572b000 	C:\Windows\system32\ig4icd32.dll
0x05910000 - 0x05a85000 	C:\Windows\system32\ig4dev32.dll

VM Arguments:
jvm_args: -Djava.library.path=jogl-1.1.0-windows-i586\lib -Djava.security.policy=applet.policy
java_command: sun.applet.AppletViewer file:C:/Users/hilmi/Projects/dancer/build/Dancer.html
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Subversion\bin
USERNAME=hilmi
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows Vista Build 6000 

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2086656k(778788k free), swap 4194303k(2309216k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310


Looks like a bug in Intel’s OpenGL drivers for Windows Vista. I’ve pinged Intel about another bug fix they had in progress for us. Send me an email at kbr at dev dot java dot net and I’ll try to put you in touch with Intel to track down what’s going wrong.

Until you hear more from Ken, I would recommend getting the latest driver from Intel. New machines don’t always come with the latest driver already installed.

Yes, you were right. There was an update for the driver. I installed the latest one, but it didn’t help for the problem I have.

Thanks

Ken, have you received my e-mail?

Yes, will forward it to Intel this week.