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

assert(target->is_handshake_safe_for(current_thread)) failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • OS:
      windows

      Description

      Since a while (about 1..2 weeks) GHAs and SAP-local tests on Windows fail sporadically on various jtreg tests. Typically affected are:

      - runtime/logging/ThreadLoggingTest.java
      - serviceability/logging/TestBasicLogOutput.java
      - serviceability/logging/TestFullNames.java
      - serviceability/logging/TestQuotedLogOutputs.java

      2021-11-30T11:28:32.6697241Z #
      2021-11-30T11:28:32.6698211Z # A fatal error has been detected by the Java Runtime Environment:
      2021-11-30T11:28:32.6699051Z #
      2021-11-30T11:28:32.6699754Z # Internal Error (d:\a\jdk\jdk\jdk\src\hotspot\share\runtime\thread.cpp:479), pid=5208, tid=3364
      2021-11-30T11:28:32.6700940Z # assert(target->is_handshake_safe_for(current_thread)) failed: JavaThread=0x000002305c2846c0 is not protected and not handshake safe.
      2021-11-30T11:28:32.6701890Z #
      2021-11-30T11:28:32.6703358Z # JRE version: OpenJDK Runtime Environment (18.0) (fastdebug build 18-internal+0-tstuefe-a571f6de524337936b8bc90669fe9df233d53dca)
      2021-11-30T11:28:32.6706086Z # Java VM: OpenJDK 64-Bit Server VM (fastdebug 18-internal+0-tstuefe-a571f6de524337936b8bc90669fe9df233d53dca, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      2021-11-30T11:28:32.6709745Z # Core dump will be written. Default location: D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_runtime\scratch\hs_err_pid5208.mdmp
      2021-11-30T11:28:32.6710886Z #
      2021-11-30T11:28:32.6711849Z # An error report file with more information is saved as:
      2021-11-30T11:28:32.6712949Z # D:\a\jdk\jdk\build\run-test-prebuilt\test-support\jtreg_test_hotspot_jtreg_tier1_runtime\scratch\hs_err_pid5208.log
      2021-11-30T11:28:32.6713789Z #
      2021-11-30T11:28:32.6714536Z # If you would like to submit a bug report, please visit:
      2021-11-30T11:28:32.6715565Z # https://bugreport.java.com/bugreport/crash.jsp
      2021-11-30T11:28:32.6717149Z #

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: