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

setting breakpoint in a method from other class crashes HotSparc Client VM

XMLWordPrintable

    • sparc
    • solaris_7



      Name: dkC59003 Date: 12/24/99



      The regression test (testbase_nsk) nsk/regression/b4296019add01 causes crash of
      the HotSparc 1.3-R.
      The test sets breakpoint in a method from other class and then calls this method.
      JVMDI_EVENT_BREAKPOINT occurs 2 times instead of 1 time and then
      HotSparc VM crashes.

      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.3/solaris) and the second parameter -
      VM option(s) (optional).

      The Classic VM runs the test perfectly.

      Logs:

      % doit.sh /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 b4296019add01 LOG:
      ----> breakpoint_init: BREAKPOINT is set for b4296019add01a.test_method()
      ----> b4296019add01a.test_method() will call
      ----> catch_BREAKPOINT: breakpoint_counter = 1
      ----> catch_BREAKPOINT: breakpoint_counter = 2
      #
      # HotSpot Virtual Machine Error, Unexpected Signal 11
      #
      # Error ID: 4F533F534F4C415249530E43505007B6 01
      #
      (Error ID: os_solaris.cpp, 1974)


      % doit.sh /export/java/jdk1.3.0R/solaris -classic
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Classic VM (build 1.3.0-R, green threads, nojit)
      ==> test b4296019add01 LOG:
      ----> breakpoint_init: BREAKPOINT is set for b4296019add01a.test_method()
      ----> b4296019add01a.test_method() will call
      ----> catch_BREAKPOINT: breakpoint_counter = 1
      ----> b4296019add01a: test_method is running
      ==> test b4296019add01 PASSED

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

            dcubed Daniel Daugherty
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: