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

JFR crash: assert(((((JfrTraceIdBits::load(value)) & ((JfrTraceIdEpoch::this_epoch_bit()) << 8)) != 0))) failed: invariant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 24
    • 24
    • hotspot
    • jfr

      Test: applications/kitchensink/Kitchensink8H.java

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1722124254\workspace\open\src\hotspot\share\jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp:99), pid=7864, tid=8772
      # assert(((((JfrTraceIdBits::load(value)) & ((JfrTraceIdEpoch::this_epoch_bit()) << 8)) != 0))) failed: invariant
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+9) (fastdebug build 24-ea+9-911)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+9-911, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)


      --------------- T H R E A D ---------------

      Current thread (0x000001e3b69de8a0): JavaThread "JFR Recorder Thread" daemon [_thread_in_vm, id=8772, stack(0x000000185fc00000,0x000000185fd00000) (1024K)]

      Stack: [0x000000185fc00000,0x000000185fd00000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xc9f211] os::win32::platform_print_native_stack+0x101 (os_windows_x86.cpp:235)
      V [jvm.dll+0xf6124b] VMError::report+0x149b (vmError.cpp:1011)
      V [jvm.dll+0xf638ed] VMError::report_and_die+0x80d (vmError.cpp:1846)
      V [jvm.dll+0xf63fe4] VMError::report_and_die+0x64 (vmError.cpp:1611)
      V [jvm.dll+0x55e91b] report_vm_error+0x5b (debug.cpp:193)
      V [jvm.dll+0x87a4bb] ClearArtifact<Klass const *>::operator()+0x2ab (jfrTypeSetUtils.hpp:99)
      V [jvm.dll+0x87950a] JfrArtifactSet::iterate<MethodIteratorHost<Wrapper<Method const *,ClearArtifact>,Wrapper<Klass const *,ClearArtifact>,0> >+0x1da (jfrTypeSetUtils.hpp:265)
      V [jvm.dll+0x87e015] teardown+0xa5 (jfrTypeSet.cpp:1197)
      V [jvm.dll+0x87c71b] JfrTypeSet::clear+0x36b (jfrTypeSet.cpp:1255)
      V [jvm.dll+0x80dea5] JfrCheckpointManager::clear_type_set+0x115 (jfrCheckpointManager.cpp:592)
      V [jvm.dll+0x80da7a] JfrCheckpointManager::clear+0x3a (jfrCheckpointManager.cpp:537)
      V [jvm.dll+0x8593e3] JfrRecorderService::start+0x33 (jfrRecorderService.cpp:448)
      V [jvm.dll+0x85a557] recorderthread_entry+0x197 (jfrRecorderThreadLoop.cpp:79)
      V [jvm.dll+0x806b56] JavaThread::thread_main_inner+0x266 (javaThread.cpp:758)
      V [jvm.dll+0xec38a7] Thread::call_run+0x1b7 (thread.cpp:230)
      V [jvm.dll+0xc9d876] thread_native_entry+0xd6 (os_windows.cpp:553)
      C [ucrtbase.dll+0x1fb80] (no source info available)
      C [KERNEL32.DLL+0x84d4] (no source info available)
      C [ntdll.dll+0x51791] (no source info available)

            mgronlun Markus Grönlund
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: