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

Regression-test: 4 java/lang/management/MemoryMBean tests crash

    Details

      Description



      Name: icR10030 Date: 08/21/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b15
      Testbase : Regression-test
      Platform[s] : all Windows
      switch/Mode : -client
      Falling test[s]:
      java/lang/management/MemoryMBean/LowMemoryTest.java
      java/lang/management/MemoryMBean/MemoryManagement.java
      java/lang/management/MemoryMBean/MemoryManagementAllGC.sh
      java/lang/management/MemoryMBean/LowMemoryTestAllGC.sh


      4 Regression-tests java/lang/management/MemoryMBean/LowMemoryTest.java test crash JDK1.5.0-b15 on Windows.
      The tests pass on Linux and Solaris.
      The tests pass on tiger-b14.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/regtest/win32/winXP_smp_linux-21/workDir/test/java/lang/management/MemoryMBean/LowMemoryTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/regtest/win32/winXP_smp_linux-21/workDir/test/java/lang/management/MemoryMBean/LowMemoryTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/regtest/win32/winXP_smp_linux-21/workDir/test/java/lang/management/MemoryMBean/MemoryManagement.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/regtest/win32/winXP_smp_linux-21/workDir/test/java/lang/management/MemoryMBean/MemoryManagementAllGC.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/regtest/win32/winXP_smp_linux-21/workDir/test/java/lang/management/MemoryMBean/LowMemoryTestAllGC.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
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.5.0/win32"
      TEST_BASE_PATH="h:/java/regtest.tiger/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      JTOPTS="-client"
      TESTVMOPTS="-client"

      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar;$JT_HOME/jemmy/jemmy.jar"

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      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 -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST=

      -DDISPLAY=:0 -DlocalHost="linux-21" -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/java/lang/management/MemoryMBean/LowMemoryTest.java"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(14/457)----------
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x02ebf69d, pid=3228, tid=2920
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b15 mixed mode)
      # Problematic frame:
      # C 0x02ebf69d
      #
      # An error report file with more information is saved as hs_err_pid3228.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. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]


      Specific machine info:
      ======================
      Hostname: linux-21
      OS: Windows XP Home



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

        Attachments

          Activity

            People

            • Assignee:
              mchung Mandy Chung
              Reporter:
              ichesunw Iche Iche (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: