JDK-6581458 : Regression in 6u3b01 nsk/jvmti/RetransformClasses/retransform001 crashes with SIGSEGV
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 6u3
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2007-07-17
  • Updated: 2010-04-02
  • Resolved: 2007-07-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u3Resolved
Related Reports
Duplicate :  
Description
The nsk/jvmti/RetransformClasses/retransform001 test crashes with SIGSEGV 6u3 client VM and PASS with u2, u1, fcs on x86 RHEL5.  

Tested OSes:

x86 RHEL5 - FAIL
Sparc/ Solaris - PASS
X86/ SuSE 10 - PASS
X86/ Cinnabar Linux - PASS
x86/Windows - PASS

VM Types/Modes/Hotspot Flags:

-client -Xbatch -XX:CompileThreshold=2 -XX:+UseSerialGC

OS:

Linux stt-35 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 athlon i386 GNU/Linux
Red Hat Enterprise Linux Server release 5 (Tikanga)

Full hs_err log can be found in comments. 

Test log:
#
[2007-07-16T16:42:45.88] export SHELL
[2007-07-16T16:42:45.88] export DISPLAY
[2007-07-16T16:42:45.88] export LIBJSIG_PATH
[2007-07-16T16:42:45.88] export SystemRoot
[2007-07-16T16:42:45.88] export TESTBASE
[2007-07-16T16:42:45.88] export RAS_OPTIONS
[2007-07-16T16:42:45.88] export HOME
[2007-07-16T16:42:45.88] export LD_LIBRARY_PATH
[2007-07-16T16:42:45.88] export CLASSPATH
[2007-07-16T16:42:45.88] export TEMP
[2007-07-16T16:42:45.88] export WINDIR
[2007-07-16T16:42:45.88] export PATH
[2007-07-16T16:42:45.88] TEST_DEST_DIR="retransform001_copy_1"
[2007-07-16T16:44:55.19] # Actual: TEST_DEST_DIR=retransform001_copy_1
[2007-07-16T16:44:55.19] TESTNAME="${test_case_name}"
[2007-07-16T16:44:55.19] # Actual: TESTNAME=retransform001
[2007-07-16T16:44:55.19] testName="nsk/jvmti/RetransformClasses//retransform001"
[2007-07-16T16:44:55.19] # Actual: testName=nsk/jvmti/RetransformClasses//retransform001
[2007-07-16T16:44:55.19] TESTDIR="${test_work_dir}"
[2007-07-16T16:44:55.19] # Actual: TESTDIR=/set/stt/newroot/results/6u3/b01-rhel5/vm_3/vm/rhel5-i586/client/vm-vm_6-ur_client_rhel5-i5862007-07-16-20-41-15//ResultDir/retransform001_copy_1
[2007-07-16T16:44:55.19] testWorkDir="${test_work_dir}/"
[2007-07-16T16:44:55.19] # Actual: testWorkDir=/set/stt/newroot/results/6u3/b01-rhel5/vm_3/vm/rhel5-i586/client/vm-vm_6-ur_client_rhel5-i5862007-07-16-20-41-15//ResultDir/retransform001_copy_1/
[2007-07-16T16:44:55.19] export testWorkDir
[2007-07-16T16:44:55.19] tlogOutFile="${test_work_dir}/${test_name}.tlog"
[2007-07-16T16:44:55.19] # Actual: tlogOutFile=/set/stt/newroot/results/6u3/b01-rhel5/vm_3/vm/rhel5-i586/client/vm-vm_6-ur_client_rhel5-i5862007-07-16-20-41-15//ResultDir/retransform001_copy_1/retransform001.tlog
[2007-07-16T16:44:55.19] testErrFile="${test_work_dir}/${test_name}.err"
[2007-07-16T16:44:55.19] # Actual: testErrFile=/set/stt/newroot/results/6u3/b01-rhel5/vm_3/vm/rhel5-i586/client/vm-vm_6-ur_client_rhel5-i5862007-07-16-20-41-15//ResultDir/retransform001_copy_1/retransform001.err
[2007-07-16T16:44:55.19] EXECUTE_CLASS="${test_name}"
[2007-07-16T16:44:55.20] # Actual: EXECUTE_CLASS=retransform001
[2007-07-16T16:44:55.20] AGENT_LIB_PATH="${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/jvmti/RetransformClasses/"
[2007-07-16T16:44:55.20] # Actual: AGENT_LIB_PATH=/net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/lib/linux-i586/nsk/jvmti/RetransformClasses/
[2007-07-16T16:44:55.20] LD_LIBRARY_PATH="${AGENT_LIB_PATH}${SEPARATOR}${LD_LIBRARY_PATH}"
[2007-07-16T16:44:55.20] # Actual: LD_LIBRARY_PATH=/net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/lib/linux-i586/nsk/jvmti/RetransformClasses/:/export/local/common/jdk/6/ur/linux-i586/jre/lib/i386:/export/local/common/jdk/6/ur/linux-i586/jre/lib/i386/client
[2007-07-16T16:44:55.20] export LD_LIBRARY_PATH
[2007-07-16T16:44:55.20] TRIGGER="nsk/share/jvmti/RetransformClasses/LinearHierarchy"
[2007-07-16T16:44:55.20] # Actual: TRIGGER=nsk/share/jvmti/RetransformClasses/LinearHierarchy
[2007-07-16T16:44:55.20] AGENT_01_PARAMS="id=1 can_retransform_classes=1 trigger_class_name=${TRIGGER}"
[2007-07-16T16:44:55.20] # Actual: AGENT_01_PARAMS="id=1 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy"
[2007-07-16T16:44:55.20] AGENT_02_PARAMS="id=2 can_retransform_classes=0 trigger_class_name=${TRIGGER}"
[2007-07-16T16:44:55.20] # Actual: AGENT_02_PARAMS="id=2 can_retransform_classes=0 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy"
[2007-07-16T16:44:55.20] AGENT_03_PARAMS="id=3 can_retransform_classes=1 trigger_class_name=${TRIGGER}"
[2007-07-16T16:44:55.20] # Actual: AGENT_03_PARAMS="id=3 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy"
[2007-07-16T16:44:55.20] CLASSPATH="${CLASSPATH}${SEPARATOR}${COMMON_CLASSES_LOCATION}/../../share/lib/serp/serp.jar"
[2007-07-16T16:44:55.20] # Actual: CLASSPATH=/net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/classes:/export/local/common/jdk/6/ur/linux-i586/lib/tools.jar:/net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/../../share/lib/serp/serp.jar
[2007-07-16T16:44:55.20] JAVA_OPTS="${JAVA_OPTS} -agentlib:retransform001-01=${AGENT_01_PARAMS}"
[2007-07-16T16:44:55.20] # Actual: JAVA_OPTS=-client -Xmixed -DHANGINGJAVA22562 -Xbatch -XX:CompileThreshold=2 -XX:+UseSerialGC "-agentlib:retransform001-01=id=1 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy"
[2007-07-16T16:44:55.20] JAVA_OPTS="${JAVA_OPTS} -agentlib:retransform001-02=${AGENT_02_PARAMS}"
[2007-07-16T16:44:55.20] # Actual: JAVA_OPTS=-client -Xmixed -DHANGINGJAVA22562 -Xbatch -XX:CompileThreshold=2 -XX:+UseSerialGC "-agentlib:retransform001-01=id=1 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy" "-agentlib:retransform001-02=id=2 can_retransform_classes=0 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy"
[2007-07-16T16:44:55.20] JAVA_OPTS="${JAVA_OPTS} -agentlib:retransform001-03=${AGENT_03_PARAMS}"
[2007-07-16T16:44:55.20] # Actual: JAVA_OPTS=-client -Xmixed -DHANGINGJAVA22562 -Xbatch -XX:CompileThreshold=2 -XX:+UseSerialGC "-agentlib:retransform001-01=id=1 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy" "-agentlib:retransform001-02=id=2 can_retransform_classes=0 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy" "-agentlib:retransform001-03=id=3 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy"
[2007-07-16T16:44:55.20] TEST_ARGS="-classDir ${COMMON_CLASSES_LOCATION}/classes -timeout 2"
[2007-07-16T16:44:55.20] # Actual: TEST_ARGS=-classDir /net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/classes -timeout 2
[2007-07-16T16:44:55.20] EXECUTE_CLASS="nsk.jvmti.RetransformClasses.retransform001"
[2007-07-16T16:44:55.20] # Actual: EXECUTE_CLASS=nsk.jvmti.RetransformClasses.retransform001
[2007-07-16T16:44:55.20] APPLICATION_TIMEOUT="${TIMEOUT}"
[2007-07-16T16:44:55.20] # Actual: APPLICATION_TIMEOUT=30
[2007-07-16T16:44:55.20] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
[2007-07-16T16:44:55.20] # Actual: CLASSPATH=/set/stt/newroot/results/6u3/b01-rhel5/vm_3/vm/rhel5-i586/client/vm-vm_6-ur_client_rhel5-i5862007-07-16-20-41-15//ResultDir/retransform001_copy_1:/net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/classes:/export/local/common/jdk/6/ur/linux-i586/lib/tools.jar:/net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/../../share/lib/serp/serp.jar
[2007-07-16T16:44:55.20] export CLASSPATH
[2007-07-16T16:44:55.20] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
[2007-07-16T16:44:55.20] # Actual: /export/local/common/jdk/6/ur/linux-i586/bin/java -client -Xmixed -DHANGINGJAVA22562 -Xbatch -XX:CompileThreshold=2 -XX:+UseSerialGC "-agentlib:retransform001-01=id=1 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy" "-agentlib:retransform001-02=id=2 can_retransform_classes=0 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy" "-agentlib:retransform001-03=id=3 can_retransform_classes=1 trigger_class_name=nsk/share/jvmti/RetransformClasses/LinearHierarchy" nsk.jvmti.RetransformClasses.retransform001 -classDir /net/vmsqe.russia/export1/vmsqe/gtee/suites/6-ur/vm/bin/classes -timeout 2
[2007-07-16T16:44:55.20] Iteration #1
[2007-07-16T16:46:15.91] Iteration #2
[2007-07-16T16:46:15.91] Iteration #3
[2007-07-16T16:46:15.91] Iteration #4
[2007-07-16T16:46:15.91] Iteration #5
[2007-07-16T16:46:15.91] Iteration #6
[2007-07-16T16:46:15.91] Iteration #7
[2007-07-16T16:46:15.91] Iteration #8
[2007-07-16T16:46:15.91] Iteration #9
[2007-07-16T16:46:15.91] Iteration #10
[2007-07-16T16:46:15.91] Iteration #11
[2007-07-16T16:46:15.91] Iteration #12
[2007-07-16T16:46:15.91] Iteration #13
[2007-07-16T16:46:15.91] Iteration #14
[2007-07-16T16:46:15.91] Iteration #15
[2007-07-16T16:46:15.91] #
[2007-07-16T16:46:15.91] # An unexpected error has been detected by Java Runtime Environment:
[2007-07-16T16:46:15.91] #
[2007-07-16T16:46:15.91] #  SIGSEGV (0xb) at pc=0x061c4706, pid=22997, tid=2914204560
[2007-07-16T16:46:15.91] #
[2007-07-16T16:46:15.91] # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-ea-b01 mixed mode linux-x86)
[2007-07-16T16:46:15.91] # Problematic frame:
[2007-07-16T16:46:15.91] # V  [libjvm.so+0x1c4706]
[2007-07-16T16:46:15.91] #
[2007-07-16T16:46:15.91] # An error report file with more information is saved as:
[2007-07-16T16:46:15.91] # /tmp/63969.1.all.q/gee.stt-robot/22497/results/ResultDir/retransform001_copy_1/hs_err_pid22997.log
[2007-07-16T16:46:15.91] #
[2007-07-16T16:46:15.91] # If you would like to submit a bug report, please visit:
[2007-07-16T16:46:15.91] #   http://java.sun.com/webapps/bugreport/crash.jsp
[2007-07-16T16:46:15.91] #
[2007-07-16T16:46:15.91] # Test level exit status: 134
[2007-07-16T16:46:16.91]

Comments
EVALUATION I ran the testcase with 6u03 b01 and it reproduced the failure. I ran it without the failure with 6u03 b02. Closing as duplicate of 6530811.
26-07-2007