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

java_g hits an assertion while Deallocate call

XMLWordPrintable

    • b40
    • generic
    • generic
    • Verified



      Name: dkR10014 Date: 02/09/2004


      --------------------------------------
      Tests : nsk/jvmti/IterateOverHeap/iterheap004
                    nsk/jvmti/IterateOverInstancesOfClass/iterinstcls004
      VM : ClientVM, ServerVM
      Mode : java_g
      Platform : generic
      OS : generic
      JDK : 1.5.0 b37
      ----------------------------------------

      The tests check if Allocate and Deallocate functions may be called
      in callbacks of heap iteration functions.

      An assertion is hit when tests are executed with java_g binaries
      at the moment when a callback invokes Deallocate function:

      bash-2.03$ sh run.sh /export/ld24/java/hotspot/jdk1.5/solsparc -g -v
      Run: nsk/jvmti/IterateOverInstancesOfClass/iterinstcls004
      - iterinstcls004.c, 82: Wait for debugee start
      - iterinstcls004.c, 90: Find debugee class:
      Lnsk/jvmti/IterateOverInstancesOfClass/iterinstcls004;
      - iterinstcls004.c, 97: Calling IterateOverInstancesOfClass with filter
      JVMTI_HEAP_OBJECT_UNTAGGED
      - iterinstcls004.c, 116: Number of objects the IterateOverInstancesOfClass
      visited: 1
      - iterinstcls004.c, 121: Calling IterateOverInstancesOfClass with filter
      JVMTI_HEAP_OBJECT_TAGGED
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/interfaceSupport.hpp:106]
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error
      (/BUILD_AREA/jdk1.5.0/hotspot/src/share/vm/runtime/interfaceSupport.hpp, 106 [
      Patched ]), pid=2378, tid=11
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b37-debug mixed mode)
      #
      # Error: assert(thread->thread_state() == _thread_in_native,"coming from wrong
      thread state")
      # An error report file with more information is saved as hs_err_pid2378.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Current thread is 11
      Dumping core ...
      Abort
      Java exit code: 134
      ========================================================================

      Please find content of hs_err_pid2378.log in Comments section.

      Steps to reproduce a failure of iterinstcls004:

        cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/<this bug number>
        sh build.sh $JAVA_HOME [-g] [-d64]
        sh run.sh $JAVA_HOME [-g] [-v] [JAVA_OPTS]
      where
          -d64 - build for 64-bit solaris-sparcv9
          -g - build for or run with java_g binaries
          -v - run in verbose mode
          
      The tests will be available in next r27 release of testbase.

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

            alanb Alan Bateman
            kdossunw Kdos Kdos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: