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

Linux: 134 JCK13 tests cause java_g crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • None
    • 1.3.1
    • hotspot
    • x86
    • linux

    Description



      Name: icR10030 Date: 01/16/2001


      134 JCK13 tests cause java_g crash with following asserts:
      # assert(0 <= rnr && rnr < nofRegs, "wrong register number")
      or
      # assert(reg.is_valid(), "invalid register")

      Platforms:
      =============
      RedHat 6.2

      JDK, switches Info:
      ===================
      java version "1.3.1beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b13)
      Java HotSpot(TM) Client VM (build 1.3.1beta-b13-debug, mixed mode)

      How to reproduce:
      ====================
      Run following script ( you may need to change some environment variables ):
      #!/bin/ksh
      #
      # README: Modify these threev variables to fit your need:
      #
      # - ${executeClass}
      # - ${excludeCmd}
      # - ${executeClassArgs}
      # - ${executeContextArgs}
      # - ${executeTestURL}
      #
      #################################

      SWITCH=${1+$@}

      #This is where you want the JDK to be use.
      #Example: JDK=/net/jdk/export/disk8/local.java/jdk1.3.1
      JDK=/net/jdk/export/disk8/local.java/jdk1.3.1

      #This is where you want the JCK to be use.
      #Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a

      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3

      JCK=${TESTBASE}/JCK-runtime-13fcs

      executeClass=javasoft.sqe.tests.vm.jni.call001.call00101m90.call00101m90
      excludeCmd=
      executeClassArgs=
      executeTestURL=

      #executeContextArgs is used for vm testing.
      executeContextArgs="-nativeCodeSupported true"

      #Example:
      #
      #executeClass=javasoft.sqe.tests.api.javax.swing.SwingUtilities.otherTests
      #excludeCmd="-exclude JComboBox2027,JComboBox2026,JComboBox2028"
      #executeClassArgs="-TestCaseID ALL"
      #executeContextArgs="-nativeCodeSupported true"
      #executeTestURL="-TestURL file:/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13fcs/tests/api/signaturetest/SignatureTest.html#CORBASignatureTest -FileName jdk1_3.CORBA.sig -Package org.omg"


      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}:${TESTBASE}/lib
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

      echo
      java_g ${SWITCH} -version
      echo
      java_g ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}


      Test output:
      =============

      java version "1.3.1beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b13)
      Java HotSpot(TM) Client VM (build 1.3.1beta-b13-debug, mixed mode)

      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(0 <= rnr && rnr < nofRegs, "wrong register number")
      #
      # Error ID: /BUILD_AREA/hotspot1.3.1/build/linux/../../src/cpu/i486/vm/c1_AllocTable_i486.hpp, 36
      #
      # Problematic Thread: prio=1 tid=0x809b388 nid=0x176 runnable
      #
      Current thread is 0x1807
      Dumping core ...
      Abort


      Specific Machine Info:
      =====================
      Hostname: linux-13

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

      Attachments

        Activity

          People

            ichesunw Iche Iche (Inactive)
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: