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:
# 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)]
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)
VM Mutex/Monitor currently owned by a thread: None
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.