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

Java 19 crashes during shutdown on Windows

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      We are occasionally observing crashes with Java 19 on Windows in our CI.

      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa451f2d80, pid=31272, tid=19844
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0.2+7) (build 19.0.2+7-44)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0.2+7-44, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0x582d80]

      I am attaching hs_err_pid of a crash with 19.0.2+7.

      Possibly the same problem was observed with 19.0.1+11 (unfortunately don't have hs_err_pid file anymore).

      Similar problems were observed with:
      * bellsoft-liberica 19.0.1.11
      * azul-zulu 19.0.0
      * eclipse-temurin 19.0.1.10

      When Temurin crashed PDB files were available and we saw:

      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffff09fe1d0, pid=54820, tid=11428
      #
      # JRE version: OpenJDK Runtime Environment Temurin-19.0.1+10 (19.0.1+10) (build 19.0.1+10)
      # Java VM: OpenJDK 64-Bit Server VM Temurin-19.0.1+10 (19.0.1+10, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0x57e1d0] JvmtiEventControllerPrivate::recompute_thread_enabled+0xf0

      Additionally a similar problem is sometimes observed on Alpine Linux with Azul Zulu

      # SIGSEGV (0xb) at pc=0x00007f4f4f5711ca, pid=4128, tid=4129
      #
      # JRE version: OpenJDK Runtime Environment Zulu19.32+13-CA (19.0.2+7) (build 19.0.2+7)
      # Java VM: OpenJDK 64-Bit Server VM Zulu19.32+13-CA (19.0.2+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xab91ca] JvmtiEventControllerPrivate::recompute_thread_enabled(JvmtiThreadState*)+0x22a

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Unfortunately I can't provide a reproducer. We run thousands of tests for our JVMTI agent every day and see a couple of crashes each week.


      FREQUENCY : rarely


            sswsharm swati sharma (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: