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

the second stack overflow crashes HotSpot Server VM on Solaris

XMLWordPrintable

    • sparc
    • solaris_1, solaris_7



      Name: dkC59003 Date: 01/03/2000



      The regression test (testbase_nsk) nsk/regression/b4298656 crashes
      the HotSpot Server VM (2.0, build A) on Solaris.

      The test calls recursive_method() in loop.
      The second stack overflow crashes HotSpot Server VM.

      To reproduce the bug run doit.sh in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.

      The first parameter for doit.sh should be JDK root directory
      (e.g. /usr/local/java/jdk1.2.2/solaris) and the second parameter -
      VM option(s) (optional).

      The doit.sh file contains the CALL_DEPTH variable which is
      the number of recursive calls.
      By default the CALL_DEPTH variable equals 1000000.

      The Kestrel HotSpot VM (build 1.3-R) runs the test perfectly.

      Logs:

      % doit.bat /export/java/jdk1.2.2/solaris
      java version "1.2.2"
      Java(TM) HotSpot Server VM (2.0, mixed mode, build A)
      ==> test b4298656 LOG:
      ----> depth of recursive calls in recursive_method() = 1000000
      ----> Attempt_counter = 1: StackOverflow_call_depth = 85575
      An irrecoverable stack overflow has occurred.
      #
      # HotSpot Virtual Machine Error, Unexpected Signal 11
      #
      # Error ID: 4F533F534F4C415249530E4350500791 01
      #


      % doit.bat /export/java/jdk1.3.0R/solaris
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Java HotSpot(TM) Client VM (build 1.3-R, interpreted mode)
      ==> test b4298656 LOG:
      ----> depth of recursive calls in recursive_method() = 1000000
      ----> Attempt_counter = 1: StackOverflow_call_depth = 15126
      ----> Attempt_counter = 2: StackOverflow_call_depth = 15126
      ----> Attempt_counter = 3: StackOverflow_call_depth = 15126
      ==> test b4298656 PASSED


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

            jcoomes John Coomes (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: