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

Fatal Error when suspending virtual thread after it has terminated

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 19
    • 19
    • core-svc
    • b30
    • x86_64
    • windows_10

    Backports

      Description

        Below Fatal error is observed when stepping over through virtual threads while debugging :


        JDWP exit error JVMTI_ERROR_THREAD_NOT_ALIVE(15): cannot set thread local storage [s\open\src\jdk.jdwp.agent\share\native\libjdwp\threadControl.c:191]
        FATAL ERROR in native method: JDWP cannot set thread local storage, jvmtiError=JVMTI_ERROR_THREAD_NOT_ALIVE(15)
        C:\Users\mjayan\May10_LATEST\netbeans\nbbuild\testuserdir\var\cache\executor-snippets\debug.xml:150: The following error occurred while executing this line:
        C:\Users\mjayan\May10_LATEST\netbeans\nbbuild\testuserdir\var\cache\executor-snippets\debug.xml:129: The following error occurred while executing this line:
        C:\Users\mjayan\May10_LATEST\netbeans\nbbuild\testuserdir\var\cache\executor-snippets\debug.xml:77: Java returned: 1

        Attachments

          1. screenshot-1.png
            screenshot-1.png
            57 kB
          2. SuspendAfterDeath.java
            2 kB
          3. Test.java
            0.6 kB

          Issue Links

            Activity

              People

                cjplummer Chris Plummer
                mjayan Meghna Jayan
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: