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

assert(s > 0, "size should be positive")

XMLWordPrintable

    • sol-beta2
    • sparc
    • solaris_7
    • Not verified



      Name: dkR10031 Date: 04/18/2000



      The HotSpot Client VM 1.3rc3-Z (Solaris) as well as
      HotSpot Server VM 2.0fcs-D (Solaris) fails the test
      nsk/jvmpi/events/mentry2001 from testbase_nsk.

      The test profiler agent catches JVMPI_EVENT_METHOD_ENTRY2 event and then
      calls RequestEvent(JVMPI_EVENT_OBJECT_ALLOC, obj_id)
      where obj_id is the one provided with METHOD_ENTRY2. This call crashes VM.
      Classic passes the test as well as HS on win32.

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

      The test produces the output:

      $ doit.sh /export/ld24/java/hotspot/jdk1.3.0/solaris
      java version "1.3.0rc3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc3-Z)
      Java HotSpot(TM) Client VM (build 1.3.0rc3-Z-debug, interpreted mode)
      #
      # HotSpot Virtual Machine Error, assertion failure
      #
      # assert(s > 0, "size should be positive")
      #
      # Error ID:
      /usr/re/hotsparc_client1.3/ws/solsparc/hotsparc_client1.3fcs/build/solaris/../..
      /sr
      c/share/vm/oops/oop.inline.hpp, 93 [ Patched ]
      #
      Dumping core....
      Abort

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

            acorn Karen Kinnear (Inactive)
            dimasunw Dima Dima (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: