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

-Xrunhprof crashes 64bit JVM when heap is large (-Xms7g -Xmx7g)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.2
    • Fix Version/s: tbd_major
    • Component/s: vm-legacy
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description



      Name: rmT116609 Date: 07/31/2003


      FULL PRODUCT VERSION :
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)


      FULL OS VERSION :
      SunOS briana 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Fire-480R


      A DESCRIPTION OF THE PROBLEM :
      I tried to run the heap profiler.

      Running it with:
      java -d64 -Xrunhprof -Xms6g -Xmx6g
      works fine.

      Running it with:
      java -d64 -Xrunhprof -Xms7g -Xmx7g
      results in an immediate JVM crash.

      This happens for larger heaps, too.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run "java -d64 -Xrunhprof -Xms7g -Xmx7g". No class file is necessary.



      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Unexpected Signal : 11 occurred at PC=0xFFFFFFFF7D4C3778
      Function=[Unknown. Nearest: AsyncGetCallTrace+0x6670]
      Library=/dsk0p6/users/rcmd/j2sdk1.4.1_03/jre/lib/sparcv9/server/libjvm.so


      Dynamic libraries:
      0x100000000 /dsk0p6/users/rcmd/j2sdk1.4.1_03/bin/sparcv9/java
      0xffffffff7f200000 /usr/lib/64/libthread.so.1
      0xffffffff7f400000 /usr/lib/64/libdl.so.1
      0xffffffff7ef00000 /usr/lib/64/libc.so.1
      0xffffffff7f100000 /usr/platform/SUNW,Sun-Fire-480R/lib/sparcv9/libc_psr.so.1
      0xffffffff7d000000 /dsk0p6/users/rcmd/j2sdk1.4.1_03/jre/lib/sparcv9/server/libjvm.so
      0xffffffff7d800000 /usr/lib/64/libCrun.so.1
      0xffffffff7ce00000 /usr/lib/64/libsocket.so.1
      0xffffffff7cb00000 /usr/lib/64/libnsl.so.1
      0xffffffff7c900000 /usr/lib/64/libm.so.1
      0xffffffff7da00000 /usr/lib/64/libw.so.1
      0xffffffff7c600000 /usr/lib/64/libmp.so.2
      0xffffffff7c300000 /dsk0p6/users/rcmd/j2sdk1.4.1_03/jre/lib/sparcv9/native_threads/libhpi.so
      0xffffffff7c100000 /dsk0p6/users/rcmd/j2sdk1.4.1_03/jre/lib/sparcv9/libverify.so
      0xffffffff7be00000 /dsk0p6/users/rcmd/j2sdk1.4.1_03/jre/lib/sparcv9/libjava.so
      0xffffffff7bc00000 /dsk0p6/users/rcmd/j2sdk1.4.1_03/jre/lib/sparcv9/libzip.so
      0xfffffffd73200000 /usr/lib/64/nss_files.so.1
      0xfffffffd72600000 /dsk0p6/users/rcmd/j2sdk1.4.1_03/jre/lib/sparcv9/libhprof.so

      Local Time = Wed Jul 30 10:48:52 2003
      Elapsed Time = 0
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002E6 01
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.1_03-b02 mixed mode)
      #
      # An error report file has been saved as hs_err_pid22893.log.
      # Please refer to the file for further information.
      #
      Abort

      With J2SE 1.4.2:
      =================

      >java -d64 -Xrunhprof -Xmx7g -Xms7g


      HPROF ERROR: unable to resolve a method id
      HPROF ERROR: got NULL trace in obj_alloc
      HPROF ERROR: unable to resolve a method id
      HPROF ERROR: got NULL trace in obj_alloc
      HPROF ERROR: unable to resolve a method id
      HPROF ERROR: got NULL trace in obj_alloc
      HPROF ERROR: unable to resolve a method id
      HPROF ERROR: got NULL trace in obj_alloc
      HPROF ERROR: unable to resolve a method id
      HPROF ERROR: got NULL trace in obj_alloc

      Unexpected Signal : 11 occurred at PC=0xFFFFFFFF7D4D71B0
      Function=[Unknown. Nearest: AsyncGetCallTrace+0x6878]
      Library=/dsk0p6/users/rcmd/j2sdk1.4.2/jre/lib/sparcv9/server/libjvm.so


      Dynamic libraries:
      0x100000000 /dsk0p6/users/rcmd/j2sdk1.4.2/bin/sparcv9/java
      0xffffffff7f200000 /usr/lib/64/libthread.so.1
      0xffffffff7f400000 /usr/lib/64/libdl.so.1
      0xffffffff7ef00000 /usr/lib/64/libc.so.1
      0xffffffff7f100000
      /usr/platform/SUNW,Sun-Fire-480R/lib/sparcv9/libc_psr.so.1
      0xffffffff7d000000
      /dsk0p6/users/rcmd/j2sdk1.4.2/jre/lib/sparcv9/server/libjvm.so
      0xffffffff7d800000 /usr/lib/64/libCrun.so.1
      0xffffffff7ce00000 /usr/lib/64/libsocket.so.1
      0xffffffff7cb00000 /usr/lib/64/libnsl.so.1
      0xffffffff7c900000 /usr/lib/64/libm.so.1
      0xffffffff7c700000 /usr/lib/64/libsched.so.1
      0xffffffff7da00000 /usr/lib/64/libw.so.1
      0xffffffff7c400000 /usr/lib/64/libmp.so.2
      0xffffffff7c100000
      /dsk0p6/users/rcmd/j2sdk1.4.2/jre/lib/sparcv9/native_threads/libhpi.so
      0xffffffff7be00000 /usr/lib/64/nss_files.so.1
      0xffffffff7bb00000
      /dsk0p6/users/rcmd/j2sdk1.4.2/jre/lib/sparcv9/libverify.so
      0xffffffff7b900000
      /dsk0p6/users/rcmd/j2sdk1.4.2/jre/lib/sparcv9/libjava.so
      0xffffffff7b600000
      /dsk0p6/users/rcmd/j2sdk1.4.2/jre/lib/sparcv9/libzip.so
      0xfffffffd72600000
      /dsk0p6/users/rcmd/j2sdk1.4.2/jre/lib/sparcv9/libhprof.so

      Heap at VM Abort:
      Heap
       def new generation total 2374720K, used 2374720K [0xfffffffd73800000,
      0xfffffffe08d50000, 0xfffffffe08d50000)
        eden space 2302784K, 100% used [0xfffffffd73800000, 0xfffffffe000d0000,
      0xfffffffe000d0000)
        from space 71936K, 100% used [0xfffffffe000d0000, 0xfffffffe04710000,
      0xfffffffe04710000)
        to space 71936K, 0% used [0xfffffffe04710000, 0xfffffffe04710000,
      0xfffffffe08d50000)
       tenured generation total 4893376K, used 95K [0xfffffffe08d50000,
      0xffffffff33800000, 0xffffffff33800000)
         the space 4893376K, 0% used [0xfffffffe08d50000, 0xfffffffe08d67e10,
      0xfffffffe08d68000, 0xffffffff33800000)
       compacting perm gen total 16384K, used 1272K [0xffffffff33800000,
      0xffffffff34800000, 0xffffffff37800000)
         the space 16384K, 7% used [0xffffffff33800000, 0xffffffff3393e2c0,
      0xffffffff3393e400, 0xffffffff34800000)

      Local Time = Thu Jul 31 10:32:43 2003
      Elapsed Time = 1
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002EF 01
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.2-b28 mixed mode)
      #
      # An error report file has been saved as hs_err_pid15040.log.
      # Please refer to the file for further information.
      #
      Abort

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 193176)
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: