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

Share W/S: 2 Regression-test tests fail with VM Abort

    XMLWordPrintable

Details

    • beta
    • x86
    • windows_xp
    • Verified

    Description



      Name: vsR10238 Date: 09/24/2003


      Filed By : J2SE-SQA [###@###.###
      JDK :
           Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b19)
           Java HotSpot(TM) Client VM (build 20030915105831.kbr.share_baseline_testing, mixed mode)

      Testbase : Regression-test (for JDK1.5.0-b19)
      Platform[s] : Windows XP Pro, Linux 7.3
      switch/Mode : -client
      Falling test[s]:
               java/management/MemoryMBean/LowMemoryTestAllGC.sh
               java/management/MemoryMBean/PendingAllGC.sh

      These 2 Regression-test tests crash using JDK1.5.0-b19 with the VM with the class sharing.

      The bug may be a duplicate of 4926564, but since I am not sure about it I decided to file a separate one
      for these failures.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/management/MemoryMBean/LowMemoryTestAllGC.sh
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/management/MemoryMBean/PendingAllGC.sh

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b19s/regtest/win32/winXP_linux-16/workDir/test/java/management/MemoryMBean/LowMemoryTestAllGC.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b19s/regtest/win32/winXP_linux-16/workDir/test/java/management/MemoryMBean/PendingAllGC.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      #KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
      KOORI_ONESTOP="z:"
      #JPSE04 is your path to /net/jdk/export/jpse04
      JPSE04="x:"

      #JT_HOME="h:/java/jct"
      JT_HOME="$KOORI_ONESTOP/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      JEMMY_JAR="$JPSE04/Jemmy/jemmy.jar"
      #JAVA_HOME="h:/java/jdk1.5.0/win32"
      JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b19/binaries/windows-i586"

      #TEST_BASE_PATH="h:/java/regtest.tiger/test"
      TEST_BASE_PATH="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b19/ws/j2se/test"


      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"

      TEST="java/management/MemoryMBean/LowMemoryTestAllGC.sh"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,SystemRoot=$SystemRoot,PATH=${SHELL%/*},CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-16" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"

      --- script end ---


      Test output (jtr part):
      =======================
      ----------System.out:(70/2704)----------
      runOne LowMemoryTest
      Setting threshold for Tenured Gen from 0 to 2000000. Current used = 0
      AllocatorThread is doing task 1
           Sensor notification count = 1 Prev count = 0
      SweepThread is doing task 1
      AllocatorThread is doing task 2
           Sensor notification count = 2 Prev count = 1
      SweepThread is doing task 2
      AllocatorThread is doing task 3
           Sensor notification count = 3 Prev count = 2
      SweepThread is doing task 3
      AllocatorThread is doing task 4
           Sensor notification count = 4 Prev count = 3
      SweepThread is doing task 4
      AllocatorThread is doing task 5
           Sensor notification count = 5 Prev count = 4
      SweepThread is doing task 5
      Test passed.
      runOne -XX:+UseParallelGC LowMemoryTest
      Setting threshold for PS Old Gen from 0 to 2000000. Current used = 0
      AllocatorThread is doing task 1
           Sensor notification count = 1 Prev count = 0
      SweepThread is doing task 1
      AllocatorThread is doing task 2
           Sensor notification count = 2 Prev count = 1
      SweepThread is doing task 2
      AllocatorThread is doing task 3
           Sensor notification count = 3 Prev count = 2
      SweepThread is doing task 3
      AllocatorThread is doing task 4
           Sensor notification count = 4 Prev count = 3
      SweepThread is doing task 4
      AllocatorThread is doing task 5
           Sensor notification count = 5 Prev count = 4
      SweepThread is doing task 5
      Test passed.
      runOne -XX:+UseTrainGC LowMemoryTest
      Setting threshold for Train Gen from 0 to 2000000. Current used = 0
      AllocatorThread is doing task 1
           Sensor notification count = 1 Prev count = 0
      SweepThread is doing task 1
      AllocatorThread is doing task 2
           Sensor notification count = 2 Prev count = 1
      SweepThread is doing task 2
      AllocatorThread is doing task 3
           Sensor notification count = 3 Prev count = 2
      SweepThread is doing task 3
      AllocatorThread is doing task 4
           Sensor notification count = 4 Prev count = 3
      SweepThread is doing task 4
      AllocatorThread is doing task 5
           Sensor notification count = 5 Prev count = 4
      SweepThread is doing task 5
      Test passed.
      runOne -XX:+UseConcMarkSweepGC LowMemoryTest
      Setting threshold for CMS Old Gen from 0 to 2000000. Current used = 0
      AllocatorThread is doing task 1
           Sensor notification count = 1 Prev count = 0
      SweepThread is doing task 1
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (47454E45524154494F4E0E4850500167), pid=21148, tid=20676
      #
      # Java VM: Java HotSpot(TM) Client VM (20030915105831.kbr.share_baseline_testing mixed mode)
      # An error report file with more information is saved as hs_err_pid21148.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: exit code 2


      test result: Failed. Execution failed: exit code 2



      hs_err_pid21148.log:
      =======================
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (47454E45524154494F4E0E4850500167), pid=21148, tid=20676
      #
      # Java VM: Java HotSpot(TM) Client VM (20030915105831.kbr.share_baseline_testing mixed mode)

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

      Current thread (0x009c1308): VMThread [id=20676]

      Stack: [0x052e0000,0x05320000), sp=0x0531f91c, free space=254k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x128470]
      V [jvm.dll+0x5c984]
      V [jvm.dll+0x50cd2]
      V [jvm.dll+0x6710f]
      V [jvm.dll+0x55ddb]
      V [jvm.dll+0x55cab]
      V [jvm.dll+0x55bbd]
      V [jvm.dll+0x65fc0]
      V [jvm.dll+0x66610]
      V [jvm.dll+0x12cddb]
      V [jvm.dll+0x12cf7b]
      V [jvm.dll+0x12cd10]
      C [MSVCRT.dll+0x27fb8]
      C [kernel32.dll+0x202ed]

      VM_Operation (0x057af86c): full generation collection, mode: safepoint, requested by thread 0x00a0b428


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

      Java Threads: ( => current thread )
         0x00a0b428 JavaThread "Thread-1" [_thread_blocked, id=21228]
         0x00a0aea0 JavaThread "Thread-0" [_thread_blocked, id=21944]
         0x00a0ac98 JavaThread "Senor Notification Emitter" daemon [_thread_blocked, id=10108]
         0x009d0988 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=16644]
         0x009cf648 JavaThread "CompilerThread0" daemon [_thread_blocked, id=28544]
         0x009ce908 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14804]
         0x009cddf8 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=3368]
         0x009c52d0 JavaThread "Finalizer" daemon [_thread_blocked, id=13600]
         0x009c3de0 JavaThread "Reference Handler" daemon [_thread_blocked, id=12704]
         0x00034f20 JavaThread "main" [_thread_blocked, id=23156]

      Other Threads:
      =>0x009c1308 VMThread [id=20676]
         0x009d1a88 WatcherThread [id=14368]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x00034af0/0x00000f04] Threads_lock - owner thread: 0x009c1308
      [0x00034ca0/0x00000ec0] Heap_lock - owner thread: 0x00a0b428

      Heap
        def new generation total 4032K, used 986K [0x10010000, 0x10410000, 0x10410000)
         eden space 3968K, 24% used [0x10010000, 0x10106b40, 0x103f0000)
         from space 64K, 0% used [0x10400000, 0x10400000, 0x10410000)
         to space 64K, 0% used [0x103f0000, 0x103f0000, 0x10400000)
        concurrent mark-sweep generation total 12288K, used 3022K [0x10410000, 0x11010000, 0x14010000)
        concurrent-mark-sweep perm gen total 8192K, used 1426K [0x14010000, 0x14810000, 0x19010000)

      Dynamic libraries:
      0x00400000 - 0x00407000 h:\java\jdk1.5.0\win32.shared\bin\java.exe
      0x77f50000 - 0x77ff9000 C:\WINDOWS\System32\ntdll.dll
      0x77e60000 - 0x77f45000 C:\WINDOWS\system32\kernel32.dll
      0x77dd0000 - 0x77e5b000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77cc0000 - 0x77d35000 C:\WINDOWS\system32\RPCRT4.dll
      0x77c10000 - 0x77c63000 C:\WINDOWS\system32\MSVCRT.dll
      0x08000000 - 0x0819a000 h:\java\jdk1.5.0\win32.shared\jre\bin\client\jvm.dll
      0x77d40000 - 0x77dcd000 C:\WINDOWS\system32\USER32.dll
      0x77c70000 - 0x77cb0000 C:\WINDOWS\system32\GDI32.dll
      0x76b40000 - 0x76b6c000 C:\WINDOWS\System32\WINMM.dll
      0x10000000 - 0x10007000 h:\java\jdk1.5.0\win32.shared\jre\bin\hpi.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\System32\PSAPI.DLL
      0x76f90000 - 0x76fa0000 C:\WINDOWS\System32\Secur32.dll
      0x003a0000 - 0x003ae000 h:\java\jdk1.5.0\win32.shared\jre\bin\verify.dll
      0x003b0000 - 0x003cc000 h:\java\jdk1.5.0\win32.shared\jre\bin\java.dll
      0x003d0000 - 0x003de000 h:\java\jdk1.5.0\win32.shared\jre\bin\zip.dll
      0x056e0000 - 0x056e6000 H:\java\jdk1.5.0\win32.shared\jre\bin\management.dll

      VM Arguments:
      jvm_args: -XX:+UseConcMarkSweepGC
      java_command: LowMemoryTest

      Environment Variables:
      PATH=C:/PROGRA~1/MKSTOO~1/mksnt


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

      OS: Windows XP Build 2600

      CPU:total 1(active 1) family 6, cmov, cx8, fxsr, mmx, sse

      Memory: 4k page, physical 260328k(106424k free), swap 640968k(400256k free)


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro



      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              kbr Kenneth Russell (Inactive)
              vshsunw Vsh Vsh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: