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

setvaluesilii003 (nsk) test crashes with assertion at ciInstanceKlass.hpp, 109

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      linux, solaris, solaris_8

      Description

      TEST : nsk/jdi/ArrayReference/setValues_ilii/setvaluesilii003
      TestBase : /net/sqesvr.eng/export/vsn/VM/merlin/testbase/testbase_nsk
      Mode : -server -xmixed , -hotspot -Xmixed
      Platforms : Solsparc 5.8, solx86, linux RH 6.2
      JAVA_HOME : /net/sqesvr.eng/export/vsn/VM/merlin/weekahead/jdk/latest/{O.S}

      Steps to reproduce
      1) cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{Bugid}
      2) ksh doit

      Output:
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Server VM (build 20010524124025.jcoomes.baseline-debug, mixed mode)
      #>
      #> WARNING: switching to verbose mode because
      #> the test complains an error
      #>
      binder> Listening for a pipe connection to port: 7000
      binder> Binding to pipe socket
      binder> Listening to pipe server socket
      binder> VirtualMachineManager: version 1.4
      binder> FindingConnector: default
      binder> LaunchingConnector:
      binder> name: com.sun.jdi.CommandLineLaunch
      binder> description: Launches target using Sun Java VM command line and attaches to it
      binder> transport: dt_socket
      binder> Connector arguments:
      binder> home=/net/sqesvr.eng/export/vsn/VM/merlin/weekahead/jdk1.4/b65/solsparc
      binder> vmexec=java
      binder> options=-server -classpath ".:/net/sqesvr.eng/export/vsn/VM/merlin/testbase/testbas
      e_nsk/src/nsk/share/classes:/net/sqesvr.eng/export/vsn/VM/merlin/testbase/testbase_nsk/src/nsk/
      logging/share/classes:/net/sqesvr.eng/export/vsn/VM/merlin/testbase/testbase_nsk/src/nsk/jdi/sh
      are/classes:/net/sqesvr.eng/export/vsn/VM/merlin/weekahead/jdk/latest/solsparc/lib/tools.jar"
      binder> main=nsk.jdi.ArrayReference.setValues_ilii.setvaluesilii003a "-arch=sparc" "-waitti
      me=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server"
      binder> quote="
      binder> suspend=true
      binder> Launch debugee
      test.pipe> Waiting for pipe connection
      debuger> debugee's "ready" signal recieved.
      debuger> Total fields in debugee read: 22 total fields in debuger: 14

      debuger> Got sample fields for primitive types.
      debuger> boolean is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.z1S
      debuger> byte is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.b1S
      debuger> char is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.c1S
      debuger> double is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.d1S
      debuger> float is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.f1S
      debuger> int is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.i1S
      debuger> long is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.l1S
      debuger> short is nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.r1S

      debuger> Got sample array references for primitive types.
      debuger> boolean is instance of boolean[1] (id=112)
      debuger> byte is instance of byte[2] (id=113)
      debuger> char is instance of char[3] (id=114)
      debuger> double is instance of double[4] (id=115)
      debuger> float is instance of float[5] (id=116)
      debuger> int is instance of int[6] (id=117)
      debuger> long is instance of long[7] (id=118)
      debuger> short is instance of short[8] (id=119)

      debuger> Got list of values for primitive types.
      debuger> boolean is [true]
      debuger> byte is [-128, 127]
      debuger> char is [, ? ?
      debuger> double is [-Infinity, 4.9E-324, -1.0, 0.0]
      debuger> float is [-Infinity, 1.4E-45, -1.0, 0.0, NaN]
      debuger> int is [-2147483648, -1, 0, 1, 2147483647, -1]
      debuger> long is [-9223372036854775808, -1, 0, 1, 9223372036854775807, 0, 1]
      debuger> short is [-32768, -1, 0, 1, 32767, -32768, -1, 0]

      debuger> 0 field nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.z1 read.
      debuger> 0 field value is instance of boolean[2] (id=128)
      debuger> 0 field has length 2
      # ERROR: debuger FAILURE 5> IndexOutOfBoundsException is not thrown.
      # ERROR: debuger FAILURE 5> 0 field: list of values [true] with length 1 set from index 0.
      debuger> 0 field checked.

      debuger> 1 field nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.b1 read.
      debuger> 1 field value is instance of byte[3] (id=129)
      debuger> 1 field has length 3
      # ERROR: debuger FAILURE 5> IndexOutOfBoundsException is not thrown.
      # ERROR: debuger FAILURE 5> 1 field: list of values [-128, 127] with length 2 set from index 0.
      debuger> 1 field checked.

      debuger> 2 field nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.c1 read.
      debuger> 2 field value is instance of char[4] (id=130)
      debuger> 2 field has length 4
      # ERROR: debuger FAILURE 5> IndexOutOfBoundsException is not thrown.
      # ERROR: debuger FAILURE 5> 2 field: list of values [, ? ? with length 3 set from index 0.
      debuger> 2 field checked.

      debuger> 3 field nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.d1 read.
      debuger> 3 field value is instance of double[5] (id=131)
      debuger> 3 field has length 5
      # ERROR: debuger FAILURE 5> IndexOutOfBoundsException is not thrown.
      # ERROR: debuger FAILURE 5> 3 field: list of values [-Infinity, 4.9E-324, -1.0, 0.0] with lengt
      h 4 set from index 0.
      debuger> 3 field checked.

      debuger> 4 field nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.f1 read.
      debuger> 4 field value is instance of float[6] (id=132)
      debuger> 4 field has length 6
      # ERROR: debuger FAILURE 5> IndexOutOfBoundsException is not thrown.
      # ERROR: debuger FAILURE 5> 4 field: list of values [-Infinity, 1.4E-45, -1.0, 0.0, NaN] with l
      ength 5 set from index 0.
      debuger> 4 field checked.

      debuger> 5 field nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.i1 read.
      debuger> 5 field value is instance of int[7] (id=133)
      debuger> 5 field has length 7
      ## ERROR: debuger FAILURE 5> IndexOutOfBoundsException is not thrown.
      # ERROR: debuger FAILURE 5> 5 field: list of values [-2147483648, -1, 0, 1, 2147483647, -1] wit
      h length 6 set from index 0.
      debuger> 5 field checked.

      debuger> 6 field nsk.jdi.ArrayReference.setValues_ilii.ClassToCheck.l1 read.
      debuger> 6 field value is instance of long[8] (id=134)
      debuger> 6 field has length 8

      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Server VM (20010524124025.jcoomes.baseline-debug mixed mode)
      #
      # assert(is_loaded(), "must be loaded")
      #
      # Error ID: /export/imgr_home/ws/20010524124025.jcoomes.baseline/src/share/vm/ci/ciInstanceKlass.hpp, 109 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x116410 nid=0xc runnable
      #
      Dumping core....
      sat[14]: 18584 Abort(coredump)

      NOTE: Test crashes intermittently.

      * accidently description has been provided in public summary. very very sorry for that.
      satheesh.pothuganti@eng 2001-05-29

        Attachments

          Activity

            People

            • Assignee:
              rfield Robert Field
              Reporter:
              spothugasunw Satheesh Pothuganti (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: