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

AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java failed with "GetStackTrace and AsyncGetCallTrace return different number of frames"

    XMLWordPrintable

Details

    • svc
    • Cause Known
    • x86_64, aarch64
    • linux

    Description

      The following test failed in the JDK21 CI:

      serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java

      Here's a log file snippet:

      #section:main
      ----------messages:(6/325)----------
      command: main -agentlib:AsyncGetCallTraceTest MyPackage.ASGCTBaseTest
      reason: User specified action: run main/othervm/native -agentlib:AsyncGetCallTraceTest MyPackage.ASGCTBaseTest
      started: Fri Feb 24 11:27:44 UTC 2023
      Mode: othervm [/othervm specified]
      finished: Fri Feb 24 11:28:11 UTC 2023
      elapsed time (seconds): 27.859
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(93/4343)----------
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetJMethodIDs: Error in GetClassMethods: 22
      GetStackTrace and AsyncGetCallTrace return different number of frames: 11 vs 5)java.lang.RuntimeException: AsyncGetCallTrace call failed.
      at MyPackage.ASGCTBaseTest.main(ASGCTBaseTest.java:52)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1623)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: AsyncGetCallTrace call failed.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: AsyncGetCallTrace call failed.
      ----------rerun:(46/6853)*----------

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              jbechberger Johannes Bechberger
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: