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

guarantee(w ->_t_state == QNode::TS_ENTER) failed: invariant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 21
    • hotspot
    • x86_64
    • linux

      The following test failed in the JDK21 CI:

      vm/jdwp/VirtualMachine/DisposeObjects/disposeobj001/disposeobj001.html

      Here's a snippet from the log file:

      #section:testExecute
      ----------messages:(1/1269)----------
      command: com.sun.jck.lib.ExecJCKTestOtherJVMCmd LD_LIBRARY_PATH=/opt/mach5/mesos/work_dir/jib-master/install/jck/21/b17/extra/bundles/JCK-extra-21.zip/JCK-extra-21/binaries/linux-amd64/lib /opt/mach5/mesos/work_dir/jib-master/install/jdk-21+32-2453/linux-x64-debug.jdk/jdk-21/fastdebug/bin/java --enable-preview -Djava.awt.headless=true -XX:+CreateCoredumpOnCrash -XX:+UseZGC -XX:+ZGenerational -XX:-CreateCoredumpOnCrash -XX:MaxRAMPercentage=4.16667 --show-version -Xms32m -Xmx1024m -Djdk.attach.allowAttachSelf=true -Djava.security.properties=/opt/mach5/mesos/work_dir/jib-master/install/jck/21/b17/extra/bundles/JCK-extra-21.zip/JCK-extra-21/extra.security.properties -agentlib:jdwp=server=y,transport=dt_socket,address=ubuntu-22-04-x64-109231.s5.javaplatfo1iad.oraclevcn.com:40193,suspend=n -classpath :/opt/mach5/mesos/work_dir/jib-master/install/jck/21/b17/bundles/JCK-runtime-21.jar/JCK-runtime-21/classes: -Djava.security.policy=/opt/mach5/mesos/work_dir/jib-master/install/jck/21/b17/bundles/JCK-runtime-21.jar/JCK-runtime-21/lib/jck.policy javasoft.sqe.jck.lib.jpda.jdwp.DebuggeeLoader -waittime=600 -msgSwitch=ubuntu-22-04-x64-109231:33215 -componentName=VirtualMachine.DisposeObjects.disposeobj001 -debuggeeName=VirtualMachine.DisposeObjects.disposeobj001a
      ----------out1:(0/0)----------
      ----------out2:(32/1897)----------
      Listening for transport dt_socket at address: 40193
      java 21-ea 2023-09-19 LTS
      Java(TM) SE Runtime Environment (fastdebug build 21-ea+32-LTS-2453)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 21-ea+32-LTS-2453, mixed mode, sharing)
      Creating pipe
      Creating object of tested class
      Sending signal to debugger: ready
      Waiting for signal from debugger: quit
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S74790/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/38857456-1acd-492d-9eda-165de9e10556/runs/9d9e7458-9797-415c-af4c-0abb7e6233e1/workspace/open/src/hotspot/share/prims/jvmtiRawMonitor.cpp:174), pid=1598189, tid=1598228
      # guarantee(w ->_t_state == QNode::TS_ENTER) failed: invariant
      #
      # JRE version: Java(TM) SE Runtime Environment (21.0+32) (fastdebug build 21-ea+32-LTS-2453)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+32-LTS-2453, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x119d8f2]Received signal from debugger: quit
      Debugee PASSED
        JvmtiRawMonitor::simple_exit(Thread*)+0x172
      #
      # CreateCoredumpOnCrash turned off, no core file dumped
      #
      # An error report file with more information is saved as:
      # /opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S96175/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9669a0ce-4ef9-4321-ba58-79a666587ae0/runs/658c912b-149b-4803-bf7c-2c242e5f2be9/testoutput/test-support/jck_runtime_vm_jdwp/hs_err_pid1598189.log
      Listening for transport dt_socket at address: 40193
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      result: Failed. unexpected exit code: exit code 1

      I'm starting this bug off as a P3 for initial triage since the
      failure occurred in a JCK test.

            sspitsyn Serguei Spitsyn
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: