JDK-6565513 : CMS: assert at blockOffsetTable.cpp:39: assert(left_blk_size > 0,"Should be positive")
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2007-06-04
  • Updated: 2012-02-01
  • Resolved: 2010-12-01
Related Reports
Relates :  
Relates :  
Description
#
[2007-06-01T03:49:46.79] export SHELL
[2007-06-01T03:49:46.79] export DISPLAY
[2007-06-01T03:49:46.79] export LIBJSIG_PATH
[2007-06-01T03:49:46.79] export SystemRoot
[2007-06-01T03:49:46.79] export TESTBASE
[2007-06-01T03:49:46.79] export RAS_OPTIONS
[2007-06-01T03:49:46.79] export HOME
[2007-06-01T03:49:46.79] export LD_LIBRARY_PATH
[2007-06-01T03:49:46.79] export CLASSPATH
[2007-06-01T03:49:46.79] export TEMP
[2007-06-01T03:49:46.79] export WINDIR
[2007-06-01T03:49:46.79] export PATH
[2007-06-01T03:49:46.79] 
[2007-06-01T03:49:46.79] 
[2007-06-01T03:49:46.79] # Dtonga sync function sub.
[2007-06-01T03:49:46.79] cwd=`echo $0 | sed 's/[^\/]*.tlog//'`
[2007-06-01T03:49:46.79] 
[2007-06-01T03:49:46.79] dt_wait () {
[2007-06-01T03:49:46.79] # Is not emplemented yet
[2007-06-01T03:49:46.79] 	sleep 5
[2007-06-01T03:49:46.79] }
[2007-06-01T03:49:46.79] dt_post () {
[2007-06-01T03:49:46.79] # Is not emplemented yet
[2007-06-01T03:49:46.79] 	echo $@
[2007-06-01T03:49:46.79] }
[2007-06-01T03:49:46.79] 
[2007-06-01T03:49:46.79] dt_kill () {
[2007-06-01T03:49:46.79] # Is not emplemented yet
[2007-06-01T03:49:46.79] 	echo $@
[2007-06-01T03:49:46.79] }
[2007-06-01T03:49:46.79] 
[2007-06-01T03:49:46.79] 
[2007-06-01T03:49:46.79] # Dtonga deploy function sub.
[2007-06-01T03:49:46.79] deploy () {
[2007-06-01T03:49:46.79] 	rsh $1 sh -s << --EOF--
[2007-06-01T03:49:46.79] 	`cat ${cwd}/${2}/${3}.tlog`
[2007-06-01T03:49:46.79] --EOF--
[2007-06-01T03:49:46.79] }
[2007-06-01T03:49:46.79] 
[2007-06-01T03:49:46.79] TEST_DEST_DIR="Churn3a"
[2007-06-01T03:51:48.67] # Actual: TEST_DEST_DIR=Churn3a
[2007-06-01T03:51:48.67] TESTNAME="${test_case_name}"
[2007-06-01T03:51:48.67] # Actual: TESTNAME=Churn3a
[2007-06-01T03:51:48.67] testName="gc/memory/Churn//Churn3a"
[2007-06-01T03:51:48.67] # Actual: testName=gc/memory/Churn//Churn3a
[2007-06-01T03:51:48.67] TESTDIR="${test_work_dir}"
[2007-06-01T03:51:48.67] # Actual: TESTDIR=/export/local/1599.JDK7.NIGHTLY.VM+64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist/results/ResultDir/Churn3a
[2007-06-01T03:51:48.67] testWorkDir="${test_work_dir}/"
[2007-06-01T03:51:48.67] # Actual: testWorkDir=/export/local/1599.JDK7.NIGHTLY.VM+64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist/results/ResultDir/Churn3a/
[2007-06-01T03:51:48.67] export testWorkDir
[2007-06-01T03:51:48.67] tlogOutFile="${test_work_dir}/${test_name}.tlog"
[2007-06-01T03:51:48.67] # Actual: tlogOutFile=/export/local/1599.JDK7.NIGHTLY.VM+64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist/results/ResultDir/Churn3a/Churn3a.tlog
[2007-06-01T03:51:48.67] testErrFile="${test_work_dir}/${test_name}.err"
[2007-06-01T03:51:48.67] # Actual: testErrFile=/export/local/1599.JDK7.NIGHTLY.VM+64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist/results/ResultDir/Churn3a/Churn3a.err
[2007-06-01T03:51:48.67] EXECUTE_CLASS="${test_name}"
[2007-06-01T03:51:48.67] # Actual: EXECUTE_CLASS=Churn3a
[2007-06-01T03:51:48.67] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/jni"
[2007-06-01T03:51:48.67] # Actual: LD_LIBRARY_PATH=/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64:/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64/server:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/jni
[2007-06-01T03:51:48.67] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/malloc"
[2007-06-01T03:51:48.67] # Actual: LD_LIBRARY_PATH=/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64:/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64/server:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/jni:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/malloc
[2007-06-01T03:51:48.67] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/jvmti"
[2007-06-01T03:51:48.67] # Actual: LD_LIBRARY_PATH=/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64:/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64/server:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/jni:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/malloc:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/jvmti
[2007-06-01T03:51:48.67] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/jniref"
[2007-06-01T03:51:48.67] # Actual: LD_LIBRARY_PATH=/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64:/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64/server:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/jni:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/malloc:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/jvmti:/export/local/common/testbase/6/vm/bin/lib/solaris-amd64/nsk/share/gc/lock/jniref
[2007-06-01T03:51:48.67] export LD_LIBRARY_PATH
[2007-06-01T03:51:48.67] EXECUTE_CLASS="gc.memory.Churn.Churn3.Churn3"
[2007-06-01T03:51:48.67] # Actual: EXECUTE_CLASS=gc.memory.Churn.Churn3.Churn3
[2007-06-01T03:51:48.67] TEST_ARGS="-tg -tf ${STRESS_OPTIONS}"
[2007-06-01T03:51:48.67] # Actual: TEST_ARGS=-tg -tf
[2007-06-01T03:51:48.67] APPLICATION_TIMEOUT="${TIMEOUT}"
[2007-06-01T03:51:48.67] # Actual: APPLICATION_TIMEOUT=30
[2007-06-01T03:51:48.67] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
[2007-06-01T03:51:48.67] # Actual: CLASSPATH=/export/local/1599.JDK7.NIGHTLY.VM+64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist/results/ResultDir/Churn3a:/export/local/common/testbase/6/vm/bin/classes:/export/local/common/jdk/baseline/solaris-amd64/lib/tools.jar
[2007-06-01T03:51:48.67] export CLASSPATH
[2007-06-01T03:51:48.67] ${JAVA}  ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS} 1>${test_work_dir}/${test_name}.eout 
[2007-06-01T03:51:48.69] # Actual: /export/local/common/jdk/baseline/solaris-amd64/bin/java -d64 -server -Xmixed -DHANGINGJAVA17573 -XX:-PrintVMOptions -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+ExplicitGCInvokesConcurrent gc.memory.Churn.Churn3.Churn3 -tg -tf
[2007-06-01T03:51:48.69] Stress time: 60
[2007-06-01T03:52:18.99] Stress iterations factor: 1
[2007-06-01T03:52:18.99] Stress threads factor: 1
[2007-06-01T03:52:18.99] Max memory: 86704128
[2007-06-01T03:52:18.99] Sleep time: 500
[2007-06-01T03:52:18.99] Iterations: 0
[2007-06-01T03:52:18.99] Number of threads: 2
[2007-06-01T03:52:18.99] Seed: 1180669909137
[2007-06-01T03:52:18.99] Run GC thread: true
[2007-06-01T03:52:18.99] Run mem diag thread: true
[2007-06-01T03:52:18.99] Run forever: false
[2007-06-01T03:52:18.99] Starting Thread[gc.memory.Churn.Churn3.Churn3$ThreadObject@3cb89838,5,main]
[2007-06-01T03:52:18.99] Starting Thread[gc.memory.Churn.Churn3.Churn3$ThreadObject@4310b053,5,main]
[2007-06-01T03:52:18.99] Starting Thread[nsk.share.runner.GCRunner@7ca83b8a,5,main]
[2007-06-01T03:52:18.99] Starting Thread[nsk.share.runner.FinRunner@8dd20f6,5,main]
[2007-06-01T03:52:18.99] Starting Thread[nsk.share.runner.MemDiag@6d9efb05,5,main]
[2007-06-01T03:52:18.99] 31990744
[2007-06-01T03:52:18.99] 11003224
[2007-06-01T03:52:18.99] 34373568
[2007-06-01T03:52:18.99] 34371160
[2007-06-01T03:52:18.99] 19274136
[2007-06-01T03:52:18.99] 26597760
[2007-06-01T03:52:18.99] 34377416
[2007-06-01T03:52:18.99] 23731464
[2007-06-01T03:52:18.99] 26715480
[2007-06-01T03:52:18.99] 34379000
[2007-06-01T03:52:18.99] 15395792
[2007-06-01T03:52:18.99] 19222520
[2007-06-01T03:52:18.99] 34381568
[2007-06-01T03:52:18.99] 19399496
[2007-06-01T03:52:18.99] 34379568
[2007-06-01T03:52:18.99] 34387376
[2007-06-01T03:52:18.99] 34381112
[2007-06-01T03:52:18.99] 27295912
[2007-06-01T03:52:18.99] 34379504
[2007-06-01T03:52:18.99] 34392744
[2007-06-01T03:52:18.99] 34382712
[2007-06-01T03:52:18.99] 20988312
[2007-06-01T03:52:18.99] 34379656
[2007-06-01T03:52:18.99] 34384024
[2007-06-01T03:52:18.99] 26785320
[2007-06-01T03:52:18.99] 34380632
[2007-06-01T03:52:18.99] 26720544
[2007-06-01T03:52:18.99] 34388048
[2007-06-01T03:52:18.99] 34390312
[2007-06-01T03:52:18.99] 34384648
[2007-06-01T03:52:18.99] 34382280
[2007-06-01T03:52:18.99] 19229864
[2007-06-01T03:52:18.99] 34393048
[2007-06-01T03:52:18.99] 19637096
[2007-06-01T03:52:18.99] 34383168
[2007-06-01T03:52:18.99] 34381256
[2007-06-01T03:52:18.99] 19774024
[2007-06-01T03:52:18.99] 34381672
[2007-06-01T03:52:18.99] 34387048
[2007-06-01T03:52:18.99] 25998344
[2007-06-01T03:52:18.99] 34388056
[2007-06-01T03:52:18.99] 12631960
[2007-06-01T03:52:18.99] 34392672
[2007-06-01T03:52:18.99] 34385880
[2007-06-01T03:52:18.99] 20064376
[2007-06-01T03:52:18.99] 34380312
[2007-06-01T03:52:18.99] 24833504
[2007-06-01T03:52:18.99] 34380552
[2007-06-01T03:52:18.99] 34383168
[2007-06-01T03:52:18.99] 34387288
[2007-06-01T03:52:18.99] 26568640
[2007-06-01T03:52:18.99] 34379560
[2007-06-01T03:52:18.99] 34388912
[2007-06-01T03:52:30.96] 26727024
[2007-06-01T03:52:30.96] 19704408
[2007-06-01T03:52:30.96] 34379368
[2007-06-01T03:52:30.96] 26789544
[2007-06-01T03:52:30.96] 34380616
[2007-06-01T03:52:30.96] 22268888
[2007-06-01T03:52:30.96] 34379856
[2007-06-01T03:52:30.96] 34389280
[2007-06-01T03:52:30.96] 34391496
[2007-06-01T03:52:30.96] 19594624
[2007-06-01T03:52:30.96] 34387952
[2007-06-01T03:52:30.96] 19459320
[2007-06-01T03:52:30.96] 34379800
[2007-06-01T03:52:30.96] 19502352
[2007-06-01T03:52:30.96] 34380456
[2007-06-01T03:52:30.96] 34381848
[2007-06-01T03:52:30.96] 26957056
[2007-06-01T03:52:30.96] 13027864
[2007-06-01T03:52:30.96] 34378768
[2007-06-01T03:52:30.96] 19212416
[2007-06-01T03:52:30.96] 34389680
[2007-06-01T03:52:30.96] # To suppress the following error report, specify this argument
[2007-06-01T03:52:30.96] # after -XX: or in .hotspotrc:  SuppressErrorAt=/blockOffsetTable.cpp:390
[2007-06-01T03:52:30.96] #
[2007-06-01T03:52:30.96] # An unexpected error has been detected by Java Runtime Environment:
[2007-06-01T03:52:30.96] #
[2007-06-01T03:52:30.96] #  Internal Error (/net/prt-sol-x64-1/tmp/PrtBuildDir/workspace/src/share/vm/memory/blockOffsetTable.cpp:390), pid=19025, tid=4
[2007-06-01T03:52:30.96] #  Error: assert(left_blk_size > 0,"Should be positive")
[2007-06-01T03:52:30.96] #
[2007-06-01T03:52:30.96] # Java VM: Java HotSpot(TM) 64-Bit Server VM (20070525142420.ysr.mustang-fastdebug mixed mode solaris-amd64)
[2007-06-01T03:52:30.96] # An error report file with more information is saved as:
[2007-06-01T03:52:30.96] # /export/local/1599.JDK7.NIGHTLY.VM+64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist/results/hs_err_pid19025.log
[2007-06-01T03:52:30.96] #
[2007-06-01T03:52:30.96] # If you would like to submit a bug report, please visit:
[2007-06-01T03:52:30.96] #   http://java.sun.com/webapps/bugreport/crash.jsp
[2007-06-01T03:52:30.96] #
[2007-06-01T03:52:30.96] VM option '-PrintVMOptions'
[2007-06-01T03:52:30.96] VM option '+UseConcMarkSweepGC'
[2007-06-01T03:52:45.00] VM option '+CMSClassUnloadingEnabled'
[2007-06-01T03:52:45.00] VM option '+ExplicitGCInvokesConcurrent'
[2007-06-01T03:52:45.00] Current thread is 4
[2007-06-01T03:52:45.00] Dumping core ...
[2007-06-01T03:52:45.00] # Test level exit status: 6
[2007-06-01T03:52:45.05]
gc.memory.Churn.Churn3

gc/memory/Churn/Churn3
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (/net/prt-sol-x64-1/tmp/PrtBuildDir/workspace/src/share/vm/memory/blockOffsetTable.cpp:390), pid=19025, tid=4
#  Error: assert(left_blk_size > 0,"Should be positive")
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20070525142420.ysr.mustang-fastdebug mixed mode solaris-amd64)
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

        Actual vm_info:   [Java HotSpot(TM) 64-Bit Server VM (20070525142420.ysr.mustang-fastdebug) for solaris-amd64, built on May 26 2007 14:27:42 by "PRT" with unknown Workshop:0x580]
         
         JVM symbol lookup may be incorrect.
         Please use --jvm=<path/to/jvm> to point to the correct JVM.

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

Current thread (0x0000000000456c00):  GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=4]

Stack: 
[error occurred during error reporting (printing stack bounds), id 0xe0000000]

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Warning: This error log is *not* generated by the following JVM:
           ./libjvm.so
         JVM symbol lookup may be incorrect.
         Please use --jvm=<path/to/jvm> to point to the correct JVM.

V  [libjvm.so+0x137c3a4];;  void VMError::report(outputStream*)+0x784
V  [libjvm.so+0x137d38a];;  void VMError::report_and_die()+0x4da
V  [libjvm.so+0x731e71];;  void report_assertion_failure(const char*,int,const char*)+0x61
V  [libjvm.so+0x137cdec];;  void VMError::report(outputStream*)+0x11cc
V  [libjvm.so+0x137d38a];;  void VMError::report_and_die()+0x4da
V  [libjvm.so+0x731e71];;  void report_assertion_failure(const char*,int,const char*)+0x61
V  [libjvm.so+0x4f46bf];;  void BlockOffsetArrayNonContigSpace::split_block(HeapWord*,unsigned long,unsigned long)+0x5bf
V  [libjvm.so+0x676aec];;  void CompactibleFreeListSpace::par_get_chunk_of_blocks(unsigned long,unsigned long,FreeList*)+0x2dc
V  [libjvm.so+0x676399];;  HeapWord*CFLS_LAB::alloc(unsigned long)+0x59
V  [libjvm.so+0x6c047b];;  oop ConcurrentMarkSweepGeneration::par_promote(int,oop,markOopDesc*,unsigned long)+0x25b
V  [libjvm.so+0xfc87aa];;  oop ParNewGeneration::copy_to_survivor_space_avoiding_promotion_undo(ParScanThreadState*,oop,unsigned long,markOopDesc*)+0x53a
V  [libjvm.so+0x8a2151];;  void ParScanClosure::do_oop_work(oop*,bool,bool)+0x471
V  [libjvm.so+0x88be45];;  int instanceKlass::oop_oop_iterate_nv(oop,ParScanWithBarrierClosure*)+0x255
V  [libjvm.so+0xfc37d4];;  void ParScanThreadState::trim_queues(int)+0x244
V  [libjvm.so+0x8a219b];;  void ParScanClosure::do_oop_work(oop*,bool,bool)+0x4bb
V  [libjvm.so+0xfcc3d3];;  void ParRootScanWithBarrierTwoGensClosure::do_oop(oop*)+0x13
V  [libjvm.so+0xf7946d];;  int objArrayKlass::oop_oop_iterate_nv_m(oop,FilteringClosure*,MemRegion)+0x1dd
V  [libjvm.so+0x665b14];;  void FreeListSpace_DCTOC::walk_mem_region_with_cl_par(MemRegion,HeapWord*,HeapWord*,FilteringClosure*)+0x234
V  [libjvm.so+0x6658d8];;  void FreeListSpace_DCTOC::walk_mem_region_with_cl(MemRegion,HeapWord*,HeapWord*,FilteringClosure*)+0x58
V  [libjvm.so+0x11424f3];;  void Filtering_DCTOC::walk_mem_region(MemRegion,HeapWord*,HeapWord*)+0x83
V  [libjvm.so+0x1141f0d];;  void DirtyCardToOopClosure::do_MemRegion(MemRegion)+0x16d
V  [libjvm.so+0x5262f4];;  void ClearNoncleanCardWrapper::do_MemRegion(MemRegion)+0x2c4
V  [libjvm.so+0x523335];;  void CardTableModRefBS::process_stride(Space*,MemRegion,int,int,DirtyCardToOopClosure*,MemRegionClosure*,bool,signed char**,unsigned long,unsigned long)+0x725
V  [libjvm.so+0x5216b4];;  void CardTableModRefBS::par_non_clean_card_iterate_work(Space*,MemRegion,DirtyCardToOopClosure*,MemRegionClosure*,bool,int)+0xf4
V  [libjvm.so+0x52117f];;  void CardTableModRefBS::non_clean_card_iterate(Space*,MemRegion,DirtyCardToOopClosure*,MemRegionClosure*,bool)+0x5f
V  [libjvm.so+0x524eeb];;  void CardTableRS::younger_refs_in_space_iterate(Space*,OopsInGenClosure*)+0x9b
V  [libjvm.so+0x8207bb];;  void Generation::younger_refs_in_space_iterate(Space*,OopsInGenClosure*)+0x1b
V  [libjvm.so+0x6c86bf];;  void ConcurrentMarkSweepGeneration::younger_refs_iterate(OopsInGenClosure*)+0x5f
V  [libjvm.so+0x524d12];;  void CardTableRS::younger_refs_iterate(Generation*,OopsInGenClosure*)+0x32
V  [libjvm.so+0x80577c];;  void GenCollectedHeap::gen_process_strong_roots(int,bool,bool,SharedHeap::ScanningOption,OopsInGenClosure*,OopsInGenClosure*)+0x18c
V  [libjvm.so+0xfc552e];;  void ParNewGenTask::work(int)+0x1ee
V  [libjvm.so+0x13be9b8];;  void GangWorker::loop()+0x4b8
V  [libjvm.so+0x13be3b9];;  void GangWorker::run()+0x29
V  [libjvm.so+0xf9c1cd];;  java_start+0x26d
C  [libc.so.1+0xcb47b]  _thr_slot_offset+0x31b
C  [libc.so.1+0xcb6b0]  _thr_slot_offset+0x550


The nightly failure is in

     http://gtee.sfbay/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2007-05-31/GC_Baseline-Xconc/vm/64BITSOLARIS-AMD64/server/mixed/vm-64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist2007-05-31-19-51-37/ResultDir/Churn3a/Churn3a.log

and the corresponding hs_err log is in

     http://gtee.sfbay/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2007-05-31/GC_Baseline-Xconc/vm/64BITSOLARIS-AMD64/server/mixed/vm-64BITSOLARIS-AMD64_server_mixed_vm.gc.testlist2007-05-31-19-51-37/hs_err_pid19025.log