This discussion is archived
0 Replies Latest reply: Jun 13, 2012 11:20 AM by 943519 RSS

Applet running on JRE1.6.0_18 makes browser crash and hs_err_pid on desktop

943519 Newbie
Currently Being Moderated
hi all,
I'm struggling with a problem with a Java applet that seems to randomly crash closing the browser, including all the tabs and windows not related to my application.
This applet runs on a JRE1.6.0_18 with parameter separate_jvm=true.
The client is a WinXP SP3 and browser is Internet Explorer 7.0.5730.13.

This (terrible) event seems to appear randomly, usually after some times that the user is NOT using the computer and the Applet is still open.
I profiled the applet, just to check if there was some memory leak: no, memory heap is always much lower than the max limit.

When the crash appears, in most cases (I'm not sure that this happens in any case) a hs_err_pid file is generated.
Another very strange thing is that, even if tracing is enabled, no trace files are generated.To be more precise, when I go to the Java log directory, all the things I found are logged AFTER the crash!

Really hope someone may help.

The whole hs_err_pid file:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x3f192bd2, pid=2640, tid=2236
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode windows-x86 )
# Problematic frame:
# C [mshtml.dll+0x182bd2]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Current thread (0x0a088800): JavaThread "Thread-8" [_thread_in_native, id=2236, stack(0x039b0000,0x03ab0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000138

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x0000002b, EDX=0x121a1900
ESP=0x03aaf824, EBP=0x03aaf83c, ESI=0x0336f190, EDI=0x7c8097e0
EIP=0x3f192bd2, EFLAGS=0x00010246

Top of Stack: (sp=0x03aaf824)
0x03aaf824: 00000000 0336f190 12199d58 3f0ccdfd
0x03aaf834: 0336f190 00000000 03aaf850 3f0c5ba4
0x03aaf844: 0336f190 0a088800 0418c858 03aaf860
0x03aaf854: 3f1c8680 0336f190 12199d58 03aaf8ac
0x03aaf864: 6d413179 0418c858 07549f37 0a088910
0x03aaf874: 03aaf8b4 0418c858 00000000 00000000
0x03aaf884: 120a49d0 00000000 03aaf88c 00000000
0x03aaf894: 03aaf8c0 121a1900 00000000 12199d58

Instructions: (pc=0x3f192bd2)
0x3f192bc2: d4 dc 31 3f 8b 3d 10 13 01 3f 8b f1 ff d7 33 db
0x3f192bd2: 39 98 38 01 00 00 74 1f ff 35 d4 dc 31 3f ff d7


Stack: [0x039b0000,0x03ab0000], sp=0x03aaf824, free space=3fe03aaf358k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [mshtml.dll+0x182bd2]
C [mshtml.dll+0xb5ba4]
C [mshtml.dll+0x1b8680]
C [jp2iexp.dll+0x3179]
j sun.plugin2.main.server.IExplorerPlugin.javaScriptReleaseObject(Lsun/plugin2/liveconnect/BrowserSideObject;)V+4
j sun.plugin2.main.server.LiveConnectSupport$PerPluginInfo.releaseAllObjects()V+34
j sun.plugin2.main.server.LiveConnectSupport.shutdown(I)V+42
j sun.plugin2.main.server.JVMInstance.unregisterApplet(I)V+63
j sun.plugin2.main.server.JVMInstance.dispose()V+67
j sun.plugin2.main.server.JVMInstance.access$2600(Lsun/plugin2/main/server/JVMInstance;)V+1
j sun.plugin2.main.server.JVMInstance$Listener.jvmExited(Lsun/plugin2/jvm/JVMLauncher;)V+86
j sun.plugin2.jvm.JVMLauncher.fireJVMExited()V+31
j sun.plugin2.jvm.JVMLauncher.access$300(Lsun/plugin2/jvm/JVMLauncher;)V+1
j sun.plugin2.jvm.JVMLauncher$JVMWatcher.run()V+50
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0xf072c]
V [jvm.dll+0x17fd51]
V [jvm.dll+0xf08f7]
V [jvm.dll+0xf096d]
V [jvm.dll+0x11a4c0]
V [jvm.dll+0x1dd924]
V [jvm.dll+0x17f9cc]
C [MSVCR71.dll+0x9565]
C [kernel32.dll+0xb729]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.plugin2.main.server.IExplorerPlugin.iUnknownRelease(J)V+0
j sun.plugin2.main.server.IExplorerPlugin.javaScriptReleaseObject(Lsun/plugin2/liveconnect/BrowserSideObject;)V+4
j sun.plugin2.main.server.LiveConnectSupport$PerPluginInfo.releaseAllObjects()V+34
j sun.plugin2.main.server.LiveConnectSupport.shutdown(I)V+42
j sun.plugin2.main.server.JVMInstance.unregisterApplet(I)V+63
j sun.plugin2.main.server.JVMInstance.dispose()V+67
j sun.plugin2.main.server.JVMInstance.access$2600(Lsun/plugin2/main/server/JVMInstance;)V+1
j sun.plugin2.main.server.JVMInstance$Listener.jvmExited(Lsun/plugin2/jvm/JVMLauncher;)V+86
j sun.plugin2.jvm.JVMLauncher.fireJVMExited()V+31
j sun.plugin2.jvm.JVMLauncher.access$300(Lsun/plugin2/jvm/JVMLauncher;)V+1
j sun.plugin2.jvm.JVMLauncher$JVMWatcher.run()V+50
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
0x096ee800 JavaThread "JRE 1.6.0.18 Heartbeat Thread" [_thread_blocked, id=2700, stack(0x0b340000,0x0b440000)]
0x0a0f9400 JavaThread "JRE 1.6.0.18 Worker Thread" [_thread_blocked, id=3988, stack(0x0bb40000,0x0bc40000)]
0x0973a800 JavaThread "JRE 1.6.0.18 Output Reader Thread" [_thread_in_native, id=2176, stack(0x0ba40000,0x0bb40000)]
0x096ed400 JavaThread "JRE 1.6.0.18 Output Reader Thread" [_thread_in_native, id=1576, stack(0x0b940000,0x0ba40000)]
0x09721c00 JavaThread "Thread-11" [_thread_in_native, id=3148, stack(0x0b840000,0x0b940000)]
0x096f3c00 JavaThread "Java Plug-In Pipe Worker Thread (Server-Side)" daemon [_thread_in_native, id=3112, stack(0x0b740000,0x0b840000)]
0x0972b400 JavaThread "Pipe Closer Thread" [_thread_in_native, id=1448, stack(0x0b640000,0x0b740000)]
0x09719400 JavaThread "Pipe Disconnector Thread" [_thread_in_native, id=2508, stack(0x0b540000,0x0b640000)]
0x0a0b7800 JavaThread "Pipe Connector Thread" [_thread_in_native, id=1144, stack(0x0b240000,0x0b340000)]
0x0a087800 JavaThread "Thread-9" [_thread_in_native, id=844, stack(0x0ab10000,0x0ac10000)]
=>0x0a088800 JavaThread "Thread-8" [_thread_in_native, id=2236, stack(0x039b0000,0x03ab0000)]
0x09658800 JavaThread "Thread-7" [_thread_in_native, id=2984, stack(0x070b0000,0x071b0000)]
0x096dec00 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=2516, stack(0x09f40000,0x0a040000)]
0x096d0800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2748, stack(0x09d40000,0x09e40000)]
0x096ca000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2720, stack(0x09c40000,0x09d40000)]
0x096c8800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4044, stack(0x09b40000,0x09c40000)]
0x096c7000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2652, stack(0x09a40000,0x09b40000)]
0x096b4c00 JavaThread "Finalizer" daemon [_thread_blocked, id=1400, stack(0x09940000,0x09a40000)]
0x096b3800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2604, stack(0x09840000,0x09940000)]

Other Threads:
0x096b0800 VMThread [stack: 0x09740000,0x09840000] [id=1020]
0x096d2800 WatcherThread [stack: 0x09e40000,0x09f40000] [id=2756]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 4864K, used 3384K [0x10020000, 0x10560000, 0x10ac0000)
eden space 4352K, 73% used [0x10020000, 0x10342b28, 0x10460000)
from space 512K, 34% used [0x104e0000, 0x1050b880, 0x10560000)
to space 512K, 0% used [0x10460000, 0x10460000, 0x104e0000)
tenured generation total 10880K, used 336K [0x10ac0000, 0x11560000, 0x12020000)
the space 10880K, 3% used [0x10ac0000, 0x10b14238, 0x10b14400, 0x11560000)
compacting perm gen total 12288K, used 3349K [0x12020000, 0x12c20000, 0x16020000)
the space 12288K, 27% used [0x12020000, 0x12365500, 0x12365600, 0x12c20000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0049c000      C:\Programmi\Internet Explorer\IEXPLORE.EXE
0x7c910000 - 0x7c9c8000      C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c901000      C:\WINDOWS\system32\kernel32.dll
0x77f40000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
0x77da0000 - 0x77e33000      C:\WINDOWS\system32\RPCRT4.dll
0x77f10000 - 0x77f21000      C:\WINDOWS\system32\Secur32.dll
0x77e40000 - 0x77e89000      C:\WINDOWS\system32\GDI32.dll
0x7e390000 - 0x7e421000      C:\WINDOWS\system32\USER32.dll
0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
0x77e90000 - 0x77f06000      C:\WINDOWS\system32\SHLWAPI.dll
0x7c9d0000 - 0x7d1ee000      C:\WINDOWS\system32\SHELL32.dll
0x774b0000 - 0x775ee000      C:\WINDOWS\system32\ole32.dll
0x45010000 - 0x45138000      C:\WINDOWS\system32\urlmon.dll
0x770f0000 - 0x7717b000      C:\WINDOWS\system32\OLEAUT32.dll
0x40070000 - 0x400b5000      C:\WINDOWS\system32\iertutil.dll
0x77bd0000 - 0x77bd8000      C:\WINDOWS\system32\VERSION.dll
0x5cf90000 - 0x5cfb6000      C:\WINDOWS\system32\ShimEng.dll
0x71600000 - 0x71679000      C:\WINDOWS\AppPatch\AcLayers.DLL
0x76980000 - 0x76a35000      C:\WINDOWS\system32\USERENV.dll
0x72f70000 - 0x72f96000      C:\WINDOWS\system32\WINSPOOL.DRV
0x76340000 - 0x7635d000      C:\WINDOWS\system32\IMM32.DLL
0x773a0000 - 0x774a3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
0x5d4d0000 - 0x5d56a000      C:\WINDOWS\system32\comctl32.dll
0x40260000 - 0x4082f000      C:\WINDOWS\system32\IEFRAME.dll
0x76bb0000 - 0x76bbb000      C:\WINDOWS\system32\PSAPI.DLL
0x5b180000 - 0x5b1b8000      C:\WINDOWS\system32\UxTheme.dll
0x746b0000 - 0x746fc000      C:\WINDOWS\system32\MSCTF.dll
0x00c70000 - 0x00f45000      C:\WINDOWS\system32\xpsp2res.dll
0x77b10000 - 0x77b32000      C:\WINDOWS\system32\apphelp.dll
0x752e0000 - 0x7530e000      C:\WINDOWS\system32\msctfime.ime
0x5dff0000 - 0x5e01f000      C:\WINDOWS\system32\IEUI.dll
0x76330000 - 0x76335000      C:\WINDOWS\system32\MSIMG32.dll
0x4ebd0000 - 0x4ed7b000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22791_x-ww_c8dff154\gdiplus.dll
0x47060000 - 0x47081000      C:\WINDOWS\system32\xmllite.dll
0x76f90000 - 0x7700f000      C:\WINDOWS\system32\CLBCATQ.DLL
0x77010000 - 0x770e2000      C:\WINDOWS\system32\COMRes.dll
0x61880000 - 0x618ba000      C:\WINDOWS\system32\oleacc.dll
0x44f30000 - 0x44fa4000      C:\WINDOWS\system32\msfeeds.dll
0x3f9d0000 - 0x3faa1000      C:\WINDOWS\system32\WININET.dll
0x015e0000 - 0x015e9000      C:\WINDOWS\system32\Normaliz.dll
0x74680000 - 0x746aa000      C:\WINDOWS\system32\msimtf.dll
0x779f0000 - 0x77a45000      C:\WINDOWS\System32\cscui.dll
0x765b0000 - 0x765cd000      C:\WINDOWS\System32\CSCDLL.dll
0x778f0000 - 0x779e7000      C:\WINDOWS\system32\SETUPAPI.dll
0x71a30000 - 0x71a47000      C:\WINDOWS\system32\ws2_32.dll
0x71a20000 - 0x71a28000      C:\WINDOWS\system32\WS2HELP.dll
0x61930000 - 0x6197a000      C:\Programmi\Internet Explorer\ieproxy.dll
0x75d50000 - 0x75de1000      C:\WINDOWS\system32\MLANG.dll
0x10000000 - 0x10011000      C:\Programmi\File comuni\Adobe\Acrobat\ActiveX\AcroIEHelperShim.dll
0x78520000 - 0x785c3000      C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\MSVCR90.dll
0x78480000 - 0x7850d000      C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\MSVCP90.dll
0x02b60000 - 0x02b70000      C:\Programmi\File comuni\Adobe\Acrobat\ActiveX\AcroIEHelper.dll
0x6d440000 - 0x6d44c000      C:\Programmi\Java\jre6\bin\jp2ssv.dll
0x7c340000 - 0x7c396000      C:\Programmi\Java\jre6\bin\MSVCR71.dll
0x6daf0000 - 0x6db02000      C:\Programmi\Java\jre6\lib\deploy\jqs\ie\jqs_plugin.dll
0x719d0000 - 0x71a10000      C:\WINDOWS\system32\mswsock.dll
0x66750000 - 0x667a8000      C:\WINDOWS\system32\hnetcfg.dll
0x71a10000 - 0x71a18000      C:\WINDOWS\System32\wshtcpip.dll
0x7e6a0000 - 0x7e750000      C:\WINDOWS\system32\SXS.DLL
0x71cd0000 - 0x71ceb000      C:\WINDOWS\system32\actxprxy.dll
0x77a50000 - 0x77ae6000      C:\WINDOWS\system32\CRYPT32.dll
0x77af0000 - 0x77b02000      C:\WINDOWS\system32\MSASN1.dll
0x5bc70000 - 0x5bcc5000      C:\WINDOWS\system32\netapi32.dll
0x76bf0000 - 0x76c1e000      C:\WINDOWS\system32\wintrust.dll
0x76c50000 - 0x76c78000      C:\WINDOWS\system32\IMAGEHLP.dll
0x767b0000 - 0x767d9000      C:\WINDOWS\system32\schannel.dll
0x76ea0000 - 0x76edc000      C:\WINDOWS\system32\RASAPI32.dll
0x76e50000 - 0x76e62000      C:\WINDOWS\system32\rasman.dll
0x76e70000 - 0x76e9f000      C:\WINDOWS\system32\TAPI32.dll
0x76e40000 - 0x76e4e000      C:\WINDOWS\system32\rtutils.dll
0x76b00000 - 0x76b2e000      C:\WINDOWS\system32\WINMM.dll
0x72240000 - 0x72245000      C:\WINDOWS\system32\sensapi.dll
0x76f80000 - 0x76f86000      C:\WINDOWS\system32\rasadhlp.dll
0x76ee0000 - 0x76f07000      C:\WINDOWS\system32\DNSAPI.dll
0x76d20000 - 0x76d39000      C:\WINDOWS\system32\iphlpapi.dll
0x77c40000 - 0x77c65000      C:\WINDOWS\system32\msv1_0.dll
0x76750000 - 0x7675c000      C:\WINDOWS\system32\cryptdll.dll
0x68000000 - 0x68036000      C:\WINDOWS\system32\rsaenh.dll
0x68100000 - 0x68126000      C:\WINDOWS\system32\dssenh.dll
0x3f010000 - 0x3f389000      C:\WINDOWS\system32\mshtml.dll
0x02c90000 - 0x02cb9000      C:\WINDOWS\system32\msls31.dll
0x42dd0000 - 0x42e30000      C:\WINDOWS\system32\ieapfltr.dll
0x77660000 - 0x77681000      C:\WINDOWS\system32\NTMARTA.DLL
0x71b80000 - 0x71b93000      C:\WINDOWS\system32\SAMLIB.dll
0x76f20000 - 0x76f4d000      C:\WINDOWS\system32\WLDAP32.dll
0x75c00000 - 0x75c7d000      C:\WINDOWS\system32\jscript.dll
0x72c90000 - 0x72c99000      C:\WINDOWS\system32\wdmaud.drv
0x72c80000 - 0x72c88000      C:\WINDOWS\system32\msacm32.drv
0x77bb0000 - 0x77bc5000      C:\WINDOWS\system32\MSACM32.dll
0x77ba0000 - 0x77ba7000      C:\WINDOWS\system32\midimap.dll
0x1b000000 - 0x1b00c000      C:\WINDOWS\system32\ImgUtil.dll
0x6d410000 - 0x6d42e000      C:\Programmi\Java\jre6\bin\jp2iexp.dll
0x71a50000 - 0x71a5a000      C:\WINDOWS\system32\wsock32.dll
0x76f70000 - 0x76f78000      C:\WINDOWS\System32\winrnr.dll
0x6d800000 - 0x6da97000      C:\PROGRA~1\Java\jre6\bin\client\jvm.dll
0x6d7b0000 - 0x6d7bc000      C:\PROGRA~1\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000      C:\PROGRA~1\Java\jre6\bin\java.dll
0x6d290000 - 0x6d298000      C:\PROGRA~1\Java\jre6\bin\hpi.dll
0x6d7f0000 - 0x6d7ff000      C:\PROGRA~1\Java\jre6\bin\zip.dll
0x6d430000 - 0x6d436000      C:\Programmi\Java\jre6\bin\jp2native.dll
0x6d1d0000 - 0x6d1e3000      C:\Programmi\Java\jre6\bin\deploy.dll
0x6d610000 - 0x6d623000      C:\Programmi\Java\jre6\bin\net.dll
0x6d630000 - 0x6d639000      C:\Programmi\Java\jre6\bin\nio.dll
0x6d6b0000 - 0x6d6f3000      C:\Programmi\Java\jre6\bin\regutils.dll
0x6d000000 - 0x6d14a000      C:\Programmi\Java\jre6\bin\awt.dll
0x73aa0000 - 0x73ab5000      C:\WINDOWS\system32\mscms.dll
0x018b0000 - 0x01912000      C:\Programmi\File comuni\Adobe\Acrobat\ActiveX\PDFShell.dll
0x01920000 - 0x0196b000      C:\Programmi\File comuni\Adobe\Acrobat\ActiveX\PDFShell.ITA
0x00c00000 - 0x00c15000      C:\PROGRA~1\UltraVNC\vnchooks.dll
0x325c0000 - 0x325d2000      C:\Programmi\Microsoft Office\OFFICE11\msohev.dll
0x43280000 - 0x432f8000      C:\WINDOWS\system32\mshtmled.dll
0x6d180000 - 0x6d188000      C:\WINDOWS\system32\dispex.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\jre6\lib\deploy.jar;C:\PROGRA~1\Java\jre6\lib\javaws.jar;C:\PROGRA~1\Java\jre6\lib\plugin.jar -Xmx32m -Djava.awt.headless=true -Dkernel.background.download=false -Dkernel.download.dialog=false -XX:MaxDirectMemorySize=64m
java_command: <unknown>
Launcher Type: generic

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Trace Facility;C:\Programmi\Personal Communications;C:\Ca_Appsw;C:\Programmi\File comuni\Roxio Shared\DLLShared;E:\PROGRA~1\CA\SHARED~1\CAM\bin;C:\Programmi\Agfa\IMPAX Client\;C:\WINDOWS\system32\WindowsPowerShell\v1.0
USERNAME=pajetta.elena
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 3

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

Memory: 4k page, physical 1039536k(317256k free), swap 2500656k(1706016k free)

vm_info: Java HotSpot(TM) Client VM (16.0-b13) for windows-x86 JRE (1.6.0_18-b07), built on Dec 17 2009 13:35:55 by "java_re" with MS VC++ 7.1 (VS2003)

time: Wed Jun 13 17:13:07 2012
elapsed time: 113320 seconds

Edited by: 940516 on 13-giu-2012 11.20

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points