1.5.0_08 EXCEPTION_ACCESS_VIOLATION in deploy.dll
Hello,
We develop a java application that is deployed over the web via Apacha Tomcat servlet container using IE 6. Sometimes, sporadically throughout the life of this product, we have seen JVM crashes that close all IE browsers open and place the hs_err_pid logs on the desktop. We used to use 1.4.2_04, but in hopes of alleviating these issues, we've upgraded to 1.5.0_08 a few months ago. We continue to see these errors, although reporiducing them is extremely difficult. Here is a log that we've kept after running our application through NetBeans 5.0 using the debugger and using the bundled Tomcat 5.5.9 server:
*********************************************************************************
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d1f321f, pid=4232, tid=5220
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode)
# Problematic frame:
# C [deploy.dll+0x321f]
#
T H R E A D
Current thread (0x02f041b0): JavaThread "Thread-7" [_thread_in_native, id=5220]
siginfo: ExceptionCode=0xc0000005, reading address 0x2e310034
Registers:
EAX=0x00000000, EBX=0x095b6480, ECX=0x0d9a0460, EDX=0x2e310034
ESP=0x0dfcec6c, EBP=0x0dfceca8, ESI=0x095b6480, EDI=0x0dfcf4ec
EIP=0x6d1f321f, EFLAGS=0x00010293
Top of Stack: (sp=0x0dfcec6c)
0x0dfcec6c:0dfcf4ec 095b6480 095b6480 77a93558
0x0dfcec7c:001940f8 0d9a0460 00000000 0d9a0460
0x0dfcec8c:00000034 0dfceca8 0dfce890 0dfcf4f8
0x0dfcec9c:6d1f6884 6d1fb240 00000000 0dfcf508
0x0dfcecac:6d1f34d8 02a23a58 0dfcecec 02f041b0
0x0dfcecbc:095b6480 095b6480 0e1f136c 0019e870
0x0dfceccc:00000294 0e201e70 0e1f1320 00000001
0x0dfcecdc:0e201e61 00000001 001940f8 02a23a58
Instructions: (pc=0x6d1f321f)
0x6d1f320f:8b 45 dc 3b 02 73 36 8b 4d e0 8b 51 04 8b 45 dc
0x6d1f321f:8b 0c 82 51 8b 55 0c 52 e8 e4 3a 00 00 83 c4 08
Stack: [0x0ded0000,0x0dfd0000), sp=0x0dfcec6c, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [deploy.dll+0x321f]
C [deploy.dll+0x34d8]
j com.sun.deploy.security.WIExplorerCertStore.loadCertificates(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Collection;)V+0
j com.sun.deploy.security.WIExplorerCertStore.load()V+38
j com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Ljava/security/CodeSource;Lcom/sun/deploy/ui/AppInfo;)Z+76
j com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Ljava/security/CodeSource;)Z+8
j sun.plugin.security.PluginClassLoader.getPermissions(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;+319
j java.security.SecureClassLoader.getProtectionDomain(Ljava/security/CodeSource;)Ljava/security/ProtectionDomain;+33
j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+24
j java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+253
j java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+43
v ~StubRoutines::call_stub
V [jvm.dll+0x86e84]
V [jvm.dll+0xddead]
V [jvm.dll+0x86d55]
C [java.dll+0x1061]
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j sun.applet.AppletClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+34
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43
j sun.applet.AppletClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j sun.applet.AppletClassLoader.loadCode(Ljava/lang/String;)Ljava/lang/Class;+105
j sun.applet.AppletPanel.createApplet(Lsun/applet/AppletClassLoader;)Ljava/applet/Applet;+83
j sun.plugin.AppletViewer.createApplet(Lsun/applet/AppletClassLoader;)Ljava/applet/Applet;+9
j sun.applet.AppletPanel.runLoader()V+65
j sun.applet.AppletPanel.run()V+13
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x86e84]
V [jvm.dll+0xddead]
V [jvm.dll+0x86d55]
V [jvm.dll+0x86ab2]
V [jvm.dll+0xa16b2]
V [jvm.dll+0x10f4ac]
V [jvm.dll+0x10f47a]
C [msvcrt.dll+0x2a3b0]
C [kernel32.dll+0xb50b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.deploy.security.WIExplorerCertStore.loadCertificates(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Collection;)V+0
j com.sun.deploy.security.WIExplorerCertStore.load()V+38
j com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Ljava/security/CodeSource;Lcom/sun/deploy/ui/AppInfo;)Z+76
j com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Ljava/security/CodeSource;)Z+8
j sun.plugin.security.PluginClassLoader.getPermissions(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;+319
j java.security.SecureClassLoader.getProtectionDomain(Ljava/security/CodeSource;)Ljava/security/ProtectionDomain;+33
j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+24
j java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+253
j java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+43
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j sun.applet.AppletClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+34
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43
j sun.applet.AppletClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j sun.applet.AppletClassLoader.loadCode(Ljava/lang/String;)Ljava/lang/Class;+105
j sun.applet.AppletPanel.createApplet(Lsun/applet/AppletClassLoader;)Ljava/applet/Applet;+83
j sun.plugin.AppletViewer.createApplet(Lsun/applet/AppletClassLoader;)Ljava/applet/Applet;+9
j sun.applet.AppletPanel.runLoader()V+65
j sun.applet.AppletPanel.run()V+13
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
P R O C E S S
Java Threads: ( => current thread )
0x02efe828 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=5152]
=>0x02f041b0 JavaThread "Thread-7" [_thread_in_native, id=5220]
0x0e1f1500 JavaThread "Thread-6" [_thread_blocked, id=4580]
0x0e15d328 JavaThread "thread applet-com.gmlogic.LabPAS.Applets.WorkflowApplet.WorkFlowApplet.class" [_thread_blocked, id=4304]
0x0e1146b0 JavaThread "Thread-4" [_thread_blocked, id=2900]
0x0e1dca60 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=6088]
0x0e152748 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=6108]
0x02f8ba28 JavaThread "thread applet-com.gmlogic.LabPAS.Applets.Preloader.LabPASAppletLoader.class" [_thread_in_native, id=5044]
0x02ef2ab0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5692]
0x02ed6190 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=5508]
0x02ecf158 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5576]
0x02eced50 JavaThread "AWT-Shutdown" [_thread_blocked, id=1448]
0x02ec9548 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4592]
0x02e33288 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3296]
0x02e31ee0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6096]
0x02e31230 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1580]
0x02e28440 JavaThread "Finalizer" daemon [_thread_blocked, id=5844]
0x02e26ff8 JavaThread "Reference Handler" daemon [_thread_blocked, id=5296]
0x02938c68 JavaThread "main" [_thread_in_native, id=3400]
Other Threads:
0x02970db0 VMThread [id=5840]
0x02e34598 WatcherThread [id=5996]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generationtotal 576K, used 326K [0x04f90000, 0x05030000, 0x05470000)
eden space 512K, 63% used [0x04f90000, 0x04fe18f8, 0x05010000)
from space 64K,0% used [0x05020000, 0x05020000, 0x05030000)
tospace 64K,0% used [0x05010000, 0x05010000, 0x05020000)
tenured generationtotal 2184K, used 1310K [0x05470000, 0x05692000, 0x08f90000)
the space 2184K, 59% used [0x05470000, 0x055b7848, 0x055b7a00, 0x05692000)
compacting perm gen total 8192K, used 6814K [0x08f90000, 0x09790000, 0x0cf90000)
the space 8192K, 83% used [0x08f90000, 0x096379e8, 0x09637a00, 0x09790000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00419000 C:\Program Files\Internet Explorer\iexplore.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77760000 - 0x778d0000 C:\WINDOWS\system32\SHDOCVW.dll
0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x754d0000 - 0x75550000 C:\WINDOWS\system32\CRYPTUI.dll
0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x774e0000 - 0x7761c000 C:\WINDOWS\system32\ole32.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
0x771b0000 - 0x77259000 C:\WINDOWS\system32\WININET.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x10000000 - 0x1001f000 C:\PROGRA~1\Google\GOOGLE~1\GOEC62~1.DLL
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x00b00000 - 0x00b17000 C:\Program Files\Common Files\Logitech\LVMVFM\LVPrcInj.dll
0x62000000 - 0x62091000 C:\PROGRA~1\Google\GOOGLE~1\GoogleDesktopResources_en.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\SHELL32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\comctl32.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x75f80000 - 0x7607d000 C:\WINDOWS\system32\BROWSEUI.dll
0x20000000 - 0x20012000 C:\WINDOWS\system32\browselc.dll
0x77b40000 - 0x77b62000 C:\WINDOWS\system32\appHelp.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x41000000 - 0x4101c000 C:\PROGRA~1\Google\GOOGLE~1\GOA66E~1.DLL
0x77260000 - 0x77300000 C:\WINDOWS\system32\urlmon.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x77a20000 - 0x77a74000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661d000 C:\WINDOWS\System32\CSCDLL.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
0x00e10000 - 0x00e1e000 C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
0x7c340000 - 0x7c396000 C:\WINDOWS\system32\MSVCR71.dll
0x01040000 - 0x0105c000 C:\WINDOWS\System32\DLA\DLASHX_W.DLL
0x01060000 - 0x0106f000 C:\WINDOWS\system32\DLAAPI_W.DLL
0x01070000 - 0x010ab000 C:\WINDOWS\System32\DLA\DLACResW.dll
0x6d610000 - 0x6d67a000 C:\Program Files\Java\jre1.5.0_08\bin\ssv.dll
0x5edd0000 - 0x5ede7000 C:\WINDOWS\system32\OLEPRO32.DLL
0x010f0000 - 0x01108000 C:\Program Files\BAE\BAE.dll
0x75e90000 - 0x75f40000 C:\WINDOWS\system32\SXS.DLL
0x01170000 - 0x011f8000 C:\WINDOWS\system32\shdoclc.dll
0x01200000 - 0x014c5000 C:\WINDOWS\system32\xpsp2res.dll
0x75cf0000 - 0x75d81000 C:\WINDOWS\system32\mlang.dll
0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\wsock32.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x76ee0000 - 0x76f1c000 C:\WINDOWS\system32\RASAPI32.DLL
0x76e90000 - 0x76ea2000 C:\WINDOWS\system32\rasman.dll
0x76eb0000 - 0x76edf000 C:\WINDOWS\system32\TAPI32.dll
0x76e80000 - 0x76e8e000 C:\WINDOWS\system32\rtutils.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x722b0000 - 0x722b5000 C:\WINDOWS\system32\sensapi.dll
0x745e0000 - 0x748a6000 C:\WINDOWS\system32\msi.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
0x01510000 - 0x01524000 C:\Program Files\Dell\QuickSet\dadkeyb.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x7dc30000 - 0x7df20000 C:\WINDOWS\system32\mshtml.dll
0x01d70000 - 0x01d97000 C:\WINDOWS\system32\msls31.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x022b0000 - 0x022da000 C:\WINDOWS\system32\msimtf.dll
0x022e0000 - 0x0232b000 C:\WINDOWS\system32\MSCTF.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x75c50000 - 0x75cbe000 C:\WINDOWS\system32\jscript.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
0x6d590000 - 0x6d5a2000 C:\Program Files\Java\jre1.5.0_08\bin\npjpi150_08.dll
0x6d400000 - 0x6d418000 C:\Program Files\Java\jre1.5.0_08\bin\jpiexp32.dll
0x6d450000 - 0x6d468000 C:\Program Files\Java\jre1.5.0_08\bin\jpishare.dll
0x6d6c0000 - 0x6d85b000 C:\PROGRA~1\Java\JRE15~2.0_0\bin\client\jvm.dll
0x6d280000 - 0x6d288000 C:\PROGRA~1\Java\JRE15~2.0_0\bin\hpi.dll
0x6d690000 - 0x6d69c000 C:\PROGRA~1\Java\JRE15~2.0_0\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\PROGRA~1\Java\JRE15~2.0_0\bin\java.dll
0x6d6b0000 - 0x6d6bf000 C:\PROGRA~1\Java\JRE15~2.0_0\bin\zip.dll
0x6d000000 - 0x6d169000 C:\Program Files\Java\jre1.5.0_08\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x6d240000 - 0x6d27f000 C:\Program Files\Java\jre1.5.0_08\bin\fontmanager.dll
0x6d1f0000 - 0x6d203000 C:\Program Files\Java\jre1.5.0_08\bin\deploy.dll
0x6d5d0000 - 0x6d5f3000 C:\Program Files\Java\jre1.5.0_08\bin\RegUtils.dll
0x6d3e0000 - 0x6d3f5000 C:\Program Files\Java\jre1.5.0_08\bin\jpicom32.dll
0x0dca0000 - 0x0dcb7000 C:\WINDOWS\system32\xpsp3res.dll
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_08\bin\net.dll
VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~2.0_0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.5.0_08 -Djavaplugin.nodotversion=150_08 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~2.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~2.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~2.0_0\lib\plugin.jar -Xmx64m -Djavaplugin.maxHeapSize=64m -Xverify:remote -Djavaplugin.version=1.5.0_08 -Djavaplugin.nodotversion=150_08 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~2.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
java_command: <unknown>
Launcher Type: generic
Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre1.5.0_08\lib\ext\QTJava.zip
PATH=C:\PROGRA~1\Java\JRE15~2.0_0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\LabPas CT\lib;C:\Program Files\QuickTime\QTSystem\;.
USERNAME=michael
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel
S Y S T E M
OS: Windows XP Build 2600 Service Pack 2
CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 2095224k(976288k free), swap 4033500k(2931284k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_08-b03) for windows-x86, built on Jul 26 2006 01:10:50 by "java_re" with MS VC++ 6.0
*********************************************************************************
Our application starts with a popup window that loads our application's applets. I suspect that there is a problem loading the certificates for the applets, but this problem is rare. It only happens every now and again, and simply retrying it will work most of the time. If there is anyone out there who has seen this issue before or can lend some experience or insight into the cause of this issue, it would be greatly appreciated! Thanks in advance for all help!
Sincerely,
Mark Daly

