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

GetStackTraceSuspendedStressTest.java failed with: check_jvmti_status: JVMTI function returned error: JVMTI_ERROR_THREAD_NOT_ALIVE (15)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 21-pool-oracle, 22
    • hotspot
    • generic
    • linux

      The following test failed in the JDK22 CI:

      serviceability/jvmti/stress/StackTrace/Suspended/GetStackTraceSuspendedStressTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(6/357)----------
      command: main -agentlib:GetStackTraceSuspendedStress GetStackTraceSuspendedStressTest
      reason: User specified action: run main/othervm/native -agentlib:GetStackTraceSuspendedStress GetStackTraceSuspendedStressTest
      started: Sat Oct 21 07:28:16 UTC 2023
      Mode: othervm [/othervm specified]
      finished: Sat Oct 21 07:28:42 UTC 2023
      elapsed time (seconds): 25.432
      ----------configuration:(0/0)----------
      ----------System.out:(139/4551)----------
      Agent_OnLoad started
      Agent_OnLoad finished
      Synchronization point checkStatus(0) called.
      Data 0x7f1f8401f590 0x7f1f8401f9e0
      Agent: waiting to start
      Agent: started
      VThread-Producer-4: started
      VThread-Producer-5: started
      VThread-Consumer-2: started

      <snip>

      VThread-Producer-59: started
      VThread-Consumer-59: started
      VThread-Consumer-6: started
      VThread-Consumer-4: started
      VThread-Producer-1: finished
      check_jvmti_status: JVMTI function returned error: JVMTI_ERROR_THREAD_NOT_ALIVE (15)
      FATAL ERROR in native method: Error in JVMTI SetEventNotificationMode: disable SINGLE_STEP
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xf8d1a2] jni_FatalError+0x92VThread-Consumer-8: finished
      VThread-Consumer-5: finished
        (jni.cpp:631)
      C [libGetStackTraceSuspendedStress.so+0x4b12] agentProc(_jvmtiEnv*, JNIEnv_*, void*)+0x3f2 (jni.h:844)
      C [libGetStackTraceSuspendedStress.so+0x24c2] agent_thread_wrapper+0x32 (jvmti_thread.h:179)
      V [libjvm.so+0x11a8939] JvmtiAgentThread::call_start_function()+0x59 (jvmtiImpl.cpp:89)
      V [libjvm.so+0xec37dc] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:720)
      V [libjvm.so+0x179bc1a] Thread::call_run()+0xba (thread.cpp:220)
      V [libjvm.so+0x14a650a] thread_native_entry(Thread*)+0x12a (os_linux.cpp:785)
      ----------System.err:(0/0)----------
      ----------rerun:(45/8102)*----------

      This is the fourth recent failure mode for this same test.

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

              Created:
              Updated: