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

a compiler graph test fail with stack overflow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.2
    • vm-legacy
    • jit
    • sparc
    • solaris_8

      RELEASES: JDK 1.2.2_07a

      SYSTEMS: Solaris 8/SParc

      PROBLEM: a compiler graph test fails with java.lang.reflect.InvocationTargetException
      Processing Exception Invocation Target Exception
      java.lang.StackOverflowError: c stack overflow
      java.lang.StackOverflowError: c stack overflow


      REPRODUCED PROBLEMS:
      1. rlogin shiva.eng
      2. cd /test/MyTestArea/VMTest/jtest-s13_06/122testlist.js.all/asaha.Solaris.sparc/cgt0
      3. ./test.tlog

      ERROR MESSAGES:
      shiva:/test/MyTestArea/VMTest/jtest-s13_06/122testlist.js.all/asaha.Solaris.sparc/cgt0 3 % ./test.tlog
      CGT parameters
      Seed: 314159
      Number of Threads: 1
      Number of Random Loop iterations: 1000
      Number of Static Loop iterations: 0
      Max number of Methods in the Graph: 2
      Verbose function calls: false

      Invocation Target Exception
      java.lang.reflect.InvocationTargetException
      Processing Exception Invocation Target Exception
      java.lang.StackOverflowError: c stack overflow
      java.lang.StackOverflowError: c stack overflow

      TESTFILE:
      ---------------------------------------------------
      #!/bin/ksh

      PATH=/usr/java1.2/bin:/bin
      DISPLAY=jtest-s13:0.0
      CLASSPATH=/net/shiva/test/MyTestArea/VMTest/jtest-s13/122testlist.js.all/asaha.Solaris.sparc/cgt0:/net/sqesvr/export/vsn/VM/testbase/testbase_js/src/jit/graph/classes/CGT:/home/asaha/MyTestArea/SolarisProductionJDK/tools/classes.zip:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/javatest.jar:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/classes:/home/asaha/MyTestArea/SolarisProductionJDK/tools/classes.zip:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-runtime-13rc2/javatest.jar:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/javatest.jar:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/classes:/net/sqesvr/export/vsn/VM/links/jck12/javatest.jar:/net/sqesvr/export/vsn/VM/links/jck12/classes:.:/home/asaha/MyTestArea/SolarisProductionJDK/tools/classes.zip:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/javatest.jar:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/classes:/home/asaha/MyTestArea/SolarisProductionJDK/tools/classes.zip:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-runtime-13rc2/javatest.jar:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/javatest.jar:/net/bigsvr/export/cte4/javatb/testbase/src/JCK-118a/classes:/net/sqesvr/export/vsn/VM/links/jck12/javatest.jar:/net/sqesvr/export/vsn/VM/links/jck12/classes:.:.

      while [ $# -gt 0 ];
      do
        if [ $1 = "-jdk" ]; then
          shift 1
          PATH=${1}/bin:${PATH}
          shift 1
        else
          if [ $1 = "-d" ]; then
            shift 1
            if [ $# -gt 0 ]; then
              DISPLAY=$1
              shift 1
            else
              DISPLAY=:0.0
            fi
          fi
        fi
      done

      export PATH
      export DISPLAY
      export CLASSPATH
      /usr/java1.2/bin/java CGT -path /net/sqesvr/export/vsn/VM/testbase/testbase_js/src/jit/graph/data/main.data -seed 314159 -thread 1 -randomLoop 1000 -staticLoop 0 -numTestClass 2
      ##Exit status of execution step=0

      #CGT parameters
      #Seed: 314159
      #Number of Threads: 1
      #Number of Random Loop iterations: 1000
      #Number of Static Loop iterations: 0
      #Max number of Methods in the Graph: 2
      #Verbose function calls: false
      #
      #Invocation Target Exception
      #java.lang.reflect.InvocationTargetException
      #Processing Exception Invocation Target Exception
      #java.lang.StackOverflowError
      #CGT Thread 0 has begun call stack validation
      #CGT Thread 0's function call structure validated succesfully (72 calls validated)


            minqi Yumin Qi
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: