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

JVM module code crashes rarely when running Graal `native-image`

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: External
    • Icon: P4 P4
    • None
    • 11
    • hotspot
    • jfr

      When using Graal `native-image` to compile a binary, the JVM rarely crashes in JDK module system code with:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f42b9c53260, pid=718926, tid=718974
      #
      # JRE version: OpenJDK Runtime Environment GraalVM 21.1.0-dev (11.0.10+9) (build 11.0.10+9-jvmci-21.1-b01)
      # Java VM: OpenJDK 64-Bit Server VM GraalVM 21.1.0-dev (11.0.10+9-jvmci-21.1-b01, mixed mode, tiered, jvmci, compressed oops, parallel gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x5db260] ClassLoaderData::is_builtin_class_loader_data() const+0x0
      #

      Please find the hs_err here:
      https://gist.github.com/jiekang/2a3064b0e9c623bc5e0aa32edf20eebf

      Also this was opened against Graal here with some possibly useful comments from others:
      https://github.com/oracle/graal/issues/3245

            Unassigned Unassigned
            jkang Jie Kang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: