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

RISC-V: "bad alignment" with -XX:-AvoidUnalignedAccesses after JDK-8347489

XMLWordPrintable

    • b10
    • riscv
    • linux

      Fastdebug JVM crash when running Specjbb2005 with -XX:-AvoidUnalignedAccesses :

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (0xe0000000), pid=72756, tid=72757
      # stop: bad alignment
      #
      # JRE version: OpenJDK Runtime Environment (25.0) (fastdebug build 25-internal-adhoc.ubuntu.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 25-internal-adhoc.ubuntu.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-riscv64)
      # Problematic frame:
      # J 394 c2 java.lang.String.equals(Ljava/lang/Object;)Z java.base@25-internal (56 bytes) @ 0x00007fff17ce2d8e [0x00007fff17ce2cc0+0x00000000000000ce]
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/ubuntu/SPECjbb2005/core.72756)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -XX:-AvoidUnalignedAccesses -XX:+UnlockExperimentalVMOptions -XX:+UseCompactObjectHeaders -XX:+UseG1GC -XX:ConcGCThreads=2 -XX:+AlwaysPreTouch -Xms8g -Xmx8g spec.jbb.JBBmain -propfile SP
      ECjbb.props

      Host: premier-p550, RISCV64, 4 cores, 15G, Ubuntu 24.04.1 LTS
      Time: Wed Feb 5 00:04:40 2025 CST elapsed time: 11.509852 seconds (0d 0h 0m 11s)

            gcao Gui Cao
            gcao Gui Cao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: