hs_err_pidXXXX

I’ve recently installed jogl but everytime I run a jogl program i get a hs_err_pidXXXX.log file. The programs run fine and no errors show up, but the log is created after I close them. Here’s what the log says:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6957a889, pid=6808, tid=7632
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C  [nbicdnt.dll+0x7a889]
#

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

Current thread (0x0082a210):  VMThread [id=7632]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000020

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000000, EDX=0x0015ac00
ESP=0x02bdf344, EBP=0x02bdf3bc, ESI=0x00000000, EDI=0x00000000
EIP=0x6957a889, EFLAGS=0x00010212

Top of Stack: (sp=0x02bdf344)
0x02bdf344:   00000000 0015ac00 02bdf3bc 00000000
0x02bdf354:   7c910570 ffffffff 7c91056d 7c80feff
0x02bdf364:   00090000 00000000 7c80fecf 0015acb4
0x02bdf374:   0016bad0 0015aa8c 7c011a1b 0015acb4
0x02bdf384:   0016bad0 0015aa8c 02bdf370 69596474
0x02bdf394:   0015ac04 00000001 02bdf3b8 00000000
0x02bdf3a4:   00000000 00000000 00000000 0015aa8c
0x02bdf3b4:   00000000 e2450478 02bdfc80 695922a6 

Instructions: (pc=0x6957a889)
0x6957a879:   90 90 90 90 90 90 90 83 ec 3c 53 55 56 57 8b f1
0x6957a889:   8b 4e 20 8b fa 89 7c 24 10 ff 56 2c 8b 54 24 50 


Stack: [0x02ba0000,0x02be0000),  sp=0x02bdf344,  free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [nbicdnt.dll+0x7a889]
C  [nbicdnt.dll+0x922a6]
C  [nbicdnt.dll+0x9c6b4]
C  [ntdll.dll+0x11a7]
C  [ntdll.dll+0x23f31]
C  [kernel32.dll+0x1ca3e]
C  [kernel32.dll+0x1cab6]
C  [MSVCRT.dll+0x29d45]
C  [MSVCRT.dll+0x29e78]
C  [MSVCRT.dll+0x29e90]
V  [jvm.dll+0x123b24]
V  [jvm.dll+0x122ec5]
V  [jvm.dll+0x12306e]
V  [jvm.dll+0x122dd3]
C  [MSVCRT.dll+0x2a3b0]
C  [kernel32.dll+0xb50b]

VM_Operation (0x0a52f838): exit, mode: safepoint, requested by thread 0x0084ba70


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

Java Threads: ( => current thread )
  0x008590f0 JavaThread "DestroyJavaVM" [_thread_blocked, id=2676]
  0x0084ba70 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=7164]
  0x00847ac0 JavaThread "AWT-Shutdown" [_thread_blocked, id=4836]
  0x008460d0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1808]
  0x00830e40 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7716]
  0x0082e0e0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5600]
  0x0082c230 JavaThread "Finalizer" daemon [_thread_blocked, id=6032]
  0x0082ce70 JavaThread "Reference Handler" daemon [_thread_blocked, id=5984]

Other Threads:
=>0x0082a210 VMThread [id=7632]

VM state:at safepoint (shutting down)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x00822580/0x000000e8] Threads_lock - owner thread: 0x0082a210

Heap
 def new generation   total 576K, used 220K [0x22bd0000, 0x22c70000, 0x230b0000)
  eden space 512K,  30% used [0x22bd0000, 0x22bf73b8, 0x22c50000)
  from space 64K, 100% used [0x22c50000, 0x22c60000, 0x22c60000)
  to   space 64K,   0% used [0x22c60000, 0x22c60000, 0x22c70000)
 tenured generation   total 1408K, used 1009K [0x230b0000, 0x23210000, 0x26bd0000)
   the space 1408K,  71% used [0x230b0000, 0x231ac640, 0x231ac800, 0x23210000)
 compacting perm gen  total 8192K, used 2230K [0x26bd0000, 0x273d0000, 0x2abd0000)
   the space 8192K,  27% used [0x26bd0000, 0x26dfd870, 0x26dfda00, 0x273d0000)
    ro space 8192K,  63% used [0x2abd0000, 0x2b0db178, 0x2b0db200, 0x2b3d0000)
    rw space 12288K,  46% used [0x2b3d0000, 0x2b969fa8, 0x2b96a000, 0x2bfd0000)

Dynamic libraries:
0x00400000 - 0x0040c000 	C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe
0x7c900000 - 0x7c9b0000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 	C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 	C:\WINDOWS\system32\RPCRT4.dll
0x77d40000 - 0x77dd0000 	C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 	C:\WINDOWS\system32\GDI32.dll
0x77c10000 - 0x77c68000 	C:\WINDOWS\system32\MSVCRT.dll
0x76390000 - 0x763ad000 	C:\WINDOWS\system32\IMM32.DLL
0x629c0000 - 0x629c9000 	C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 	C:\WINDOWS\system32\USP10.dll
0x6d670000 - 0x6d804000 	C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 	C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000 	C:\Program Files\Java\jre1.5.0_06\bin\hpi.dll
0x76bf0000 - 0x76bfb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d640000 - 0x6d64c000 	C:\Program Files\Java\jre1.5.0_06\bin\verify.dll
0x6d300000 - 0x6d31d000 	C:\Program Files\Java\jre1.5.0_06\bin\java.dll
0x6d660000 - 0x6d66f000 	C:\Program Files\Java\jre1.5.0_06\bin\zip.dll
0x6d000000 - 0x6d167000 	C:\Program Files\Java\jre1.5.0_06\bin\awt.dll
0x73000000 - 0x73026000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x774e0000 - 0x7761d000 	C:\WINDOWS\system32\ole32.dll
0x73760000 - 0x737a9000 	C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 	C:\WINDOWS\system32\DCIMAN32.dll
0x73940000 - 0x73a10000 	C:\WINDOWS\system32\D3DIM700.DLL
0x6d240000 - 0x6d27d000 	C:\Program Files\Java\jre1.5.0_06\bin\fontmanager.dll
0x74720000 - 0x7476b000 	C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000 	C:\WINDOWS\system32\msctfime.ime
0x77fe0000 - 0x77ff1000 	C:\WINDOWS\system32\Secur32.dll
0x76fd0000 - 0x7704f000 	C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 	C:\WINDOWS\system32\COMRes.dll
0x77120000 - 0x771ac000 	C:\WINDOWS\system32\OLEAUT32.dll
0x77c00000 - 0x77c08000 	C:\WINDOWS\system32\VERSION.dll
0x605d0000 - 0x605d9000 	C:\WINDOWS\system32\mslbui.dll
0x6d360000 - 0x6d366000 	C:\Program Files\Java\jre1.5.0_06\bin\jawt.dll
0x10000000 - 0x10065000 	C:\Program Files\Java\jre1.5.0_06\bin\jogl.dll
0x5ed00000 - 0x5edcc000 	C:\WINDOWS\system32\OPENGL32.dll
0x68b20000 - 0x68b40000 	C:\WINDOWS\system32\GLU32.dll
0x69500000 - 0x695e2000 	C:\WINDOWS\system32\nbicdnt.dll
0x5d090000 - 0x5d127000 	C:\WINDOWS\system32\COMCTL32.dll
0x0a810000 - 0x0aad6000 	C:\WINDOWS\system32\msi.dll
0x77f60000 - 0x77fd6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x773d0000 - 0x774d2000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll

VM Arguments:
java_command: C:\Documents and Settings\Owner\Desktop\lesson01.jar
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=.;c:\j2sdk1.4.2_04;C:\lejos/lib/classes.jar;C:\lejos/lib/pcrcxcomm.jar;c:\java;c:\java\imaging.jar;c:\java\portfolio.jar;
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;c:\Python22;C:\Program Files\PC-Doctor\services;C:\Program Files\Sonic\MyDVD;c:\j2sdk1.4.2_04\bin;C:\lejos\bin;C:\Program Files\Subversion\bin;C:\Program Files\Java\jre1.5.0_06\bin
USERNAME=Owner
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 0, AuthenticAMD



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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 490992k(135244k free), swap 1151836k(720076k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0


Thanks for any help

Hmm… what is C:\WINDOWS\system32\nbicdnt.dll ?
That might help you narrow this down.

For the record when I’m debugging in Eclipse I get one of these hs_err_pidXXXX files almost EVERY time I shut down… In that case it appears to be a crash in the debug instrumentation stuff.

The stack trace and the current thread are what to look at. In my debug crashes the current thread was always some thread that seemed to indicate it was used for hooking the debugger into the VM, so I stopped worrying about it being a problem when I released my app.

I can’t think of a videocard maker that has NB in the name. I will be interested to hear who it is. But my guess is that they have a bug in their opengl driver.

Apparently the dll is part of my video card which is S3 Graphics ProSavageDDR (integrated). I tried updating the driver but I still got the log. Any solutions?

Does this happen even with the Gears demo when it is terminated cleanly (by clicking the “close” button on the window)?

If so, this is clearly a bug in your vendor’s OpenGL drivers. I would suggest you contact them and file a bug. More realistically, I think S3’s OpenGL drivers are known to be poor quality. I’d recommend you buy a cheap NVidia card which should provide hugely better performance and functionality.