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

misc JCK tests fail with "FATAL ERROR in native method: JDWP Can't disable vthread end events, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 20
    • 20
    • core-svc
    • b23
    • 20
    • b27
    • x86_64
    • linux
    • Verified

    Description

      The following JCK test failed in the JDK20 CI:

      vm/jdwp/Event/Composite/composite001/composite001.html

      Here's a snippet from the log file:

      #section:testExecute
      ----------messages:(1/1195)----------
      command: com.sun.jck.lib.ExecJCKTestOtherJVMCmd LD_LIBRARY_PATH=/opt/mach5/mesos/work_dir/jib-master/install/jck/20/b07/extra/bundles/JCK-extra-20.zip/JCK-extra-20/binaries/linux-amd64/lib /opt/mach5/mesos/work_dir/jib-master/install/jdk-20+24-1755/linux-x64-debug.jdk/jdk-20/fastdebug/bin/java --enable-preview -Djava.awt.headless=true -XX:+CreateCoredumpOnCrash -XX:+UseParallelGC -XX:+UseNUMA -XX:MaxRAMPercentage=4.16667 --show-version -Xms32m -Xmx1024m -Djdk.attach.allowAttachSelf=true -Djava.security.properties=/opt/mach5/mesos/work_dir/jib-master/install/jck/20/b07/extra/bundles/JCK-extra-20.zip/JCK-extra-20/extra.security.properties -agentlib:jdwp=server=y,transport=dt_socket,address=ol8-x64-129413.s5.javaplatfo1iad.oraclevcn.com:33421,suspend=n -classpath :/opt/mach5/mesos/work_dir/jib-master/install/jck/20/b07/bundles/JCK-runtime-20.jar/JCK-runtime-20/classes: -Djava.security.policy=/opt/mach5/mesos/work_dir/jib-master/install/jck/20/b07/bundles/JCK-runtime-20.jar/JCK-runtime-20/lib/jck.policy javasoft.sqe.jck.lib.jpda.jdwp.DebuggeeLoader -waittime=600 -msgSwitch=ol8-x64-129413:40803 -componentName=Event.Composite.composite001 -debuggeeName=Event.Composite.composite001a
      ----------out1:(1/376)----------
      JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): Can't disable vthread end events [/opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S137544/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a21a55f1-28c1-4cef-b19c-55dd4e8a05aa/runs/b0208cba-0838-413a-a6b5-979dcf89d75b/workspace/open/src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c:1652]
      ----------out2:(6/349)----------
      Listening for transport dt_socket at address: 33421
      java 20-ea 2023-03-21
      Java(TM) SE Runtime Environment (fastdebug build 20-ea+24-1755)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 20-ea+24-1755, mixed mode, sharing)
      Debugee PASSED
      FATAL ERROR in native method: JDWP Can't disable vthread end events, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
      result: Failed. unexpected exit code: exit code 134

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: