```
2 # A fatal error has been detected by the Java Runtime Environment:
3 #
4 # Internal Error (/shared/projects/openjdk/jdk-jdk/source/src/hotspot/share/runtime/thread.hpp:677), pid=142925, tid=142926
5 # assert(current != nullptr) failed: Thread::current() called on detached thread
6 #
7 # JRE version: (23.0) (fastdebug build )
8 # Java VM: OpenJDK 64-Bit Server VM (fastdebug 23-internal-adhoc.thomas.source, interpreted mode, compressed class ptrs, g1 gc, linux-amd64)
9 # Problematic frame:
10 # V [libjvm.so+0x1331371] Mutex::lock_without_safepoint_check()+0x71
11 #
12 # CreateCoredumpOnCrash turned off, no core file dumped
13 #
14 #
15
16 --------------- S U M M A R Y ------------
17
18 Command Line: -XX:-CreateCoredumpOnCrash -Xint -Xlog:cds=debug -Xlog:cds+map*=trace:file=SharedArchiveFile0.map:none:filesize=0 -Xshare:dump -Xlog:cds,cds+hashtables -XX:SharedArchiveFile=SharedArchiveFile1.jsa -Xmx128M -XX:-UseCompressedOops -X log:os+rand=debug -XX:+UseNewCode
19
20 Host: starfish, AMD Ryzen 9 3900X 12-Core Processor, 24 cores, 62G, Ubuntu 20.04.6 LTS
21 Time: Wed Apr 10 14:37:44 2024 CEST elapsed time: 0.022355 seconds (0d 0h 0m 0s)
22
23 --------------- T H R E A D ---------------
24
25 Current thread is native thread
26
27 Stack: [0x00007fa7b6356000,0x00007fa7b6457000], sp=0x00007fa7b64555f0, free space=1021k
28 Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
29 V [libjvm.so+0x1331371] Mutex::lock_without_safepoint_check()+0x71 (thread.hpp:677)
30 V [libjvm.so+0xa2c299] Decoder::decode(unsigned char*, char*, int, int*, char const*, bool)+0x99 (decoder.cpp:90)
31 V [libjvm.so+0x13c328a] os::dll_address_to_function_name(unsigned char*, char*, int, int*, bool)+0xda (os_linux.cpp:1561)
32 V [libjvm.so+0x133904b] NativeCallStack::print_on(outputStream*, int) const [clone .part.2]+0x9b (nativeCallStack.cpp:96)
33 V [libjvm.so+0x13bcdfb] os::random()+0xdb (os.cpp:828)
34 V [libjvm.so+0x17d8329] Thread::Thread()+0x2c9 (thread.cpp:106)
35 V [libjvm.so+0xe101f3] JavaThread::JavaThread()+0x13 (javaThread.cpp:507)
36 V [libjvm.so+0x17f04a7] Threads::create_vm(JavaVMInitArgs*, bool*)+0x1f7 (threads.cpp:527)
37 V [libjvm.so+0xf063e9] JNI_CreateJavaVM+0x59 (jni.cpp:3581)
38 C [libjli.so+0x49be] JavaMain+0x8e (java.c:1550)
39 C [libjli.so+0x821d] ThreadJavaMain+0xd (java_md.c:650)
```
Can happen under rare circumstances (e.g. manually printing call stacks outside of error reporting on early threads or on threads that have not been attached to the JVM).