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

assert(false) failed: Non-balanced monitor enter/exit!

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      # JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug_2023_09_20_15_15-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.392-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
      #

      A DESCRIPTION OF THE PROBLEM :
      I ran a test case under the option -Xcomp, and I found the JDK8u321 crashed

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/data/jdk8u/hotspot/src/share/vm/runtime/objectMonitor.cpp:979), pid=86197, tid=0x00007f74afc18700
      # assert(false) failed: Non-balanced monitor enter/exit!
      #
      # JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug_2023_09_20_15_15-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.392-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 -
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/objectMonitor.cpp:979
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/data/jdk8u/hotspot/src/share/vm/runtime/objectMonitor.cpp:979), pid=86197, tid=0x00007f74afc18700
      # assert(false) failed: Non-balanced monitor enter/exit!
      #
      # JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug_2023_09_20_15_15-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.392-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:
      # /home/repositor/bugs/Test_09_20_19_42_03/hs_err_pid86197.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp

      ---------- BEGIN SOURCE ----------

      ---------- END SOURCE ----------

      FREQUENCY : always


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

              Created:
              Updated: