FULL PRODUCT VERSION :
Java HotSpot(TM) 64-Bit Server VM (11.2-b01) for windows-amd64 JRE (1.6.0_12-b04), built on Jan 17 2009 01:49:05 by "java_re" with MS VC++ 8.0
FULL OS VERSION :
Microsoft Windows [Version 5.2.3790]
A DESCRIPTION OF THE PROBLEM :
The server VM crashes in the ConcurrentGCThread.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start any java application and use the following GC params for startup: -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=70 -XX:CMSIncrementalSafetyFactor=40 -XX:+CMSClassUnloadingEnabled -server
Afterwards set the application under load so that the GC needs to do it's work.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected:
-> The JVM runs stable.
Actual:
-> The JVM occasionally crashes in the ConcurrentGCThread.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000351118e8, pid=5428, tid=3876
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.2-b01 mixed mode windows-amd64)
# Problematic frame:
# C 0x00000000351118e8
#
# 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 (0x0000000001cabc00): ConcurrentGCThread [stack: 0x000000003bf60000,0x000000003c060000] [id=3876]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000a9d803
Registers:
EAX=0x00000000360ef840, EBX=0x000000003c05f910, ECX=0x00000000360ef8b8, EDX=0x00000000360ef728
ESP=0x000000003c05f5a8, EBP=0x000000000000000d, ESI=0x000000003c05f910, EDI=0x00000000360ef778
EIP=0x00000000351118e8, EFLAGS=0x0000000000010a86
Top of Stack: (sp=0x000000003c05f5a8)
0x000000003c05f5a8: 000000006d97ee86 00000000360ee900
0x000000003c05f5b8: 000000006d98e030 0000000001c98a60
0x000000003c05f5c8: 000000006d989653 000000003c05f910
0x000000003c05f5d8: 000000006dba2a31 00000000360ef1b0
0x000000003c05f5e8: 000000006d98d985 00000000360ef728
0x000000003c05f5f8: 00000000360ef778 0000000001d2c340
0x000000003c05f608: 0000000000000000 000000003c05f8c0
0x000000003c05f618: 0000000001ca0fb0 00000000360ef710
0x000000003c05f628: 000000006d97f15a 00000000360eee58
0x000000003c05f638: 0000000001ca0fb0 000000003c05f8c0
0x000000003c05f648: 00000000360ef1b0 00000000360e8e00
0x000000003c05f658: 0000000000000d40 0000000001d3ff50
0x000000003c05f668: 000000006d95e50f 00000000360ef710
0x000000003c05f678: 000000003c05f8c0 000000003c05f710
0x000000003c05f688: 00000000360ef800 00000000360e8e00
0x000000003c05f698: 0000000000000d40 0000000000000091
Instructions: (pc=0x00000000351118e8)
0x00000000351118d8: 01 00 00 00 00 00 00 00 00 00 11 35 00 00 00 00
0x00000000351118e8: a0 03 d8 a9 00 00 00 00 00 00 00 00 30 00 00 00
Stack: [0x000000003bf60000,0x000000003c060000], sp=0x000000003c05f5a8, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x00000000351118e8
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000001c72000 JavaThread "Thread-2" daemon [_thread_blocked, id=3924, stack(0x000000003ecf0000,0x000000003edf0000)]
0x0000000001c71800 JavaThread "Start Level Event Dispatcher" daemon [_thread_in_vm, id=2788, stack(0x000000003dbf0000,0x000000003dcf0000)]
0x0000000001c71400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=5996, stack(0x000000003daf0000,0x000000003dbf0000)]
0x0000000001c70c00 JavaThread "State Saver" [_thread_blocked, id=5848, stack(0x000000003d770000,0x000000003d870000)]
0x0000000001c70400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=180, stack(0x000000003c860000,0x000000003c960000)]
0x0000000001c6fc00 JavaThread "CompilerThread1" daemon [_thread_blocked, id=2200, stack(0x000000003c760000,0x000000003c860000)]
0x0000000001c6f800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=384, stack(0x000000003c660000,0x000000003c760000)]
0x0000000001c6f000 JavaThread "Attach Listener" daemon [_thread_blocked, id=572, stack(0x000000003c560000,0x000000003c660000)]
0x0000000001c6e800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4948, stack(0x000000003c460000,0x000000003c560000)]
0x0000000001ca1800 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=4888, stack(0x000000003c360000,0x000000003c460000)]
0x0000000001c6e000 JavaThread "Finalizer" daemon [_thread_blocked, id=2536, stack(0x000000003c260000,0x000000003c360000)]
0x0000000001c6d800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5704, stack(0x000000003c160000,0x000000003c260000)]
0x0000000001c6d400 JavaThread "main" [_thread_blocked, id=1460, stack(0x0000000001d50000,0x0000000001e50000)]
Other Threads:
0x000000003a94e800 VMThread [stack: 0x000000003c060000,0x000000003c160000] [id=5192]
0x000000003a94f000 WatcherThread [stack: 0x000000003c960000,0x000000003ca60000] [id=6128]
=>0x0000000001cabc00 (exited) ConcurrentGCThread [stack: 0x000000003bf60000,0x000000003c060000] [id=3876]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x0000000001c90cc0] UNKNOWN - owner thread: 0x0000000001c71800
Heap
par new generation total 19136K, used 12842K [0x0000000005110000, 0x00000000065d0000, 0x0000000007aa0000)
eden space 17024K, 63% used [0x0000000005110000, 0x0000000005b8aa88, 0x00000000061b0000)
from space 2112K, 100% used [0x00000000063c0000, 0x00000000065d0000, 0x00000000065d0000)
to space 2112K, 0% used [0x00000000061b0000, 0x00000000061b0000, 0x00000000063c0000)
concurrent mark-sweep generation total 72368K, used 3248K [0x0000000007aa0000, 0x000000000c14c000, 0x0000000035110000)
concurrent-mark-sweep perm gen total 21248K, used 16246K [0x0000000035110000, 0x00000000365d0000, 0x000000003a510000)
Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:\devtools\jdk1.6.0_12_x64\jre\bin\java.exe
0x0000000077ec0000 - 0x0000000077ff9000 C:\WINDOWS\system32\ntdll.dll
0x0000000077d40000 - 0x0000000077eb3000 C:\WINDOWS\system32\kernel32.dll
0x000007ff7fee0000 - 0x000007ff7ffe5000 C:\WINDOWS\system32\ADVAPI32.dll
0x000007ff7fd30000 - 0x000007ff7fec9000 C:\WINDOWS\system32\RPCRT4.dll
0x000007ff7e9c0000 - 0x000007ff7e9e2000 C:\WINDOWS\system32\Secur32.dll
0x000000006d890000 - 0x000000006de48000 C:\devtools\jdk1.6.0_12_x64\jre\bin\server\jvm.dll
0x0000000077c20000 - 0x0000000077d2c000 C:\WINDOWS\system32\USER32.dll
0x000007ff7fc90000 - 0x000007ff7fd2c000 C:\WINDOWS\system32\GDI32.dll
0x000007ff7e240000 - 0x000007ff7e290000 C:\WINDOWS\system32\WINMM.dll
0x000007ff7fc00000 - 0x000007ff7fc86000 C:\WINDOWS\system32\msvcrt.dll
0x000007ff7d500000 - 0x000007ff7d539000 C:\WINDOWS\system32\IMM32.DLL
0x000000006d3b0000 - 0x000000006d3ba000 C:\devtools\jdk1.6.0_12_x64\jre\bin\hpi.dll
0x000007ff7e380000 - 0x000007ff7e390000 C:\WINDOWS\system32\PSAPI.DLL
0x000000006d800000 - 0x000000006d80e000 C:\devtools\jdk1.6.0_12_x64\jre\bin\verify.dll
0x000000006d450000 - 0x000000006d477000 C:\devtools\jdk1.6.0_12_x64\jre\bin\java.dll
0x000000006d850000 - 0x000000006d862000 C:\devtools\jdk1.6.0_12_x64\jre\bin\zip.dll
0x0000000068000000 - 0x000000006804c000 C:\WINDOWS\system32\rsaenh.dll
0x000007ff7c680000 - 0x000007ff7c78a000 C:\WINDOWS\system32\USERENV.dll
0x000007ff77370000 - 0x000007ff77409000 C:\WINDOWS\system32\netapi32.dll
0x000000006d6a0000 - 0x000000006d6b7000 C:\devtools\jdk1.6.0_12_x64\jre\bin\net.dll
0x000007ff77310000 - 0x000007ff77340000 C:\WINDOWS\system32\WS2_32.dll
0x000007ff77140000 - 0x000007ff7714c000 C:\WINDOWS\system32\WS2HELP.dll
0x000007ff771b0000 - 0x000007ff7722d000 C:\WINDOWS\System32\mswsock.dll
0x000007ff7e8f0000 - 0x000007ff7e93e000 C:\WINDOWS\system32\DNSAPI.dll
0x000007ff7e9f0000 - 0x000007ff7e9fb000 C:\WINDOWS\System32\winrnr.dll
0x000007ff7e950000 - 0x000007ff7e9b6000 C:\WINDOWS\system32\WLDAP32.dll
0x000007ff7ea00000 - 0x000007ff7ea07000 C:\WINDOWS\system32\rasadhlp.dll
0x000000006d6c0000 - 0x000000006d6cb000 C:\devtools\jdk1.6.0_12_x64\jre\bin\nio.dll
VM Arguments:
jvm_args: -Dbuildservertests=true -Dcom.mytest.integrationtest.ant -Dcom.mytest.qa.junit.category=[WindowsOnly], [Critical] -Dcom.mytest.qa.junit.testwatcher.timeout=960000 -Dcom.mytest.qa.util.org.junit4.defaulttimeout=900000 -Dcom.mytest.qa.junit.ignoreuntil.jlt=${com.mytest.qa.junit.ignoreuntil.jlt} -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=70 -XX:CMSIncrementalSafetyFactor=40 -XX:+CMSClassUnloadingEnabled -ea -Xbootclasspath/a:C:\qb\build\company\trunk\CI\integrationtests\test.windows.x64\checkouts\integrationtests\osgi.integrationtest.test\${clover.home}\lib\clover.jar -Ddummy -Dcom.mytest.discovery.extraplugindirectories=../../integrationtests/osgi.integrationtest.test/runtimedata/conf/;../../integrationtests/osgi.integrationtest.test/runtimedata/conf/sensors/ -Xmx768m -Djava.home.x86=C:/devtools/jdk1.6.0_12 -Dsun.java.home.16=C:/devtools/jdk1.6.0_12_x64 -Dsun.java.home.15=C:/devtools/jdk1.5.0_10 -Dsun.java.home.14=C:/devtools/j2sdk1.4.2_08 -Dsun.java.home=C:/devtools/jdk1.6.0_12_x64 -Dcom.mytest.integrationtest.system.property.dotnetloadgenerator20.dir=C:\qb\build\demoapps\dotnetloadgenerator20/checkouts -Dcom.mytest.integrationtest.system.property.gospace.dir=C:\qb\build\demoapps\gospace\checkouts\dist/gospace -Dcom.mytest.integrationtest.system.property.simpleloadgenerator.dir=C:\qb\build\demoapps\simpleloadgenerator/checkouts -Dcom.mytest.integrationtest.system.property.dotnetpay.dir=C:\qb\build\demoapps\dotnetpay\checkouts\dist\dotnetpay -Dcom.mytest.integrationtest.system.property.dotnetloadgenerator.dir=C:\qb\build\demoapps\dotnetloadgenerator/checkouts -Djava.home=C:\devtools\jdk1.6.0_12_x64\jre -Dcom.mytest.integrationtest.system.property.activemqpath.dir=C:/repository/incubator-activemq-4.0.1
java_command: C:\qb\build\company\trunk\CI\integrationtests\test.windows.x64\checkouts\integrationtests\osgi.integrationtest.test\..\..\application\server\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar com.mytest.integrationtest.server.JavaAlwaysSendHTTPHeaderTest filtertrace=true haltOnError=false haltOnFailure=false formatter=org.apache.tools.ant.taskdefs.optional.junit.OutErrSummaryJUnitResultFormatter showoutput=true outputtoformatters=true logtestlistenerevents=true formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\qb\publish\company\trunk\CI\integrationtests\test.windows.x64\builds\3.1.0.1670-00.30\junitHtmlReport\TEST-com.mytest.integrationtest.server.JavaAlwaysSendHTTPHeaderTest.xml crashfile=C:\qb\build\company\trunk\CI\integrationtests\test.windows.x64\checkouts\integrationtests\osgi.integrationtest.test\junitvmwatcher1235759147.properties propsfile=C:\qb\build\company\trunk\CI\integrationtests\test.windows.x64\checkouts\integrationtests\osgi.integrationtest.test\junit1278554794.properties -configuration C:\qb\build\company\trunk\CI\integrationtests\test.windows.x64\checkouts\integrationtests\osgi.integrationtest.test\configuration -consolelog -testpluginname osgi.integrationtest.test
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:/devtools/jdk1.6.0_12_x64
PATH=C:\Program Files (x86)\BullseyeCoverage\bin;C:\Program Files (x86)\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Dell\SysMgt\oma\bin;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\NCoverUSERNAME=labuser
DISPLAY=localhost:5.0
OS=Windows_NT
PROCESSOR_IDENTIFIER=EM64T Family 15 Model 6 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 2
CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 6 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3
Memory: 4k page, physical 6290520k(2997644k free), swap 15319648k(13626804k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (11.2-b01) for windows-amd64 JRE (1.6.0_12-b04), built on Jan 17 2009 01:49:05 by "java_re" with MS VC++ 8.0
time: Thu Mar 26 05:39:12 2009
elapsed time: 7 seconds
REPRODUCIBILITY :
This bug can be reproduced occasionally.