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

Server: com/sun/jdi/GetSetLocalTest.java failed with StackOverflowError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • core-svc
    • None
    • sparc, itanium
    • linux, solaris_10



      Name: fh87463 Date: 11/03/2003


       
      Failing test name:
      com/sun/jdi/GetSetLocalTest.java

      Platform:
      Linux-ia64

      Here is full test log:
      http://vmsqe.sfbay/pit/tiger/DTWS/results/10-30-03/ServerVM/64BITRHATAS2.1/mixed/VM/JDI_REGRESSION-PIT-VM-ServerVM-mixed-64BITRHATAS2.1-2003-10-30-20-06-03/com/sun/jdi/GetSetLocalTest.jtr

      To reproduce this problem:
      1. Login to Linux-ia64 platform
      2. run this command line:
      $ ksh /net/vmsqe.sfbay/export/backup/UNIFIED-DTF/harness/jct-tools2.1.4fcs/linux/bin/jtreg -v -cpa:/net/vmsqe.sfbay/export/backup/UNIFIED-DTF/harness/jct-tools2.1.4fcs/classes -othervm -testjdk:/net/vmsqe.sfbay/export/pit/tiger/JDK/latest/linux-ia64 /net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/JDI_REGRESSION/testbase/test/com/sun/jdi/GetSetLocalTest.java

      #Test Results (version 2)
      #Thu Oct 30 21:02:26 PST 2003
      #checksum:3799faca297900f4
      #-----testdescription-----
      $file=/.automount/vmsqe.sfbay/root/export/backup/testbase/JDI-REGRESSION/test/com/sun/jdi/GetSetLocalTest.java
      $root=/.automount/vmsqe.sfbay/root/export/backup/testbase/JDI-REGRESSION/test
      author=Serguei Spitsyn
      keywords=bug4300412
      run=USER_SPECIFIED build TestScaffold VMConnection TargetListener TargetAdapter\nUSER_SPECIFIED compile -g GetSetLocalTest.java\nUSER_SPECIFIED main GetSetLocalTest\n
      source=GetSetLocalTest.java
      title=Test GetLocal* and SetLocal* functions

      #-----environment-----

      #-----testresult-----
      description=file:///.automount/vmsqe.sfbay/root/export/backup/testbase/JDI-REGRESSION/test/com/sun/jdi/GetSetLocalTest.java
      end=Thu Oct 30 21:02:26 PST 2003
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.StackOverflowError
      javatestOS=Linux 2.4.18-e.12smp (ia64)
      javatestVersion=2.1.4
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile build main
      start=Thu Oct 30 21:02:12 PST 2003
      status=Failed. Execution failed: `main' threw exception: java.lang.StackOverflowError
      test=com/sun/jdi/GetSetLocalTest.java
      work=/.automount/vmsqe.sfbay/root/export/pit/tiger/DTWS/results/10-30-03/ServerVM/64BITRHATAS2.1/mixed/VM/JDI_REGRESSION-PIT-VM-ServerVM-mixed-64BITRHATAS2.1-2003-10-30-20-06-03/com/sun/jdi

      #section:script_messages
      ----------messages:(1/109)----------
      JDK under test: java full version "1.5.0-beta-b26" (/net/vmsqe.sfbay/export/pit/tiger/JDK/latest/linux-ia64)

      #section:build
      ----------messages:(3/157)----------
      command: build TargetAdapter
      reason: User specified action: run build TestScaffold VMConnection TargetListener TargetAdapter
      elapsed time (seconds): 0.081
      result: Passed. No need to compile: TargetAdapter.java

      #section:compile
      ----------messages:(3/221)----------
      command: compile /.automount/vmsqe.sfbay/root/export/backup/testbase/JDI-REGRESSION/test/com/sun/jdi/GetSetLocalTest.java
      reason: User specified action: run compile -g GetSetLocalTest.java
      elapsed time (seconds): 6.413
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/101)----------
      command: build GetSetLocalTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.082
      result: Passed. No need to compile: GetSetLocalTest.java

      #section:main
      ----------messages:(3/117)----------
      command: main GetSetLocalTest
      reason: User specified action: run main GetSetLocalTest
      elapsed time (seconds): 6.678
      ----------System.out:(10/377)----------
      JVM version:1.5.0-beta
      JDI version: 1.5
      JVM description: Java Debug Interface (Reference Implementation) version 1.5
      Java Debug Wire Protocol (Reference Implementation) version 1.5
      JVM Debug Interface version 0.2
      JVM version 1.5.0-beta (Java HotSpot(TM) 64-Bit Server VM, mixed mode)
      GetSetLocalTarg: Started
      staticMeth: Started
      staticMeth: Finished
      GetSetLocalTarg: Finished
      ----------System.err:(1422/79306)----------
      run args: [GetSetLocalTarg]
      startToMain(GetSetLocalTarg)
      printAllVariables for method: GetSetLocalTarg.staticMeth
       Success: got a list of all method variables: staticMeth

       Var name: bool_1
       Var type: boolean
       Var index: 0
       Signature: Z

       Var name: bool_2
       Var type: boolean
       Var index: 1
       Signature: Z

       Var name: byte_1
       Var type: byte
       Var index: 2
       Signature: B

       Var name: byte_2
       Var type: byte
       Var index: 3
       Signature: B

       Var name: char_1
       Var type: char
       Var index: 4
       Signature: C

       Var name: char_2
       Var type: char
       Var index: 5
       Signature: C

       Var name: short_1
       Var type: short
       Var index: 6
       Signature: S

       Var name: short_2
       Var type: short
       Var index: 7
       Signature: S

       Var name: int_1
       Var type: int
       Var index: 8
       Signature: I

       Var name: int_2
       Var type: int
       Var index: 9
       Signature: I

       Var name: long_1
       Var type: long
       Var index: 10
       Signature: J

       Var name: long_2
       Var type: long
       Var index: 11
       Signature: J

       Var name: float_1
       Var type: float
       Var index: 12
       Signature: F

       Var name: float_2
       Var type: float
       Var index: 13
       Signature: F

       Var name: double_1
       Var type: double
       Var index: 14
       Signature: D

       Var name: double_2
       Var type: double
       Var index: 15
       Signature: D

       Var name: string_1
       Var type: java.lang.String
       Var index: 16
       Signature: Ljava/lang/String;

       Var name: string_2
       Var type: java.lang.String
       Var index: 17
       Signature: Ljava/lang/String;

       Var name: obj_1
       Var type: java.lang.Object
       Var index: 18
       Signature: Ljava/lang/Object;

       Var name: obj_2
       Var type: java.lang.Object
       Var index: 19
       Signature: Ljava/lang/Object;

       Var name: intArg
       Var type: int
       Var index: 20
       Signature: I

       Var name: result
       Var type: int
       Var index: 21
       Signature: I

      targetClass
      mainThread
      EventRequestManager

       resumeTo(GetSetLocalTarg, 38)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 10

       Var name: bool_1
       Var type: boolean
       Var index: 1
       Signature: Z
       Var value: false

       Set variable values:
       Var Set: 11
       Var Get: 11

       Success: Value was set correctly!

       Var Set: true
       Var Get: true

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Success: Set: InvalidTypeException with Integer error has cought as expected!
       Success: Get: ClassCastException with Float error has cought as expected!
       Success: Set: InvalidTypeException error has cought as expected!
       Success: Get: ClassCastException with Double error has cought as expected!
       Success: Set: InvalidTypeException error has cought as expected!

       resumeTo(GetSetLocalTarg, 42)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 12

       Var name: bool_2
       Var type: boolean
       Var index: 1
       Signature: Z
       Var value: true

       Set variable values:
       Var Set: 13
       Var Get: 13

       Success: Value was set correctly!

       Var Set: false
       Var Get: false

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Success: Set: InvalidTypeException with Integer error has cought as expected!
       Success: Get: ClassCastException with Float error has cought as expected!
       Success: Set: InvalidTypeException error has cought as expected!
       Success: Get: ClassCastException with Double error has cought as expected!
       Success: Set: InvalidTypeException error has cought as expected!

       resumeTo(GetSetLocalTarg, 46)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 14

       Var name: byte_1
       Var type: byte
       Var index: 1
       Signature: B
       Var value: 1

       Set variable values:
       Var Set: 15
       Var Get: 15

       Success: Value was set correctly!

       Var Set: 2
       Var Get: 2

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Set: No InvalidTypeException with Integer error!
       Success: Get: ClassCastException with Float error has cought as expected!
       Set: No InvalidTypeException with Float error!
       Success: Get: ClassCastException with Double error has cought as expected!
       Set: No InvalidTypeException with Double error!

       resumeTo(GetSetLocalTarg, 50)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 16

       Var name: byte_2
       Var type: byte
       Var index: 1
       Signature: B
       Var value: 2

       Set variable values:
       Var Set: 17
       Var Get: 17

       Success: Value was set correctly!

       Var Set: 3
       Var Get: 3

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Set: No InvalidTypeException with Integer error!
       Success: Get: ClassCastException with Float error has cought as expected!
       Set: No InvalidTypeException with Float error!
       Success: Get: ClassCastException with Double error has cought as expected!
       Set: No InvalidTypeException with Double error!

       resumeTo(GetSetLocalTarg, 54)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 18

       Var name: char_1
       Var type: char
       Var index: 1
       Signature: C
       Var value: 1

       Set variable values:
       Var Set: 19
       Var Get: 19

       Success: Value was set correctly!

       Var Set: 2
       Var Get: 2

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Set: No InvalidTypeException with Integer error!
       Success: Get: ClassCastException with Float error has cought as expected!
       Set: No InvalidTypeException with Float error!
       Success: Get: ClassCastException with Double error has cought as expected!
       Set: No InvalidTypeException with Double error!

       resumeTo(GetSetLocalTarg, 58)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 20

       Var name: char_2
       Var type: char
       Var index: 1
       Signature: C
       Var value: 2

       Set variable values:
       Var Set: 21
       Var Get: 21

       Success: Value was set correctly!

       Var Set: 3
       Var Get: 3

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Set: No InvalidTypeException with Integer error!
       Success: Get: ClassCastException with Float error has cought as expected!
       Set: No InvalidTypeException with Float error!
       Success: Get: ClassCastException with Double error has cought as expected!
       Set: No InvalidTypeException with Double error!

       resumeTo(GetSetLocalTarg, 62)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 22

       Var name: short_1
       Var type: short
       Var index: 1
       Signature: S
       Var value: 1

       Set variable values:
       Var Set: 23
       Var Get: 23

       Success: Value was set correctly!

       Var Set: 2
       Var Get: 2

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Set: No InvalidTypeException with Integer error!
       Success: Get: ClassCastException with Float error has cought as expected!
       Set: No InvalidTypeException with Float error!
       Success: Get: ClassCastException with Double error has cought as expected!
       Set: No InvalidTypeException with Double error!

       resumeTo(GetSetLocalTarg, 66)

       Visible variables at this point are:

       Var name: intArg
       Var type: int
       Var index: 0
       Signature: I
       Var value: 24

       Var name: short_2
       Var type: short
       Var index: 1
       Signature: S
       Var value: 2

       Set variable values:
       Var Set: 25
       Var Get: 25

       Success: Value was set correctly!

       Var Set: 3
       Var Get: 3

       Success: Value was set correctly!

       Success: Get: ClassCastException error has cought as expected!
       Set: No InvalidTypeException with Integer error!
       Success: Get: ClassCastException with Float error has cought as expected!
       Set: No InvalidTypeException with Float error!
       Success: Get: ClassCastException with Double error has cought as expected!
       Set: No InvalidTypeException with Double error!

       resumeTo(GetSetLocalTarg, 70)
      java.lang.StackOverflowError
      at java.util.Collections$1.<init>(Collections.java:1004)
      at java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1003)
      at java.util.Collections$1.<init>(Collections.java:1004)
      at java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1003)
      at java.util.Collections$1.<init>(Collections.java:1004)
      at java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1003)
      at java.util.Collections$1.<init>(Collections.java:1004)
      at java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1003)
      at java.util.Collections$1.<init>(Collections.java:1004)
      at
      ...
      ...
      ...

      JavaTest Message: Test threw exception: java.lang.StackOverflowError
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.StackOverflowError
      result: Failed. Execution failed: `main' threw exception: java.lang.StackOverflowError


      test result: Failed. Execution failed: `main' threw exception: java.lang.StackOverflowError

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

            sspitsyn Serguei Spitsyn
            fhsusunw Francis Hsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: