JDK-6989652 : fatal error detected by runtime error
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u20,6u21
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows,windows_xp
  • CPU: x86
  • Submitted: 2010-10-05
  • Updated: 2012-05-02
  • Resolved: 2011-01-12
Description
A DESCRIPTION OF THE REQUEST :
My eclipse always close by itself after I working on it for a while(about 5 minutes or less).
Even I just only open it and didn't do anything(not even typing).

and it also close after I click browse button when it ask where I want to put my workspace on.

JUSTIFICATION :
I have to re- open it per 5 minutes if I want to continue on my work which is very annoying for me.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I want to work on my eclipse without that problem.

---------- BEGIN SOURCE ----------
These are the error code

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d966a4c, pid=3728, tid=3720
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot(TM) Client VM (17.0-b17 mixed mode windows-x86 )
# Problematic frame:
# C  [jvm.dll+0xb6a4c]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x3827b800):  JavaThread "main" [_thread_in_vm, id=3720, stack(0x00030000,0x00130000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000004

Registers:
EAX=0x00000000, EBX=0x001253a8, ECX=0x00000000, EDX=0x00de25c0
ESP=0x00125330, EBP=0x00125338, ESI=0x00125354, EDI=0x001253a8
EIP=0x6d966a4c, EFLAGS=0x00010246

  Top of Stack: (sp=0x00125330)
0x00125330:   001254c0 00125388 0012536c 6d90bfec
0x00125340:   00125354 001253a8 3827bb08 3827b800
0x00125350:   381a43a0 002066b8 ffffffff 00000000
0x00125360:   00000000 00000000 002066b8 001254b8
0x00125370:   6d9d3e7c 3827b800 00000000 3827b800
0x00125380:   442b13e0 442b13e0 002066b8 ffffffff
0x00125390:   00000000 00000000 00000000 002066b8
0x001253a0:   3827b800 3802e1dc 3827b800 001254b7

Instructions: (pc=0x6d966a4c)
0x6d966a3c:   e8 9f fc ff ff 5f 8b c6 5e 5d c2 08 00 8b 49 10
0x6d966a4c:   8b 41 04 8b 11 50 83 c1 08 52 51 8b ce e8 82 3d


Stack: [0x00030000,0x00130000],  sp=0x00125330,  free space=3d400124e64k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [jvm.dll+0xb6a4c]
C  [jvm.dll+0x5bfec]
C  [jvm.dll+0x123e7c]
j  java.security.AccessController.getStackAccessControlContext()Ljava/security/AccessControlContext;+0
j  java.security.AccessController.getContext()Ljava/security/AccessControlContext;+0
j  java.lang.Thread.init(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;J)V+135
j  java.lang.Thread.<init>(Ljava/lang/ThreadGroup;Ljava/lang/String;)V+45
v  ~StubRoutines::call_stub
V  [jvm.dll+0xf3abc]
V  [jvm.dll+0x1865b1]
V  [jvm.dll+0xf3e6a]
V  [jvm.dll+0xf3fe3]
V  [jvm.dll+0x1e3663]
V  [jvm.dll+0x1e69cf]
V  [jvm.dll+0x1065d0]
C  [jp2iexp.dll+0x13f8]
C  [jp2iexp.dll+0x141d]
C  [jp2iexp.dll+0x24d5]
C  [jp2iexp.dll+0x84e0]
C  [jp2iexp.dll+0xcccc]
C  [jp2iexp.dll+0x6ca3]
C  [ole32.dll+0x4f695]
C  [ole32.dll+0x4f4f5]
C  [ole32.dll+0x4f7a4]
C  [ole32.dll+0x4f71b]
C  [ole32.dll+0x5052b]
C  [ole32.dll+0x504e2]
C  [ole32.dll+0x4f805]
C  [ole32.dll+0x4f4f5]
C  [ole32.dll+0x4f490]
C  [ole32.dll+0x4f4f5]
C  [ole32.dll+0x4f33a]
C  [ole32.dll+0x46000]
C  [ole32.dll+0x45fcf]
C  [ole32.dll+0x4603d]
C  [SHLWAPI.dll+0x947c]
C  [SHELL32.dll+0x34976]
C  [SHELL32.dll+0x2f809]
C  [SHELL32.dll+0x40edc]
C  [SHELL32.dll+0x40e5f]
C  [SHELL32.dll+0x40c99]
C  [SHELL32.dll+0x2f598]
C  [SHELL32.dll+0x2faa2]
C  [SHELL32.dll+0x2fa6c]
C  [SHELL32.dll+0x2fa31]
C  [SHELL32.dll+0x2f809]
C  [SHELL32.dll+0x40bd7]
C  [SHELL32.dll+0x3648f]
C  [SHELL32.dll+0x41184]
C  [SHELL32.dll+0x40983]
C  [SHELL32.dll+0x714c0]
C  [SHELL32.dll+0x6d0a5]
C  [SHELL32.dll+0x6af54]
C  [SHELL32.dll+0x10209f]
C  [SHELL32.dll+0xb2978]
C  [SHELL32.dll+0xb2b9c]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.security.AccessController.getStackAccessControlContext()Ljava/security/AccessControlContext;+0
j  java.security.AccessController.getContext()Ljava/security/AccessControlContext;+0
j  java.lang.Thread.init(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;J)V+135
j  java.lang.Thread.<init>(Ljava/lang/ThreadGroup;Ljava/lang/String;)V+45
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
=>0x3827b800 JavaThread "main" [_thread_in_vm, id=3720, stack(0x00030000,0x00130000)]

Other Threads:
  0x38271400 VMThread [stack: 0x3b500000,0x3b600000] [id=5544]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4672K, used 83K [0x42230000, 0x42740000, 0x42cd0000)
  eden space 4160K,   2% used [0x42230000, 0x42244ce0, 0x42640000)
  from space 512K,   0% used [0x42640000, 0x42640000, 0x426c0000)
  to   space 512K,   0% used [0x426c0000, 0x426c0000, 0x42740000)
 tenured generation   total 10496K, used 0K [0x42cd0000, 0x43710000, 0x44230000)
   the space 10496K,   0% used [0x42cd0000, 0x42cd0000, 0x42cd0200, 0x43710000)
 compacting perm gen  total 12288K, used 518K [0x44230000, 0x44e30000, 0x48230000)
   the space 12288K,   4% used [0x44230000, 0x442b1a18, 0x442b1c00, 0x44e30000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040d000 	C:\Documents and Settings\Owner\Desktop\eclipse\eclipse.exe
0x7c900000 - 0x7c9b2000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 	C:\WINDOWS\system32\KERNEL32.dll
0x60000000 - 0x6003e000 	C:\Program Files\BitDefender\BitDefender 2010\Active Virus Control\midas32-v2_67\midas32.dll
0x61000000 - 0x61027000 	C:\Program Files\BitDefender\BitDefender 2010\Active Virus Control\midas32-v2_67\plugin_base.m32
0x67000000 - 0x67046000 	C:\Program Files\BitDefender\BitDefender 2010\Active Virus Control\midas32-v2_67\plugin_nt.m32
0x64000000 - 0x64021000 	C:\Program Files\BitDefender\BitDefender 2010\Active Virus Control\midas32-v2_67\plugin_registry.m32
0x62000000 - 0x6202d000 	C:\Program Files\BitDefender\BitDefender 2010\Active Virus Control\midas32-v2_67\plugin_extra.m32
0x65000000 - 0x6501a000 	C:\Program Files\BitDefender\BitDefender 2010\Active Virus Control\midas32-v2_67\plugin_net.m32
0x63000000 - 0x630a6000 	C:\Program Files\BitDefender\BitDefender 2010\Active Virus Control\midas32-v2_67\plugin_fragments.m32
0x77d40000 - 0x77dd0000 	C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f58000 	C:\WINDOWS\system32\GDI32.dll
0x5d090000 - 0x5d127000 	C:\WINDOWS\system32\COMCTL32.dll
0x77dd0000 - 0x77e6b000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 	C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 	C:\WINDOWS\system32\Secur32.dll
0x77c10000 - 0x77c68000 	C:\WINDOWS\system32\MSVCRT.dll
0x76390000 - 0x763ad000 	C:\WINDOWS\system32\IMM32.DLL
0x007f0000 - 0x007f9000 	C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 	C:\WINDOWS\system32\USP10.dll
0x72000000 - 0x7200d000 	C:\Documents and Settings\Owner\Desktop\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810\eclipse_1309.dll
0x77c00000 - 0x77c08000 	C:\WINDOWS\system32\VERSION.dll
0x5ad70000 - 0x5ada8000 	C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476b000 	C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000 	C:\WINDOWS\system32\msctfime.ime
0x774e0000 - 0x7761c000 	C:\WINDOWS\system32\ole32.dll
0x6d8b0000 - 0x6db57000 	C:\Program Files\Java\jdk1.6.0_21\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 	C:\WINDOWS\system32\WINMM.dll
0x7c340000 - 0x7c396000 	C:\WINDOWS\system32\MSVCR71.dll
0x6d860000 - 0x6d86c000 	C:\Program Files\Java\jdk1.6.0_21\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 	C:\Program Files\Java\jdk1.6.0_21\jre\bin\java.dll
0x6d340000 - 0x6d348000 	C:\Program Files\Java\jdk1.6.0_21\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d8a0000 - 0x6d8af000 	C:\Program Files\Java\jdk1.6.0_21\jre\bin\zip.dll
0x03c50000 - 0x03c78000 	C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 	C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b4000 	C:\WINDOWS\system32\netapi32.dll
0x6d6c0000 - 0x6d6d3000 	C:\Program Files\Java\jdk1.6.0_21\jre\bin\net.dll
0x71ab0000 - 0x71ac7000 	C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 	C:\WINDOWS\system32\WS2HELP.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
0x03d10000 - 0x03d35000 	C:\Program Files\Bonjour\mdnsNSP.dll
0x76d60000 - 0x76d79000 	C:\WINDOWS\system32\Iphlpapi.dll
0x76fc0000 - 0x76fc6000 	C:\WINDOWS\system32\rasadhlp.dll
0x03d70000 - 0x03d79000 	C:\WINDOWS\system32\mslbui.dll
0x6d6e0000 - 0x6d6e9000 	C:\Program Files\Java\jdk1.6.0_21\jre\bin\nio.dll
0x04890000 - 0x048f3000 	C:\Documents and Settings\Owner\Desktop\eclipse\configuration\org.eclipse.osgi\bundles\562\1\.cp\swt-win32-3655.dll
0x77120000 - 0x771ac000 	C:\WINDOWS\system32\OLEAUT32.dll
0x763b0000 - 0x763f9000 	C:\WINDOWS\system32\comdlg32.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
0x7c9c0000 - 0x7d1d6000 	C:\WINDOWS\system32\SHELL32.dll
0x3d930000 - 0x3da01000 	C:\WINDOWS\system32\WININET.dll
0x04060000 - 0x04069000 	C:\WINDOWS\system32\Normaliz.dll
0x3dfd0000 - 0x3e015000 	C:\WINDOWS\system32\iertutil.dll
0x04b30000 - 0x04b4d000 	C:\Documents and Settings\Owner\Desktop\eclipse\configuration\org.eclipse.osgi\bundles\562\1\.cp\swt-gdip-win32-3655.dll
0x4ec50000 - 0x4edfb000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6001.22319_x-ww_f0b4c2df\gdiplus.dll
0x04310000 - 0x0431e000 	C:\Documents and Settings\Owner\Desktop\eclipse\configuration\org.eclipse.osgi\bundles\65\1\.cp\os\win32\x86\localfile_1_0_0.dll
0x74c80000 - 0x74cac000 	C:\WINDOWS\system32\oleacc.dll
0x76080000 - 0x760e5000 	C:\WINDOWS\system32\MSVCP60.dll
0x05400000 - 0x056c5000 	C:\WINDOWS\system32\xpsp2res.dll
0x059f0000 - 0x059ff000 	C:\Documents and Settings\Owner\Desktop\eclipse\configuration\org.eclipse.osgi\bundles\68\1\.cp\jWinHttp-1.0.0.dll
0x4d4f0000 - 0x4d549000 	C:\WINDOWS\system32\WINHTTP.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
0x77c70000 - 0x77c94000 	C:\WINDOWS\system32\msv1_0.dll
0x76790000 - 0x7679c000 	C:\WINDOWS\system32\cryptdll.dll
0x76380000 - 0x76385000 	C:\WINDOWS\system32\msimg32.dll
0x76fd0000 - 0x7704f000 	C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 	C:\WINDOWS\system32\COMRes.dll
0x75cf0000 - 0x75d81000 	C:\WINDOWS\system32\mlang.dll
0x38ff0000 - 0x38ff7000 	C:\Program Files\Fujitsu\Fujitsu Hotkey Utility\VFuj02b1.dll
0x77b40000 - 0x77b62000 	C:\WINDOWS\system32\apphelp.dll
0x75e90000 - 0x75f40000 	C:\WINDOWS\system32\SXS.DLL
0x3fde0000 - 0x40221000 	C:\WINDOWS\system32\msi.dll
0x3e1c0000 - 0x3e78d000 	C:\WINDOWS\system32\ieframe.dll
0x78130000 - 0x78258000 	C:\WINDOWS\system32\urlmon.dll
0x3cea0000 - 0x3d215000 	C:\WINDOWS\system32\mshtml.dll
0x746c0000 - 0x746e9000 	C:\WINDOWS\system32\msls31.dll
0x746f0000 - 0x7471a000 	C:\WINDOWS\system32\msimtf.dll
0x5c2c0000 - 0x5c300000 	C:\WINDOWS\ime\sptip.dll
0x39fe0000 - 0x39ff1000 	C:\WINDOWS\IME\SPGRMR.DLL
0x3abb0000 - 0x3ac0b000 	C:\Program Files\Common Files\Microsoft Shared\INK\SKCHUI.DLL
0x77920000 - 0x77a13000 	C:\WINDOWS\system32\SETUPAPI.dll
0x55df0000 - 0x55dfd000 	C:\WINDOWS\system32\AcSignIcon.dll
0x782e0000 - 0x783ef000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_b77cec8e\MFC80U.DLL
0x3adc0000 - 0x3ae5b000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCR80.dll
0x5d360000 - 0x5d36e000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFCLOC_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_91481303\MFC80ENU.DLL
0x77a20000 - 0x77a74000 	C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661d000 	C:\WINDOWS\System32\CSCDLL.dll
0x3aed0000 - 0x3aff9000 	C:\WINDOWS\system32\FM20.DLL
0x6d410000 - 0x6d42e000 	C:\Program Files\Java\jre6\bin\jp2iexp.dll
0x71ad0000 - 0x71ad9000 	C:\WINDOWS\system32\wsock32.dll
0x3b100000 - 0x3b3a7000 	C:\PROGRA~1\Java\jre6\bin\client\jvm.dll
0x6d7b0000 - 0x6d7bc000 	C:\PROGRA~1\Java\jre6\bin\verify.dll
0x3b3b0000 - 0x3b3cf000 	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

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:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:/Program Files/Java/jdk1.6.0_21/bin/../jre/bin/client;C:/Program Files/Java/jdk1.6.0_21/bin/../jre/bin;C:/Program Files/Java/jdk1.6.0_21/bin/../jre/lib/i386;C:\Program Files\Java\jdk1.6.0_21\bin;c:\borland\bcc55\bin;C:\Program Files\Common Files\Nero\Lib\;C:\Program Files\Common Files\Nero\LibUSERNAME=Owner
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 1001284k(169140k free), swap 2406808k(1416828k free)

vm_info: Java HotSpot(TM) Client VM (17.0-b17) for windows-x86 JRE (1.6.0_21-b07), built on Jul 17 2010 01:10:15 by "java_re" with MS VC++ 7.1 (VS2003)

time: Tue Oct 05 23:58:14 2010
elapsed time: 0 seconds

---------- END SOURCE ----------
There are reported the same crashes with netbeans (https://netbeans.org/bugzilla/show_bug.cgi?id=179348). It seems to happen with different versions of netbean and JRE combinations (and different hotspot versions, including 14.3-b01, 16.3-b01).

So far, I could not reproduce the crash with eclipse and netbean.

According to reports, the crashes happen on some most used functions, such as opening project, etc. So, I don't believe they are common cases, the crashes have to be caused by particular configuration of the machines (version of Dlls, etc.). Noticeablly, most of crash reports show presenting of BitDefender 2010's Dll and m32 files.

Comments
EVALUATION I could not reproduce the crashes. I also contacted Netbeans folk (Antonin Nebuzelsky) who was responsible for Netbeans Bug 179348, he could not reproduce the crashes either. I believe this bug has something to do with particular system configuration. Noticeably, the hs_err files show the "Bits Defender" anti-virus modules presented in crash cases. I downgrade the bug priority, since It does not look like a common failure.
10-01-2011