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

VM crash with large heap sizes on Linux

XMLWordPrintable

    • b38
    • x86
    • linux, linux_redhat_7.1, linux_redhat_9.0


      ###@###.### 2004-01-26

      J2SE Version (please include all output from java -version flag):
        java version "1.5.0-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
        Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)

      Does this problem occur on J2SE 1.3, 1.4 or 1.4.1? Yes / No (pick one)
        No.

      Operating System Configuration Information (be specific):
        RH Linux 9 + updates
        RH Linux 7.1 + updates
        Other Linux distributions (reported by customer, unverified)


      Bug Description:
        VM crash with large heap sizes on Linux, but it works fine if
        -Xshare:off is supplied with the VM startup options or if reduce the
        maximum heap size parameter (-Xmx) to 256m while even 384m maximum
        heap size causes a failure. it could be reproduced on different
        with Debian GNU/Linux unstable as well (log file attached).

        The RH7.1/RH9 machines both run clean RPM installs of kernel, glibc,
        etc. No custom kernel, no patches, no custom compiled libraries. Just
        all RedHat updates.

        One observation which might or might not be important: All kernels where
        this occurs have highmem enabled (CONFIG_HIGHMEM4G=y). This seems to be
        the default for the latest RH kernels.

      Steps to Reproduce (be specific):

      matrix:~# chmod 755 j2sdk-1_5_0-beta-bin-b32-linux-i586-19_dec_2003.bin
      matrix:~# ./j2sdk-1_5_0-beta-bin-b32-linux-i586-19_dec_2003.bin
      [...type yes once for the license...]
      matrix:~# ./j2sdk1.5.0/bin/java -version
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)
      matrix:~# ./j2sdk1.5.0/bin/java -Xmx512m -version
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0x403effde, pid=2295, tid=1024
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b32 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0x2a3fde]
      #
      # An error report file with more information is saved as hs_err_pid2295.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Aborted
      matrix:~#

            hhuangsunw Hui Huang (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: