The following test failed an assertion in the JDK14 CI:
jdk/jfr/jcmd/TestJcmdDumpGeneratedFilename.java
Here's a snippet from the log file:
#section:main
----------messages:(5/284)----------
command: main jdk.jfr.jcmd.TestJcmdDumpGeneratedFilename
reason: User specified action: run main/othervm jdk.jfr.jcmd.TestJcmdDumpGeneratedFilename
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr,jdk.jcmd
elapsed time (seconds): 10.47
----------configuration:(3/47)----------
Boot Layer
add modules: jdk.jfr jdk.jcmd
----------System.out:(18/1061)*----------
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=t:/workspace/open/src/hotspot/share/jfr/recorder/storage/jfrBuffer.cpp:58
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (t:/workspace/open/src/hotspot/share/jfr/recorder/storage/jfrBuffer.cpp:58), pid=6836, tid=32824
# assert(!lease()) failed: invariant
#
# JRE version: Java(TM) SE Runtime Environment (14.0+24) (fastdebug build 14-ea+24-1107)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+24-1107, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\scratch\\6\\hs_err_pid6836.mdmp
#
# An error report file with more information is saved as:
# T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\scratch\\6\\hs_err_pid6836.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(43/5379)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x000000eb415e4800): JavaThread "JFR Recorder Thread" daemon [_thread_in_vm, id=32824, stack(0x000000eb41ba0000,0x000000eb41ca0000)]
Stack: [0x000000eb41ba0000,0x000000eb41ca0000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xa96171] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:369)
V [jvm.dll+0xc93d0b] VMError::report+0xf0b (vmerror.cpp:725)
V [jvm.dll+0xc955be] VMError::report_and_die+0x8ae (vmerror.cpp:1533)
V [jvm.dll+0xc95cb4] VMError::report_and_die+0x64 (vmerror.cpp:1317)
V [jvm.dll+0x4b6e62] report_vm_error+0x102 (debug.cpp:264)
V [jvm.dll+0x6a71d5] JfrBuffer::reinitialize+0x45 (jfrbuffer.cpp:58)
V [jvm.dll+0x6ab17d] ReleaseOp<JfrMemorySpace<JfrBuffer,JfrMspaceSequentialRetrieval,JfrCheckpointManager> >::process+0x1ad (jfrmemoryspace.inline.hpp:429)
V [jvm.dll+0x6ac426] JfrCheckpointManager::write_type_set+0x406 (jfrcheckpointmanager.cpp:442)
V [jvm.dll+0x6dbae4] JfrRecorderService::_write+0x244 (jfrrecorderservice.cpp:490)
V [jvm.dll+0x6dd0bf] JfrRecorderService::rotate+0x39f (jfrrecorderservice.cpp:456)
V [jvm.dll+0x6df43e] recorderthread_entry+0x12e (jfrrecorderthreadloop.cpp:75)
V [jvm.dll+0xc3951e] JavaThread::run+0x27e (thread.cpp:1954)
V [jvm.dll+0xc2fa22] Thread::call_run+0x192 (thread.cpp:403)
V [jvm.dll+0xa9493e] thread_native_entry+0x10e (os_windows.cpp:465)
C [ucrtbase.DLL+0x203ba]
C [KERNEL32.DLL+0x13f2]
C [ntdll.dll+0x154f4]