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

assert failed: dead node in hash table or missed node during speculative cleanup

    XMLWordPrintable

Details

    • x86_64
    • linux_ubuntu

    Description

      ADDITIONAL SYSTEM INFORMATION :
      # JRE version: OpenJDK Runtime Environment (8.0_402) (build 1.8.0_402-internal-fastdebug-xiezf_2024_01_14_17_51-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.402-b00-fastdebug compiled mode linux-amd64 compressed oops)

      A DESCRIPTION OF THE PROBLEM :
      We encountered this issue while reducing a test case. The program itself is an infinite loop and should be running continuously. It behaves as expected, continuously running under jdk11u, jdk17u, and jdk21u. However, when running with jdk8u and forcibly enabling JIT compilation, the program produces the following error. Upon searching the jbs with the assert information, we found a similar output in [JDK-8217230](https://bugs.openjdk.org/browse/JDK-8217230), but this issue was already fixed in jdk8u, as indicated by the 2021 backport [JDK-8264847](https://bugs.openjdk.org/browse/JDK-8264847) and the 2023 backport [JDK-8300668](https://bugs.openjdk.org/browse/JDK-8300668). We encounter an error with jdk 8u402, leading us to believe this might be a new bug. Please investigate and address this issue.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/data/xzf/jdk8u/hotspot/src/share/vm/opto/phaseX.cpp:337), pid=3241, tid=0x00007f437ab5b700
      # assert(t == t_no_spec) failed: dead node in hash table or missed node during speculative cleanup
      #
      # JRE version: OpenJDK Runtime Environment (8.0_402) (build 1.8.0_402-internal-fastdebug-xiezf_2024_01_14_17_51-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.402-b00-fastdebug compiled mode linux-amd64 compressed oops)
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      java -Xcomp Test

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      continuously running
      ACTUAL -
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/phaseX.cpp:337
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/data/xzf/jdk8u/hotspot/src/share/vm/opto/phaseX.cpp:337), pid=3241, tid=0x00007f437ab5b700
      # assert(t == t_no_spec) failed: dead node in hash table or missed node during speculative cleanup
      #
      # JRE version: OpenJDK Runtime Environment (8.0_402) (build 1.8.0_402-internal-fastdebug-xiezf_2024_01_14_17_51-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.402-b00-fastdebug compiled mode linux-amd64 compressed oops)
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /data/xzf/JVM-Tesing-by-Anti-Optimization/toreport/Test1411_01_17_04_20_43/creduce/report/hs_err_pid3241.log
      #
      # Compiler replay data is saved as:
      # /data/xzf/JVM-Tesing-by-Anti-Optimization/toreport/Test1411_01_17_04_20_43/creduce/report/replay_pid3241.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #
      Current thread is 139927798265600
      Dumping core ...


      ---------- BEGIN SOURCE ----------
      The source code file and hs_err file are available at the URL:
      https://drive.google.com/file/d/1jEntGpkhYdsnpXA3Q1cofykJtc_-_Sdv/view?usp=drive_link
      ---------- END SOURCE ----------

      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: