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

SPECjbb2000 crash with -d64 -Xrunhprof with large heap sizes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: vm-legacy
    • Subcomponent:
    • Introduced In Build:
      1.4
    • Introduced In Version:
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description

      Two problems:
      Version:

      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) 64-Bit Server VM (build 1.4.2-b28, mixed mode)

      1. java -Xrunhprof -version
         intermittently shows the message "HPROF ERROR: heap dump size < 0"

      2. run SPECjbb2000 with th following options
         CLASSPATH=./jbb.jar:./jbb_no_precompile.jar:./check.jar:./reporter.jar /opt/jdk1.4.2/bin/java -Xmn3
      000m -Xms3600m -Xmx3600m -Xrunhprof:file=k.hprof spec.jbb.JBBmain -propfile SPECjbb.props

         and after some time, when it says "Loading Warehouse 1", press CTRL-C in order to obtain
         the Java Heap Dump, jvm crashes with the following diagnostic:
      ^CDumping Java heap ...

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xFF33060C
      Function=memcpy+0x1C
      Library=/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1

      Current Java thread:
              at java.lang.Shutdown.halt(Native Method)
              at java.lang.Shutdown.exit(Shutdown.java:211)
              - locked <0xf563e3b8> (a java.lang.Class)
              at java.lang.Terminator$1.handle(Terminator.java:35)
              at sun.misc.Signal$1.run(Signal.java:195)
              at java.lang.Thread.run(Thread.java:534)
      Dynamic libraries:
      0x10000 /opt/jdk1.4.2/bin/java
      0xff350000 /usr/lib/libthread.so.1
      0xff390000 /usr/lib/libdl.so.1
      0xff200000 /usr/lib/libc.so.1
      0xff330000 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
      0xfe000000 /export/home1/jdk1.4.2/jre/lib/sparc/client/libjvm.so
      0xff2e0000 /usr/lib/libCrun.so.1
      0xff1e0000 /usr/lib/libsocket.so.1
      0xff100000 /usr/lib/libnsl.so.1
      0xff0d0000 /usr/lib/libm.so.1
      0xff1c0000 /usr/lib/libsched.so.1
      0xff310000 /usr/lib/libw.so.1
      0xff0a0000 /usr/lib/libmp.so.2
      0xff050000 /export/home1/jdk1.4.2/jre/lib/sparc/native_threads/libhpi.so
      0xfe7d0000 /export/home1/jdk1.4.2/jre/lib/sparc/libverify.so
      0xfe790000 /export/home1/jdk1.4.2/jre/lib/sparc/libjava.so
      0xff020000 /export/home1/jdk1.4.2/jre/lib/sparc/libzip.so
      0xfe610000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
      0xfe550000 /export/home1/jdk1.4.2/jre/lib/sparc/libhprof.so

      Heap at VM Abort:
      Heap
       def new generation total 2981696K, used 2981696K [0x14400000, 0xcfc00000, 0xcfc00000)
        eden space 2891392K, 100% used [0x14400000, 0xc4ba0000, 0xc4ba0000)
        from space 90304K, 100% used [0xc4ba0000, 0xca3d0000, 0xca3d0000)
        to space 90304K, 0% used [0xca3d0000, 0xca3d0000, 0xcfc00000)
       tenured generation total 614400K, used 1862K [0xcfc00000, 0xf5400000, 0xf5400000)
         the space 614400K, 0% used [0xcfc00000, 0xcfdd1a90, 0xcfdd1c00, 0xf5400000)
       compacting perm gen total 4096K, used 2298K [0xf5400000, 0xf5800000, 0xf9400000)
         the space 4096K, 56% used [0xf5400000, 0xf563eab8, 0xf563ec00, 0xf5800000)
      Local Time = Tue Feb 28 05:10:07 2006
      Elapsed Time = 44
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
      #
      # An error report file has been saved as hs_err_pid1825.log.
      # Please refer to the file for further information.
      #
      Abort

      Finally, the hs_err*.log file reads:

      <snip>

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xFF33060C
      Function=memcpy+0x1C
      Library=/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1

      Current Java thread:
              at java.lang.Shutdown.halt(Native Method)
              at java.lang.Shutdown.exit(Shutdown.java:211)
              - locked <0xf563e3b8> (a java.lang.Class)
              at java.lang.Terminator$1.handle(Terminator.java:35)
              at sun.misc.Signal$1.run(Signal.java:195)
              at java.lang.Thread.run(Thread.java:534)

      Dynamic libraries:
      0x10000 /opt/jdk1.4.2/bin/java
      0xff350000 /usr/lib/libthread.so.1
      0xff390000 /usr/lib/libdl.so.1
      0xff200000 /usr/lib/libc.so.1
      0xff330000 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
      0xfe000000 /export/home1/jdk1.4.2/jre/lib/sparc/client/libjvm.so
      0xff2e0000 /usr/lib/libCrun.so.1
      0xff1e0000 /usr/lib/libsocket.so.1
      0xff100000 /usr/lib/libnsl.so.1
      0xff0d0000 /usr/lib/libm.so.1
      0xff1c0000 /usr/lib/libsched.so.1
      0xff310000 /usr/lib/libw.so.1
      0xff0a0000 /usr/lib/libmp.so.2
      0xff050000 /export/home1/jdk1.4.2/jre/lib/sparc/native_threads/libhpi.so
      0xfe7d0000 /export/home1/jdk1.4.2/jre/lib/sparc/libverify.so
      0xfe790000 /export/home1/jdk1.4.2/jre/lib/sparc/libjava.so
      0xff020000 /export/home1/jdk1.4.2/jre/lib/sparc/libzip.so
      0xfe610000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
      0xfe550000 /export/home1/jdk1.4.2/jre/lib/sparc/libhprof.so

      Heap at VM Abort:
      Heap
       def new generation total 2981696K, used 2981696K [0x14400000, 0xcfc00000, 0xcfc00000)
        eden space 2891392K, 100% used [0x14400000, 0xc4ba0000, 0xc4ba0000)
        from space 90304K, 100% used [0xc4ba0000, 0xca3d0000, 0xca3d0000)
        to space 90304K, 0% used [0xca3d0000, 0xca3d0000, 0xcfc00000)
       tenured generation total 614400K, used 1864K [0xcfc00000, 0xf5400000, 0xf5400000)
         the space 614400K, 0% used [0xcfc00000, 0xcfdd22f8, 0xcfdd2400, 0xf5400000)
       compacting perm gen total 4096K, used 2298K [0xf5400000, 0xf5800000, 0xf9400000)
         the space 4096K, 56% used [0xf5400000, 0xf563eab8, 0xf563ec00, 0xf5800000)

      Local Time = Tue Feb 28 05:10:07 2006
      Elapsed Time = 44
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
      #

      Misc. info:
      ==========
      uname -a on that system reads:
      SunOS hppdl694 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-4

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcubed Daniel Daugherty
                Reporter:
                ksoshals Kirill Soshalskiy (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: