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

assert(*error_msg != '\0') failed: Must have error_message while parsing -XX:CompileCommand=unknown

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b13

      Description


      Reproduce: java -XX:CompileCommand=unknown -version

      ```
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/jvm/jdk/src/hotspot/share/compiler/compilerOracle.cpp:688), pid=76463, tid=76464
      # assert(*error_msg != '\0') failed: Must have error_message
      #
      # JRE version: (17.0) (fastdebug build )
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 17-internal+0-adhoc.jvm.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x9b1f5c] CompilerOracle::print_parse_error(char*, char*)+0xdc
      #


      Stack: [0x00007f0ba15d7000,0x00007f0ba16d8000], sp=0x00007f0ba16d5f60, free space=1019k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x9b1f5c] CompilerOracle::print_parse_error(char*, char*)+0xdc
      V [libjvm.so+0x9b2890] CompilerOracle::parse_from_line(char*)+0x920
      V [libjvm.so+0x9b3eb3] compilerOracle_init()+0xa3
      V [libjvm.so+0xd4b003] init_globals()+0x93
      V [libjvm.so+0x17d83a4] Threads::create_vm(JavaVMInitArgs*, bool*)+0x284
      V [libjvm.so+0xec50c9] JNI_CreateJavaVM+0x99
      C [libjli.so+0x3eaa] JavaMain+0x8a
      C [libjli.so+0x77f9] ThreadJavaMain+0x9
      ```

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: