Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6583391

Regression gc/gctests/StringInternGC crashes with EXCEPTION_ACCESS_VIOLATION WinXP AMD64

    Details

    • Subcomponent:
      gc
    • Introduced In Version:
      6u1
    • CPU:
      generic
    • OS:
      generic

      Description

      The gc/gctests/StringInternGC test crashes with EXCEPTION_ACCESS_VIOLATION 6u3, 6u2, 6u1 server VM and PASS with JDK 6 fcs b105 on amd64 Windows XP SP1 and SP2.

      VM Types/Modes/Hotspot Flags (from week1 vm set):

      -d64 -Xcomp -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled

      The test PASS if -XX:+CMSClassUnloadingEnabled removed from ADHOC keys.

      Full hs_err log can be found in comments.

      Test log:

      [2007-07-19T12:07:45.36] export SHELL
      [2007-07-19T12:07:45.37] export DISPLAY
      [2007-07-19T12:07:45.37] export LIBJSIG_PATH
      [2007-07-19T12:07:45.37] export SystemRoot
      [2007-07-19T12:07:45.37] export TESTBASE
      [2007-07-19T12:07:45.37] export RAS_OPTIONS
      [2007-07-19T12:07:45.37] export HOME
      [2007-07-19T12:07:45.37] export ROOTDIR
      [2007-07-19T12:07:45.37] export LD_LIBRARY_PATH
      [2007-07-19T12:07:45.37] export CLASSPATH
      [2007-07-19T12:07:45.37] export TEMP
      [2007-07-19T12:07:45.37] export WINDIR
      [2007-07-19T12:07:45.37] export PATH
      [2007-07-19T12:07:45.37] TEST_DEST_DIR="StringInternGC"
      [2007-07-19T12:07:45.48] # Actual: TEST_DEST_DIR=StringInternGC
      [2007-07-19T12:07:45.48] TESTNAME="${test_case_name}"
      [2007-07-19T12:07:45.48] # Actual: TESTNAME=StringInternGC
      [2007-07-19T12:07:45.48] testName="gc/gctests//StringInternGC"
      [2007-07-19T12:07:45.48] # Actual: testName=gc/gctests//StringInternGC
      [2007-07-19T12:07:45.48] TESTDIR="${test_work_dir}"
      [2007-07-19T12:07:45.48] # Actual: TESTDIR=C:\local\3495.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_win2003-amd64_113D004DED7\results/Administrator.Windows_2003.amd64/StringInternGC
      [2007-07-19T12:07:45.48] testWorkDir="${test_work_dir}/"
      [2007-07-19T12:07:45.48] # Actual: testWorkDir=C:\local\3495.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_win2003-amd64_113D004DED7\results/Administrator.Windows_2003.amd64/StringInternGC/
      [2007-07-19T12:07:45.48] export testWorkDir
      [2007-07-19T12:07:45.48] tlogOutFile="${test_work_dir}/${test_name}.tlog"
      [2007-07-19T12:07:45.48] # Actual: tlogOutFile=C:\local\3495.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_win2003-amd64_113D004DED7\results/Administrator.Windows_2003.amd64/StringInternGC/StringInternGC.tlog
      [2007-07-19T12:07:45.48] testErrFile="${test_work_dir}/${test_name}.err"
      [2007-07-19T12:07:45.48] # Actual: testErrFile=C:\local\3495.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_win2003-amd64_113D004DED7\results/Administrator.Windows_2003.amd64/StringInternGC/StringInternGC.err
      [2007-07-19T12:07:45.48] EXECUTE_CLASS="${test_name}"
      [2007-07-19T12:07:45.48] # Actual: EXECUTE_CLASS=StringInternGC
      [2007-07-19T12:07:45.48] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/jni"
      [2007-07-19T12:07:45.48] # Actual: LD_LIBRARY_PATH=;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jni
      [2007-07-19T12:07:45.48] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/malloc"
      [2007-07-19T12:07:45.48] # Actual: LD_LIBRARY_PATH=;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jni;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/malloc
      [2007-07-19T12:07:45.48] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/jvmti"
      [2007-07-19T12:07:45.48] # Actual: LD_LIBRARY_PATH=;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jni;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/malloc;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jvmti
      [2007-07-19T12:07:45.48] LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${SEPARATOR}${COMMON_LIBS_LOCATION}/lib/${ARCH}/nsk/share/gc/lock/jniref"
      [2007-07-19T12:07:45.48] # Actual: LD_LIBRARY_PATH=;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jni;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/malloc;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jvmti;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jniref
      [2007-07-19T12:07:45.48] export LD_LIBRARY_PATH
      [2007-07-19T12:07:45.48] EXECUTE_CLASS="gc.gctests.StringInternGC.StringInternGC"
      [2007-07-19T12:07:45.48] # Actual: EXECUTE_CLASS=gc.gctests.StringInternGC.StringInternGC
      [2007-07-19T12:07:45.48] TEST_ARGS="${STRESS_OPTIONS}"
      [2007-07-19T12:07:45.48] # Actual: TEST_ARGS=-stressTime 10 -stressDebug
      [2007-07-19T12:07:45.48] APPLICATION_TIMEOUT="${TIMEOUT}"
      [2007-07-19T12:07:45.48] # Actual: APPLICATION_TIMEOUT=30
      [2007-07-19T12:07:45.48] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2007-07-19T12:07:45.48] # Actual: CLASSPATH=C:\local\3495.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_win2003-amd64_113D004DED7\results/Administrator.Windows_2003.amd64/StringInternGC;K:/vmsqe/gtee/suites/6-ur/vm/bin/classes;C:/local/common/jdk/6/latest/windows-amd64/lib/tools.jar
      [2007-07-19T12:07:45.48] export CLASSPATH
      [2007-07-19T12:07:45.48] PATH="${PATH}${PS}${LD_LIBRARY_PATH}"
      [2007-07-19T12:07:45.48] # Actual: PATH=C:/local/common/jdk/6/latest/windows-amd64/bin;C:/local/common/jdk/6/latest/windows-amd64/jre/bin/server;D:/WINDOWS/system32;D:/MKSTOO~1/mksnt;;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jni;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/malloc;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jvmti;K:/vmsqe/gtee/suites/6-ur/vm/bin/lib/windows-amd64/nsk/share/gc/lock/jniref
      [2007-07-19T12:07:45.48] export PATH
      [2007-07-19T12:07:45.48] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2007-07-19T12:07:45.56] # Actual: C:/local/common/jdk/6/latest/windows-amd64/bin/java -server -Xcomp -DHANGINGJAVA3196 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled gc.gctests.StringInternGC.StringInternGC -stressTime 10 -stressDebug
      [2007-07-19T12:07:45.56] Stress time: 10
      [2007-07-19T12:07:51.31] Stress iterations factor: 1
      [2007-07-19T12:07:51.31] Stress threads factor: 1
      [2007-07-19T12:07:51.31] Max memory: 85917696
      [2007-07-19T12:07:51.31] Sleep time: 500
      [2007-07-19T12:07:51.31] Iterations: 0
      [2007-07-19T12:07:51.31] Number of threads: 2
      [2007-07-19T12:07:51.31] Seed: 1184846870718
      [2007-07-19T12:07:51.31] Run GC thread: false
      [2007-07-19T12:07:51.31] Run mem diag thread: true
      [2007-07-19T12:07:51.31] Run forever: false
      [2007-07-19T12:07:51.31] Starting Thread[gc.gctests.StringInternGC.StringInternGC$StringGenerator@41ac1fe4,5,main]
      [2007-07-19T12:07:51.31] Starting Thread[gc.gctests.StringInternGC.StringInternGC$StringGenerator@b61d36b,5,main]
      [2007-07-19T12:07:51.31] Starting Thread[nsk.share.runner.MemDiag@437f1ba3,5,main]
      [2007-07-19T12:07:51.31] gc.gctests.StringInternGC.StringInternGC$StringGenerator@41ac1fe4: Starting stress execution: 0
      [2007-07-19T12:07:51.31] gc.gctests.StringInternGC.StringInternGC$StringGenerator@41ac1fe4: Stress time: 10
      [2007-07-19T12:07:51.31] gc.gctests.StringInternGC.StringInternGC$StringGenerator@41ac1fe4: Iterations: 0
      [2007-07-19T12:07:51.31] gc.gctests.StringInternGC.StringInternGC$StringGenerator@b61d36b: Starting stress execution: 0
      [2007-07-19T12:07:51.31] gc.gctests.StringInternGC.StringInternGC$StringGenerator@b61d36b: Stress time: 10
      [2007-07-19T12:07:51.31] gc.gctests.StringInternGC.StringInternGC$StringGenerator@b61d36b: Iterations: 0
      [2007-07-19T12:07:51.31] nsk.share.runner.MemDiag@437f1ba3: Starting stress execution: 0
      [2007-07-19T12:07:52.05] nsk.share.runner.MemDiag@437f1ba3: Stress time: 10
      [2007-07-19T12:07:52.05] nsk.share.runner.MemDiag@437f1ba3: Iterations: 0
      [2007-07-19T12:07:52.05] 82011296
      [2007-07-19T12:07:52.05] 69946536
      [2007-07-19T12:07:52.05] #
      [2007-07-19T12:07:52.05] # An unexpected error has been detected by Java Runtime Environment:
      [2007-07-19T12:07:52.05] #
      [2007-07-19T12:07:52.05] # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000807c0e6, pid=648, tid=5196
      [2007-07-19T12:07:52.05] #
      [2007-07-19T12:07:52.05] # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-ea-b01 compiled mode windows-amd64)
      [2007-07-19T12:07:52.05] # Problematic frame:
      [2007-07-19T12:07:52.05] # V [jvm.dll+0x7c0e6]
      [2007-07-19T12:07:52.05] #
      [2007-07-19T12:07:52.05] # An error report file with more information is saved as:
      [2007-07-19T12:07:52.05] # C:\local\3495.JDK6_UR.PROMOTION.VM+vm_6-ur_server_comp_win2003-amd64_113D004DED7\results\Administrator.Windows_2003.amd64\StringInternGC\hs_err_pid648.log
      [2007-07-19T12:07:52.05] #
      [2007-07-19T12:07:52.05] # If you would like to submit a bug report, please visit:
      [2007-07-19T12:07:52.05] # http://java.sun.com/webapps/bugreport/crash.jsp
      [2007-07-19T12:07:52.05] #
      [2007-07-19T12:07:52.05] Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
      [2007-07-19T12:07:52.05] # Test level exit status: 1
      [2007-07-19T12:07:53.05]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apetrusenko Andrey Petrusenko (Inactive)
                Reporter:
                rkapshevsunw Roman Kapshevich (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: