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

nsk/hprof/options/* cause the VM crash with specific gc -XX:+UseConcMarkSweepGC

XMLWordPrintable

    • svc
    • generic
    • windows

      nsk/hprof/options/* cause the 1.4.2 client VM crash with specific gc -XX:+UseConcMarkSweepGC at windows box. The test pass with empty ADHOC key. This is not regression. The tests fail with 1.4.2_13 and lates 1.4.2 (142_17 rev b10).

      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (5041522E455727454E45524154494F4E0E435050014C), pid=23188, tid=28980
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode)
      # An error report file with more information is saved as hs_err_pid23188.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      The tests that crash VM:

      nsk/hprof/options/cpu/cpu001 compile_and_execute
      nsk/hprof/options/cpu/cpu002 compile_and_execute
      nsk/hprof/options/cpu/cpu003 compile_and_execute
      nsk/hprof/options/cutoff/cutoff005 compile_and_execute
      nsk/hprof/options/cutoff/cutoff006 compile_and_execute
      nsk/hprof/options/cutoff/cutoff007 compile_and_execute
      nsk/hprof/options/depth/depth004 compile_and_execute
      nsk/hprof/options/depth/depth005 compile_and_execute
      nsk/hprof/options/depth/depth006 compile_and_execute
      nsk/hprof/options/doe/doe004 compile_and_execute
      nsk/hprof/options/doe/doe005 compile_and_execute
      nsk/hprof/options/doe/doe006 compile_and_execute
      nsk/hprof/options/format/format005 compile_and_execute
      nsk/hprof/options/lineno/lineno004 compile_and_execute
      nsk/hprof/options/lineno/lineno005 compile_and_execute
      nsk/hprof/options/lineno/lineno006 compile_and_execute
      nsk/hprof/options/thread/thread004 compile_and_execute
      nsk/hprof/options/thread/thread005 compile_and_execute
      nsk/hprof/options/thread/thread006 compile_and_execute

      = How to reproduce

      1. log on to stt-27.russia (vnc or remote desctop) password in comments
      2. ksh
      3. cd C:\jqa\ts142\vm
      4. check vm.x86.windows.ini
      VM_ADHOC_KEY=-XX:+UseConcMarkSweepGC should set
      5. java -cp k:/testsuites/common/tonga2.0.jar Tonga -suiteDir /src -iniFile vm.x86.windows.ini

      tongasetupini:
      http://vice.russia/results/1.4.2_17/b10/vm/x86-windowsvista/vm.x86.windows.ini

      = Test log

      Full tests logs:

      http://vice.russia/results/1.4.2_17/b10/vm/x86-windowsvista/

      Core dump and one test logs:

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (5041522E455727454E45524154494F4E0E435050014C), pid=10712, tid=30504
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_17-rev-b10 mixed mode)

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

      Current thread (0x0147ec70): GCTaskThread [id=30504]

      Stack: [0x00000000,0x00000000), sp=0x003ffb60, free space=4094k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xe0639]
      V [jvm.dll+0x57b19]
      V [jvm.dll+0xb1416]
      V [jvm.dll+0xe662f]
      V [jvm.dll+0xaddaa]
      C [MSVCRT.dll+0x262b6]
      C [MSVCRT.dll+0x263de]
      C [kernel32.dll+0x43833]
      C [ntdll.dll+0x3a9bd]


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

      Java Threads: ( => current thread )
        0x014d7c18 JavaThread "Finalizer" daemon [_thread_blocked, id=4452]
        0x014d7210 JavaThread "Reference Handler" daemon [_thread_blocked, id=24448]
        0x00957ca0 JavaThread "main" [_thread_blocked, id=31324]

      Other Threads:
        0x014d6300 VMThread [id=28356]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x00957ad8/0x00000114] Threads_lock - owner thread: 0x014d6300
      [0x009570c0/0x00000158] Heap_lock - owner thread: 0x00957ca0

      Heap
       par new generation total 4032K, used 100K [0x10010000, 0x10410000, 0x10410000)
        eden space 3968K, 2% used [0x10010000, 0x10029178, 0x103f0000)
        from space 64K, 0% used [0x103f0000, 0x103f0000, 0x10400000)
        to space 64K, 0% used [0x10400000, 0x10400000, 0x10410000)
       concurrent mark-sweep generation total 12288K, used 0K [0x10410000, 0x11010000, 0x14010000)
       concurrent-mark-sweep perm gen total 4096K, used 862K [0x14010000, 0x14410000, 0x18010000)

      Dynamic libraries:
      0x00400000 - 0x0040b000 C:\JDK\j2sdk1.4.2_17\bin\java.exe
      0x76f40000 - 0x7705e000 C:\Windows\system32\ntdll.dll
      0x76e60000 - 0x76f38000 C:\Windows\system32\kernel32.dll
      0x76b20000 - 0x76bdf000 C:\Windows\system32\ADVAPI32.dll
      0x75e80000 - 0x75f43000 C:\Windows\system32\RPCRT4.dll
      0x75950000 - 0x759fa000 C:\Windows\system32\MSVCRT.dll
      0x08000000 - 0x08144000 C:\JDK\j2sdk1.4.2_17\jre\bin\client\jvm.dll
      0x75d50000 - 0x75dee000 C:\Windows\system32\USER32.dll
      0x770d0000 - 0x7711b000 C:\Windows\system32\GDI32.dll
      0x73fb0000 - 0x73fe3000 C:\Windows\system32\WINMM.dll
      0x76d10000 - 0x76e54000 C:\Windows\system32\ole32.dll
      0x75cc0000 - 0x75d4c000 C:\Windows\system32\OLEAUT32.dll
      0x74db0000 - 0x74de8000 C:\Windows\system32\OLEACC.dll
      0x77060000 - 0x7707e000 C:\Windows\system32\IMM32.DLL
      0x75bf0000 - 0x75cb7000 C:\Windows\system32\MSCTF.dll
      0x75630000 - 0x7565c000 C:\Windows\system32\apphelp.dll
      0x75be0000 - 0x75be9000 C:\Windows\system32\LPK.DLL
      0x758d0000 - 0x7594d000 C:\Windows\system32\USP10.dll
      0x10000000 - 0x10007000 C:\JDK\j2sdk1.4.2_17\jre\bin\hpi.dll
      0x75760000 - 0x75767000 C:\Windows\system32\PSAPI.DLL
      0x75690000 - 0x756a4000 C:\Windows\system32\Secur32.dll
      0x000b0000 - 0x000be000 C:\JDK\j2sdk1.4.2_17\jre\bin\verify.dll
      0x000c0000 - 0x000d9000 C:\JDK\j2sdk1.4.2_17\jre\bin\java.dll
      0x002c0000 - 0x002ce000 C:\JDK\j2sdk1.4.2_17\jre\bin\zip.dll
      0x00940000 - 0x0094c000 C:\JDK\j2sdk1.4.2_17\jre\bin\hprof.dll
      0x73640000 - 0x73647000 C:\Windows\system32\WSOCK32.dll
      0x75f50000 - 0x75f7d000 C:\Windows\system32\WS2_32.dll
      0x770c0000 - 0x770c6000 C:\Windows\system32\NSI.dll

      VM Arguments:
      jvm_args: -Xmixed -XX:-ShowMessageBoxOnError -XX:+UseConcMarkSweepGC -Xrunhprof:cpu=times,doe=n,file=C:/jqa/ts142/vm/Administrator.Windows_Vista.x86/doe005/doe005.hprof.out
      java_command: doe005
      Launcher Type: SUN_STANDARD

      Environment Variables:
      CLASSPATH=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/doe005;k:/dtf/dtf_ws/suites/142_Suites/142_VM/src/classes;c:/JDK/j2sdk1.4.2_17/lib/tools.jar
      PATH=C:\JDK\j2sdk1.4.2_17\bin;K:\dtf\dtf_ws\suites\142_Suites\142_VM\src\nsk\share\lib\wintel;C:\JDK\j2sdk1.4.2_17\jre\bin\client
      SHELL=C:\PROGRA~1\MKSTOO~1\mksnt\sh.exe


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

      OS: Windows NT 6.0 Build 6000

      CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2

      Memory: 4k page, physical 1047232k(558220k free), swap 2385044k(1441448k free)

      vm_info: Java HotSpot(TM) Client VM (1.4.2_17-rev-b10) for windows-x86, built on Mar 20 2008 19:27:34 by "java_re" with MS VC++ 6.0



      #
      [2008-04-02T09:23:24.57] export CLASSPATH
      [2008-04-02T09:23:24.57] export RAS_OPTIONS
      [2008-04-02T09:23:24.57] export PATH
      [2008-04-02T09:23:24.57] export SHELL
      [2008-04-02T09:23:24.57] export WINDIR
      [2008-04-02T09:23:24.57] export SystemRoot
      [2008-04-02T09:23:24.57]
      [2008-04-02T09:23:24.57]
      [2008-04-02T09:23:24.57] # Dtonga sync function sub.
      [2008-04-02T09:23:24.57] cwd=`echo $0 | sed 's/[^\/]*.tlog//'`
      [2008-04-02T09:23:24.57]
      [2008-04-02T09:23:24.57] dt_wait () {
      [2008-04-02T09:23:24.57] # Is not emplemented yet
      [2008-04-02T09:23:24.57] sleep 5
      [2008-04-02T09:23:24.57] }
      [2008-04-02T09:23:24.57] dt_post () {
      [2008-04-02T09:23:24.57] # Is not emplemented yet
      [2008-04-02T09:23:24.57] echo $@
      [2008-04-02T09:23:24.57] }
      [2008-04-02T09:23:24.57]
      [2008-04-02T09:23:24.57] dt_kill () {
      [2008-04-02T09:23:24.57] # Is not emplemented yet
      [2008-04-02T09:23:24.57] echo $@
      [2008-04-02T09:23:24.57] }
      [2008-04-02T09:23:24.57]
      [2008-04-02T09:23:24.57]
      [2008-04-02T09:23:24.57] # Dtonga deploy function sub.
      [2008-04-02T09:23:24.57] deploy () {
      [2008-04-02T09:23:24.57] rsh $1 sh -s << --EOF--
      [2008-04-02T09:23:24.57] `cat ${cwd}/${2}/${3}.tlog`
      [2008-04-02T09:23:24.57] --EOF--
      [2008-04-02T09:23:24.57] }
      [2008-04-02T09:23:24.57]
      [2008-04-02T09:23:24.57] TEST_DEST_DIR="cpu001"
      [2008-04-02T09:23:27.00] # Actual: TEST_DEST_DIR=cpu001
      [2008-04-02T09:23:27.00] TESTNAME="${test_case_name}"
      [2008-04-02T09:23:27.00] # Actual: TESTNAME=cpu001
      [2008-04-02T09:23:27.00] testName="nsk/hprof/options/cpu//cpu001"
      [2008-04-02T09:23:27.00] # Actual: testName=nsk/hprof/options/cpu//cpu001
      [2008-04-02T09:23:27.00] TESTDIR="${test_work_dir}"
      [2008-04-02T09:23:27.00] # Actual: TESTDIR=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001
      [2008-04-02T09:23:27.00] testWorkDir="${test_work_dir}/"
      [2008-04-02T09:23:27.00] # Actual: testWorkDir=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001/
      [2008-04-02T09:23:27.00] export testWorkDir
      [2008-04-02T09:23:27.00] tlogOutFile="${test_work_dir}/${test_name}.tlog"
      [2008-04-02T09:23:27.00] # Actual: tlogOutFile=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001/cpu001.tlog
      [2008-04-02T09:23:27.00] testErrFile="${test_work_dir}/${test_name}.err"
      [2008-04-02T09:23:27.00] # Actual: testErrFile=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001/cpu001.err
      [2008-04-02T09:23:27.00] EXECUTE_CLASS="${test_name}"
      [2008-04-02T09:23:27.00] # Actual: EXECUTE_CLASS=cpu001
      [2008-04-02T09:23:27.00] HPROFTESTLIBPATH="${TESTBASE}/src/nsk/share/hprof"
      [2008-04-02T09:23:27.00] # Actual: HPROFTESTLIBPATH=k:/dtf/dtf_ws/suites/142_Suites/142_VM/src/nsk/share/hprof
      [2008-04-02T09:23:27.00] JAVA_OPTS="${JAVA} ${JAVA_OPTS} -Xrunhprof:cpu=samples,file=${testWorkDir}cpu001.hprof.out"
      [2008-04-02T09:23:27.00] # Actual: JAVA_OPTS=c:/j2sdk1.4.2_13/bin/java -client -Xmixed -XX:-ShowMessageBoxOnError -XX:+UseConcMarkSweepGC -Xrunhprof:cpu=samples,file=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001/cpu001.hprof.out
      [2008-04-02T09:23:27.00] JAVA="${PERL} -I${HPROFTESTLIBPATH} ${RUN_HPROF}"
      [2008-04-02T09:23:27.00] # Actual: JAVA=C:/PROGRA~1/MKSTOO~1/mksnt/perl.exe -Ik:/dtf/dtf_ws/suites/142_Suites/142_VM/src/nsk/share/hprof k:/dtf/dtf_ws/suites/142_Suites/142_VM/src/nsk/hprof/share/run_hprof.pl
      [2008-04-02T09:23:27.00] APPLICATION_TIMEOUT="${TIMEOUT}"
      [2008-04-02T09:23:27.00] # Actual: APPLICATION_TIMEOUT=30
      [2008-04-02T09:23:27.00] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2008-04-02T09:23:27.00] # Actual: CLASSPATH=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001;k:/dtf/dtf_ws/suites/142_Suites/142_VM/src/classes;k:/dtf/dtf_ws/suites/142_Suites/142_VM/javatest.jar;c:/j2sdk1.4.2_13/lib/tools.jar
      [2008-04-02T09:23:27.00] export CLASSPATH
      [2008-04-02T09:23:27.01] PATH="${PATH}${PS}${LD_LIBRARY_PATH}"
      [2008-04-02T09:23:27.01] # Actual: PATH=c:/j2sdk1.4.2_13/bin;k:/dtf/dtf_ws/suites/142_Suites/142_VM/src/nsk/share/lib/wintel;c:/j2sdk1.4.2_13/jre/bin/client;
      [2008-04-02T09:23:27.01] export PATH
      [2008-04-02T09:23:27.01] ${JAVAC} ${JAVAC_OPTS} -d ${test_work_dir} ${test_work_dir}/cpu001.java
      [2008-04-02T09:23:27.01] # Actual: c:/j2sdk1.4.2_13/bin/javac -d C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001 C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001/cpu001.java
      [2008-04-02T09:23:27.01] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS} 1>${test_work_dir}/${test_name}.eout
      [2008-04-02T09:23:28.09] # Actual: C:/PROGRA~1/MKSTOO~1/mksnt/perl.exe -Ik:/dtf/dtf_ws/suites/142_Suites/142_VM/src/nsk/share/hprof k:/dtf/dtf_ws/suites/142_Suites/142_VM/src/nsk/hprof/share/run_hprof.pl c:/j2sdk1.4.2_13/bin/java -client -Xmixed -XX:-ShowMessageBoxOnError -XX:+UseConcMarkSweepGC -Xrunhprof:cpu=samples,file=C:\jqa\ts142\vm/Administrator.Windows_Vista.x86/cpu001/cpu001.hprof.out cpu001
      [2008-04-02T09:23:28.09] [thread 5948 also had an error]#
      [2008-04-02T09:23:28.53]
      [2008-04-02T09:23:28.53] # An unexpected error has been detected by HotSpot Virtual Machine:
      [2008-04-02T09:23:28.53] #
      [2008-04-02T09:23:28.53] # Internal Error (5041522E455727454E45524154494F4E0E435050014C), pid=23188, tid=28980
      [2008-04-02T09:23:28.53] #
      [2008-04-02T09:23:28.53] # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode)
      [2008-04-02T09:23:28.53] # An error report file with more information is saved as hs_err_pid23188.log
      [2008-04-02T09:23:28.53] #
      [2008-04-02T09:23:28.53] # If you would like to submit a bug report, please visit:
      [2008-04-02T09:23:28.53] # http://java.sun.com/webapps/bugreport/crash.jsp
      [2008-04-02T09:23:28.53] #
      [2008-04-02T09:23:28.53] # Test level exit status: 1
      [2008-04-02T09:23:28.53]

            nikgor Nikolay Gorshkov
            rkapshevsunw Roman Kapshevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: