• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1565
  • Last Modified:

JVM related hs_err_pidxxxx log messages

Have seen some log files manifest themselves on my desktop. All of them have names start with hs_err_pid and then a number. All of them say something about the Java Virtual Machine and then a long list of processes.
I also notice that there is almost always a line in the log file about AWT or some media framework.

I have JRE 1.5.0_12. I run an application which is based on Java Applets and my OS is WIN XP SP2.

One sample hs_err_pidxxxx is pasted below the dashed line.Can anyone help this case?

# An unexpected error has been detected by HotSpot Virtual Machine:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5e040977, pid=3392, tid=3784
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode, sharing)
# Problematic frame:
# C  [ksproxy.ax+0x10977]

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

Current thread (0x00e1e5a8):  VMThread [id=3784]

siginfo: ExceptionCode=0xc0000005, reading address 0x05190370

EAX=0x05190370, EBX=0x033aacc8, ECX=0x00e5c420, EDX=0x0343e750
ESP=0x00d8fa48, EBP=0x00d8fa54, ESI=0x044a1910, EDI=0x00e5c414
EIP=0x5e040977, EFLAGS=0x00010207

Top of Stack: (sp=0x00d8fa48)
0x00d8fa48:   00e5c350 00000000 7c809b47 00d8fa70
0x00d8fa58:   5e0347a2 00e6d8f0 00e5c350 00e5c350
0x00d8fa68:   00000000 00000000 00d8fa7c 5e0378d6
0x00d8fa78:   00e5c358 00d8fa90 5e0475fa 00000001
0x00d8fa88:   00e5c35c 00e5c35c 00d8fa9c 5e04d227
0x00d8fa98:   00e5c350 00d8fab4 7482baa4 00e5c35c
0x00d8faa8:   00e5c798 7482ba71 00e5bab8 00d8fae4
0x00d8fab8:   7482ba55 00000001 00e5bab8 00e5bb70

Instructions: (pc=0x5e040977)
0x5e040967:   98 00 00 53 8b cf 8b f0 e8 c4 98 00 00 8b 46 20
0x5e040977:   8b 08 50 ff 51 08 56 e8 87 a5 00 00 8b 5d 08 85

Stack: [0x00d50000,0x00d90000),  sp=0x00d8fa48,  free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ksproxy.ax+0x10977]
C  [ksproxy.ax+0x47a2]
C  [ksproxy.ax+0x78d6]
C  [ksproxy.ax+0x175fa]
C  [ksproxy.ax+0x1d227]
C  [quartz.dll+0x1baa4]
C  [quartz.dll+0x1ba55]
C  [quartz.dll+0x38894]
C  [quartz.dll+0x38fc7]
C  [quartz.dll+0x38ef6]
C  [quartz.dll+0x1a3c8]
C  [quartz.dll+0x16f9e]
C  [qcap.dll+0x17314]
C  [qcap.dll+0x577d]
C  [qcap.dll+0x1f73f]
C  [qcap.dll+0x17152]
C  [qcap.dll+0x577d]
C  [qcap.dll+0x1f73f]
C  [vfwwdm32.dll+0x8c40]
C  [vfwwdm32.dll+0x2765]
C  [WINMM.dll+0x31f1]
C  [WINMM.dll+0x3140]
C  [WINMM.dll+0x38e9]
C  [WINMM.dll+0x38a9]
C  [AVICAP32.dll+0xb8cb]
C  [ntdll.dll+0x11a7]
C  [ntdll.dll+0x23f31]
C  [kernel32.dll+0x1cd76]
C  [kernel32.dll+0x1cdee]
C  [MSVCRT.dll+0x29d45]
C  [MSVCRT.dll+0x29e78]
C  [MSVCRT.dll+0x29e90]
V  [jvm.dll+0x12b185]
V  [jvm.dll+0x12a4dc]
V  [jvm.dll+0x12a685]
V  [jvm.dll+0x12a3ea]
C  [MSVCRT.dll+0x2a3b0]
C  [kernel32.dll+0xb683]

VM_Operation (0x038cf400): exit, mode: safepoint, requested by thread 0x032c4c28

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

Java Threads: ( => current thread )
  0x033f7728 JavaThread "Loop thread: com.sun.media.renderer.video.GDIRenderer@26dfcc" [_thread_blocked, id=3544]
  0x03400a40 JavaThread "Loop thread: com.sun.media.parser.RawBufferParser$FrameTrack@1d81ec9" [_thread_blocked, id=3368]
  0x00e6e4f8 JavaThread "Loop thread" [_thread_blocked, id=1036]
  0x033e4230 JavaThread "VFW TransferDataThread" [_thread_blocked, id=640]
  0x033e4008 JavaThread "VFW VideoPollThread" [_thread_blocked, id=3412]
  0x033c3488 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" [_thread_blocked, id=2732]
  0x033dde10 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" [_thread_blocked, id=992]
  0x033d2858 JavaThread "VFW Request Thread" [_thread_blocked, id=3712]
  0x00e77410 JavaThread "Thread-8" [_thread_blocked, id=3148]
  0x00e77288 JavaThread "Thread-13" [_thread_blocked, id=4000]
  0x032ef200 JavaThread "Thread-12" [_thread_blocked, id=3624]
  0x0449fcf0 JavaThread "Thread-11" daemon [_thread_blocked, id=4020]
  0x032f1630 JavaThread "Thread-10" daemon [_thread_in_native, id=412]
  0x032e9680 JavaThread "TimerQueue" daemon [_thread_blocked, id=1392]
  0x00357d98 JavaThread "DestroyJavaVM" [_thread_blocked, id=3708]
  0x032e0910 JavaThread "ConsoleWriterThread" daemon [_thread_blocked, id=2664]
  0x032c4c28 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3232]
  0x03289ff8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4044]
  0x00eaf300 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=2784]
  0x00eac150 JavaThread "AWT-Shutdown" [_thread_blocked, id=804]
  0x00e53cc0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1696]
  0x00355bf0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3628]
  0x00e20c50 JavaThread "Finalizer" daemon [_thread_blocked, id=3788]
  0x00e1f7d0 JavaThread "Reference Handler" daemon [_thread_blocked, id=2728]

Other Threads:
=>0x00e1e5a8 VMThread [id=3784]

VM state:at safepoint (shutting down)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x00356b60/0x00000720] Threads_lock - owner thread: 0x00e1e5a8

 def new generation   total 2560K, used 172K [0x06eb0000, 0x07170000, 0x09610000)
  eden space 2304K,   7% used [0x06eb0000, 0x06edb218, 0x070f0000)
  from space 256K,   0% used [0x070f0000, 0x070f0000, 0x07130000)
  to   space 256K,   0% used [0x07130000, 0x07130000, 0x07170000)
 tenured generation   total 32432K, used 19458K [0x09610000, 0x0b5bc000, 0x26eb0000)
   the space 32432K,  59% used [0x09610000, 0x0a910950, 0x0a910a00, 0x0b5bc000)
 compacting perm gen  total 8192K, used 7014K [0x26eb0000, 0x276b0000, 0x2aeb0000)
   the space 8192K,  85% used [0x26eb0000, 0x275898d0, 0x27589a00, 0x276b0000)
    ro space 8192K,  63% used [0x2aeb0000, 0x2b3c0590, 0x2b3c0600, 0x2b6b0000)
    rw space 12288K,  46% used [0x2b6b0000, 0x2bc521b0, 0x2bc52200, 0x2c2b0000)

Dynamic libraries:
0x00400000 - 0x0040d000       C:\Program Files\Java\jre1.5.0_12\bin\javaw.exe
0x7c900000 - 0x7c9b0000       C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f5000       C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000       C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000       C:\WINDOWS\system32\RPCRT4.dll
0x7e410000 - 0x7e4a0000       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
0x6d640000 - 0x6d7dd000       C:\Program Files\Java\jre1.5.0_12\bin\client\jvm.dll
0x76b40000 - 0x76b6d000       C:\WINDOWS\system32\WINMM.dll
0x6c100000 - 0x6c115000       C:\WINDOWS\system32\o2ca_wav.dll
0x6c0c0000 - 0x6c0dd000       C:\WINDOWS\system32\o2ca_usr.dll
0x76bf0000 - 0x76bfb000       C:\WINDOWS\system32\PSAPI.DLL
0x6c080000 - 0x6c08b000       C:\WINDOWS\system32\o200board.dll
0x6c0e0000 - 0x6c0ec000       C:\WINDOWS\system32\o2ca_mix.dll
0x6d290000 - 0x6d298000       C:\Program Files\Java\jre1.5.0_12\bin\hpi.dll
0x6d610000 - 0x6d61c000       C:\Program Files\Java\jre1.5.0_12\bin\verify.dll
0x6d310000 - 0x6d32d000       C:\Program Files\Java\jre1.5.0_12\bin\java.dll
0x6d630000 - 0x6d63f000       C:\Program Files\Java\jre1.5.0_12\bin\zip.dll
0x6d000000 - 0x6d16a000       C:\Program Files\Java\jre1.5.0_12\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
0x74720000 - 0x7476b000       C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000       C:\WINDOWS\system32\msctfime.ime
0x6d1f0000 - 0x6d203000       C:\Program Files\Java\jre1.5.0_12\bin\deploy.dll
0x42c10000 - 0x42cdf000       C:\WINDOWS\system32\WININET.dll
0x77f60000 - 0x77fd6000       C:\WINDOWS\system32\SHLWAPI.dll
0x03510000 - 0x03519000       C:\WINDOWS\system32\Normaliz.dll
0x42990000 - 0x429d5000       C:\WINDOWS\system32\iertutil.dll
0x42cf0000 - 0x42e14000       C:\WINDOWS\system32\urlmon.dll
0x77120000 - 0x771ab000       C:\WINDOWS\system32\OLEAUT32.dll
0x7c9c0000 - 0x7d1d5000       C:\WINDOWS\system32\SHELL32.dll
0x77a80000 - 0x77b14000       C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000       C:\WINDOWS\system32\MSASN1.dll
0x773d0000 - 0x774d3000       C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5d090000 - 0x5d12a000       C:\WINDOWS\system32\comctl32.dll
0x6d5c0000 - 0x6d5e5000       C:\Program Files\Java\jre1.5.0_12\bin\RegUtils.dll
0x77c00000 - 0x77c08000       C:\WINDOWS\system32\VERSION.dll
0x7d1e0000 - 0x7d49e000       C:\WINDOWS\system32\msi.dll
0x6d240000 - 0x6d290000       C:\Program Files\Java\jre1.5.0_12\bin\fontmanager.dll
0x6d4d0000 - 0x6d4e3000       C:\Program Files\Java\jre1.5.0_12\bin\net.dll
0x71ab0000 - 0x71ac7000       C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000       C:\WINDOWS\system32\WS2HELP.dll
0x6d4f0000 - 0x6d4f9000       C:\Program Files\Java\jre1.5.0_12\bin\nio.dll
0x77fe0000 - 0x77ff1000       C:\WINDOWS\system32\Secur32.dll
0x76ee0000 - 0x76f1c000       C:\WINDOWS\system32\RASAPI32.dll
0x76e90000 - 0x76ea2000       C:\WINDOWS\system32\rasman.dll
0x5b860000 - 0x5b8b4000       C:\WINDOWS\system32\NETAPI32.dll
0x76eb0000 - 0x76edf000       C:\WINDOWS\system32\TAPI32.dll
0x76e80000 - 0x76e8e000       C:\WINDOWS\system32\rtutils.dll
0x769c0000 - 0x76a73000       C:\WINDOWS\system32\USERENV.dll
0x77c70000 - 0x77c93000       C:\WINDOWS\system32\msv1_0.dll
0x76d60000 - 0x76d79000       C:\WINDOWS\system32\iphlpapi.dll
0x722b0000 - 0x722b5000       C:\WINDOWS\system32\sensapi.dll
0x71a50000 - 0x71a8f000       C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000       C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000       C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000       C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000       C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000       C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000       C:\WINDOWS\System32\wshtcpip.dll
0x605d0000 - 0x605d9000       C:\WINDOWS\system32\mslbui.dll
0x6d1c0000 - 0x6d1e3000       C:\Program Files\Java\jre1.5.0_12\bin\dcpr.dll
0x04290000 - 0x042a5000       C:\WINDOWS\SYSTEM32\jmutil.dll
0x042c0000 - 0x042cd000       C:\WINDOWS\SYSTEM32\jmvfw.dll
0x73b80000 - 0x73b92000       C:\WINDOWS\system32\AVICAP32.dll
0x75a70000 - 0x75a91000       C:\WINDOWS\system32\MSVFW32.dll
0x76c30000 - 0x76c5e000       C:\WINDOWS\system32\WINTRUST.dll
0x76c90000 - 0x76cb8000       C:\WINDOWS\system32\IMAGEHLP.dll
0x72d20000 - 0x72d29000       C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000       C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000       C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000       C:\WINDOWS\system32\midimap.dll
0x5acf0000 - 0x5ad00000       C:\WINDOWS\system32\vfwwdm32.dll
0x73ee0000 - 0x73ee4000       C:\WINDOWS\system32\ksuser.dll
0x76fd0000 - 0x7704f000       C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000       C:\WINDOWS\system32\COMRes.dll
0x75f40000 - 0x75f51000       C:\WINDOWS\system32\devenum.dll
0x77920000 - 0x77a13000       C:\WINDOWS\system32\setupapi.dll
0x736b0000 - 0x736b7000       C:\WINDOWS\system32\msdmo.dll
0x5e030000 - 0x5e053000       C:\WINDOWS\system32\ksproxy.ax
0x754c0000 - 0x754ca000       C:\WINDOWS\system32\vidcap.ax
0x76b20000 - 0x76b31000       C:\WINDOWS\system32\ATL.DLL
0x58010000 - 0x58029000       C:\WINDOWS\system32\kswdmcap.ax
0x73dd0000 - 0x73ece000       C:\WINDOWS\system32\MFC42.DLL
0x05150000 - 0x05173000       C:\WINDOWS\system32\o200avs.ax
0x763b0000 - 0x763f9000       C:\WINDOWS\system32\comdlg32.dll
0x757f0000 - 0x75822000       C:\WINDOWS\system32\qcap.dll
0x74810000 - 0x7497c000       C:\WINDOWS\system32\quartz.dll
0x58000000 - 0x5800d000       C:\WINDOWS\system32\ksxbar.ax
0x73940000 - 0x73a10000       C:\WINDOWS\system32\D3DIM700.DLL
0x05870000 - 0x05878000       C:\WINDOWS\SYSTEM32\jmddraw.dll
0x05890000 - 0x0589a000       C:\WINDOWS\SYSTEM32\jmgdi.dll
0x060d0000 - 0x06395000       C:\WINDOWS\system32\xpsp2res.dll

VM Arguments:
jvm_args: -Xmx512m -Xbootclasspath/a:C:\Program Files\Java\jre1.5.0_12\lib\javaws.jar;C:\Program Files\Java\jre1.5.0_12\lib\deploy.jar -Djnlpx.home=C:\Program Files\Java\jre1.5.0_12\bin -Djnlpx.splashport=1696 -Djnlpx.jvm="C:\Program Files\Java\jre1.5.0_12\bin\javaw.exe" -Djnlpx.remove=true -Djava.security.policy=file:C:\Program Files\Java\jre1.5.0_12\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=NULL,512m
java_command: com.sun.javaws.Main C:\DOCUME~1\ROOPES~1.TYA\LOCALS~1\Temp\javaws10
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jre1.5.0_12\bin
PATH=C:\Program Files\Java\jre1.5.0_12\bin;C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jre1.5.0_12\bin;C:\Program Files\Java\jdk1.5.0_12;C:\Program Files\Java\jdk1.5.0_12\bin;C:\Program FilesL\MySQL Server 5.0\bin;"C:\Program Files\Java\jre1.5.0_12\bin"
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel

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

OS: Windows XP Build 2600 Service Pack 2

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

Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for windows-x86, built on May  2 2007 02:07:59 by "java_re" with MS VC++ 6.0

2 Solutions
they are created when the vm crashes.
its basically a core dump and usually a result of a bug in the vm
This problem cropped quite a bit before XP SP2 was release, but seemed to have died down since then.  The best solution is to upgrade to the 1.6.x version of JRE if at all possible.  You can get it from http://www.java.com

if you can't upgrade to the 1.6.x, I have also found that for some people disabling the Java Console will solve this issue.  Do this by going to the Control Panel, double clicking the Java icon.  In th Advanced tab choose "Java Console" and then under that selection choose "Do Not Start Console".
perfect_tranquilityAuthor Commented:
i being kind of a started in java can not be sure about if it caused by a crash but there is a very strong pointer to that as these files are created only when I either close the application,the application closes by itself  or when I kill a java run time directly by going to Windows Task Manager. Updation of the JRE version HAS NOT solved the problem anywhere.This answer has been given by many when JRE 1.4 just came around calling people to upgrade to it. Alas, no help from that. I will keep my JRE to 1.5.0

objects you are probably right!


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now