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

HS1.4 crashes with assertion at resourceArea.hpp, 48

XMLWordPrintable

    • generic
    • generic



      Name: elR10090 Date: 04/05/2001


      The Hotspot VM build 1.4beta-B58 fails the following tests from
      testbase_nsk:

          nsk/jvmdi/PopFrame/popframe001
          nsk/jvmdi/PopFrame/popframe003

      To reproduce the bug run in GammaBase/Bugs/<this bug number>
      directory for popframe001:

          sh doit1.sh <JAVA_HOME>
          
      and for popframe003:

          sh doit2.sh <JAVA_HOME>

      If you got a problem trying these scripts under Windows
      having MS Visual C/C++ try to run VC/bin/VCVARS32.BAT from
      the command line before you start the script.

      Running the popframe001 test output:

      % doit.sh ~/merlin/solsparc -v

        > setenv JAVA_HOME /home/vpn/jdk1.4-b58/solsparc
        > cc -G -KPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris -o libpopframe001_g.so
      popframe001.c
        > ${JAVA_HOME}/bin/java_g -Xdebug -Xnoagent -Xrunpopframe001 popframe001 -v

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b58)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b58-debug, interpreted mode)
      popFrameCls (Thread[Thread-0,5,main]): inside activeMethod()
      Going to suspend the thread...
      >>>>>>>> Invoke SuspendThread()
      <<<<<<<< SuspendThread() is successfully done
      Going to pop the frame...
      >>>>>>>> Invoke PopFrame()
      Check #1 PASSED: PopFrame() is successfully done
      Check #2 PASSED: No JVMDI events were generated by the function PopFrame()
      Going to resume the thread...
      >>>>>>>> Invoke ResumeThread()
      <<<<<<<< ResumeThread() is successfully done
      #
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Fatal: memory leak: allocating without ResourceMark
      #
      # Error ID:
      /usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta/src/share/vm/memory/resourceArea.hpp, 48 [
      Patched ]
      #
      # Problematic Thread: prio=5 tid=0x1287e0 nid=0xc runnable
      #
      Dumping core....
      Abort
      Exit Code: 134

      Running the popframe003 test produces a similar output.

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

            dcubed Daniel Daugherty
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: