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

[sparc/c2/jck/b14] assertion at sharedRuntime.cpp, 387 when running jck

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • hotspot
    • sol-beta2
    • sparc
    • solaris_7


      I hit an assertion when running following jck13fcs testcase in
      build14/c2/comp mode.

      api/javax_naming/Reference/index.html

      This bug can be reproduced with latest
      c2 binary. This is new failure in build 14.(pass with build 13)

      To reproduce the bug:
      1. cd /net/sqesvr/vsn/GammaBase/Bugs/<Bug ID>
      2. run doIt.ksh -jvm [your java]
      output log & java source & core file under the same directory.

      $ cat doIt.ksh
      #!/bin/ksh
      # This script generated on Wed May 3 17:39:27 PDT 2000 by fhsu
      #
      # -jvm to specify Java VM you want to use.
      # (Ex. -jvm /usr/local/java1.3/bin/java_g )
      # -vmopts : specify vm options
      # (Ex. -vmopts "-server -Xint" )
      # -jt : Use javatest harness to run tests.
      while [[ $# -gt 0 ]]
      do
        case $1 in
          -jvm )
            jvm=$2
            shift
            ;;
          -vmopts )
            vmopts=$2
            shift
            ;;
          -jt )
            jt=true
            ;;
        esac
        shift
      done


      export jvm=${jvm:="/net/yetoom/export/jdk/Solaris_JDK_1.3-b14/bin/java"}
      export jvm_args=${jvm_args:="-Xcomp -verify"}
      export jvm_type="-server"
      export vmopts=${vmopts:="$jvm_type $jvm_args"}
      export JAVA_HOME="$(dirname $jvm)/.."

      export ExecJCKTestOtherJVMCmd=javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd
      export ProcessCommand=
      export ExecJCKTestSameJVMCmd=

      export testURL="file:/net/tapas/export0/JCK-13/tests/api/javax_naming/Reference/index.html#ReferenceGetNull"
      export testWorkDirURL=file:$(pwd)
      export RMIRegistryPort=
      export testSuiteRootDir=/net/tapas/export0/JCK-13/tests
      export javatestClassDir=/net/tapas/export0/JCK-13/javatest.jar
      export testExecuteClass=javasoft.sqe.tests.api.javax.naming.ReferenceTest
      export testExecuteArgs="-TestCaseID getNull"
      export testClassDir="/net/minifridge/export/disk2/jckresult/Solaris_JDK_1.3-b14/sun4u_5.8/server.comp.jck/jtpfiles/../classes"


      export CLASSPATH=${javatestClassDir}:${testSuiteRootDir}/../classes
      export LD_LIBRARY_PATH=$testSuiteRootDir/../lib:/java/jck-dev/pkgs/jckjni/kestrel/jck-13w2
      export command="java -cp $CLASSPATH $ExecJCKTestOtherJVMCmd CLASSPATH=$testSuiteRootDir/../classes:$javatestClassDir DISPLAY=ultrawolf:0 LD_LIBRARY_PATH=$testSuiteRootDir/../lib:/java/jck-dev/pkgs/jckjni/kestrel/jck-13w2 $jvm $vmopts -Djava.security.policy=$testSuiteRootDir/../lib/jck.policy $testExecuteClass $testExecuteArgs"
      export command_nojt="$jvm $vmopts -Djava.security.policy=$testSuiteRootDir/../lib/jck.policy $testExecuteClass $testExecuteArgs"

      print Machine info: $(uname -a)
      $jvm $jvm_type $jvm_args -fullversion
      $jvm $jvm_type $jvm_args -version
      $jvm $jvm_type $jvm_args -Xinternalversion
      print CLASSPATH=${javatestClassDir}:${testSuiteRootDir}/../classes
      print LD_LIBRARY_PATH=$testSuiteRootDir/../lib:/java/jck-dev/pkgs/jckjni/kestrel/jck-13w2
      if [[ $jt = true ]]
      then
        print $command ; $command
      else
        print $command_nojt ; $command_nojt
      fi
      print "Exit Status: $?"

      $ ksh doIt.ksh -jvm /net/yetoom/export/jdk/Solaris_JDK_1.3-b14/bin/java_g
      Machine info: SunOS hotsparc 5.7 Generic_106541-10 sun4u sparc SUNW,Ultra-5_10
      java full version "Solaris_JDK_1.3-b14"
      java version "1.3"
      Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b14)
      Java HotSpot(TM) Server VM (build 1.3-internal-debug, compiled mode)
      Built on May 1 2000 17:36:47 by unknown with Workshop 5.0 compat=4
      CLASSPATH=/net/tapas/export0/JCK-13/javatest.jar:/net/tapas/export0/JCK-13/tests/../classes
      LD_LIBRARY_PATH=/net/tapas/export0/JCK-13/tests/../lib:/java/jck-dev/pkgs/jckjni/kestrel/jck-13w2
      /net/yetoom/export/jdk/Solaris_JDK_1.3-b14/bin/java_g -server -Xcomp -verify -Djava.security.policy=/net/tapas/export0/JCK-13/tests/../lib/jck.policy javasoft.sqe.tests.api.javax.naming.ReferenceTest -TestCaseID getNull
      implicit exception happened at 0xfa0c6d10
      0 load_local_object #0
      1 get_field 1 <addrs>
      4 invoke_virtual 9 <size> <()I>
      7 store_local_int #2
      8 push_int 0
      9 store_local_int #4
      11 branch 43
      14 load_local_object #0
      15 get_field 1 <addrs>
      18 load_local_int #4
      20 invoke_virtual 10 <elementAt> <(I)Ljava/lang/Object;>
      23 check_cast 13
      26 store_local_object #3
      27 load_local_object #3
      28 invoke_virtual 11 <getType> <()Ljava/lang/String;>
      31 load_local_object #1
      32 invoke_virtual 12 <compareTo> <(Ljava/lang/String;)I>
      35 branch_if_ne 40
      38 load_local_object #3
      39 return_object
      40 increment_local_int #4 1
      43 load_local_int #4
      45 load_local_int #2
      46 branch_if_icmp_lt 14
      49 push_object NULL
      50 return_object
      Decoding compiled method 0xfa0c6b50:
      Code:
      Could not load disassembler
      pc-bytecode offsets:
      PcDesc(0xfa0c6cc8):
         javax.naming.Reference::get @20 (at_call)
      PcDesc(0xfa0c6cf8):
         javax.naming.Reference::get @28 (at_call)
      PcDesc(0xfa0c6df0):
         javax.naming.Reference::get @23 (at_call)
      PcDesc(0xfa0c6e1c):
         javax.naming.Reference::get @23 (at_call)
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Fatal: null exception in compiled code
      #
      # Error ID: /net/sqesvr/vsn/users/fhsu/ws-hs2.0/src/share/vm/runtime/sharedRuntime.cpp, 387 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x3e1a8 nid=0x1 runnable
      #
      Dumping core....

            rasbold Chuck Rasbold
            fhsusunw Francis Hsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: