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

C2 Crash running eclipse benchmark from Dacapo

    XMLWordPrintable

Details

    • 19
    • b26
    • x86
    • linux
    • Verified

    Description

      To reproduce:
      ```
      java -XX:+UseShenandoahGC -jar dacapo-evaluation-git+309e1fa.jar --scratch-directory dacapo/shenandoah --no-validation --variance 5 --no-pre-iteration-gc --iterations 10 --size small avrora batik eclipse h2 jython luindex lusearch pmd sunflow xalan tomcat
      ```
      The dacapo jar can be downloaded from here: https://sourceforge.net/projects/dacapobench/files/evaluation/dacapo-evaluation-git%2B309e1fa.jar/download

      Part way through the execution of the eclipse benchmark, there is a crash:
      ```
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/codebuild/output/src896/src/s3/00/src/hotspot/share/opto/escape.cpp:3333), pid=1246, tid=1258
      # assert(tn_type == TypePtr::NULL_PTR || tn_t != __null && !tinst->is_java_subtype_of(tn_t)) failed: unexpected type
      #
      # JRE version: OpenJDK Runtime Environment (19.0) (fastdebug build 19-root-mainline-x86.ef2009)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 19-root-mainline-x86.ef2009, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xb40a7f] ConnectionGraph::split_unique_types(GrowableArray<Node*>&, GrowableArray<ArrayCopyNode*>&, GrowableArray<MergeMemNode*>&)+0x139f
      #
      # Core dump will be written. Default location: /codebuild/output/src050/src/s3/00/jtreg/results/core.1246.%i
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      ```
      This happens reliably. The crash has occurred on x86_64 machines, but we have not seen it on aarch64. We have seen the crash with G1 and Shenandoah.

      Attachments

        1. hs_err_pid1246.log
          527 kB
        2. hs_err_pid1269.log
          150 kB
        3. replay_pid1246.log
          489 kB
        4. replay_pid1269.log
          494 kB

        Issue Links

          Activity

            People

              roland Roland Westrelin
              wkemper William Kemper
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: