Created attachment 2097582 [details] hot spot error log of the crash Description of problem: JVM crashed in native jvm code with SIGSEGV when attempting to get thread information to be published to metrics server for monitoring. System was in an otherwise stable state at the time. Version-Release number of selected component (if applicable): Java VM: OpenJDK 64-Bit Server VM (Red_Hat-24.0.1.0.9-2) (24.0.1+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) How reproducible: Only seen once so far Steps to Reproduce: 1.No reproducable test case so far. Actual results: SIGSEGV Expected results: JVM doesn't crash Additional info: see err log (with some redactments round sensitive info like client names on threads etc)
occurred again Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x10611f9] ThreadSnapshot::initialize(ThreadsList*, JavaThread*)+0x179 V [libjvm.so+0x10615f4] ThreadDumpResult::add_thread_snapshot(JavaThread*)+0x64 V [libjvm.so+0xcc1dd5] jmm_GetThreadInfo+0x545 J 44382 sun.management.ThreadImpl.getThreadInfo1([JI[Ljava/lang/management/ThreadInfo;)V java.management.2 (0 bytes) @ 0x00007ff5140a1d20 [0x00007ff5140a1c80+0x00000000000000a0] J 64798 c2 io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics$$Lambda+0x00007fe0476f3bf8.applyAsDouble(Ljava/lang/Object;)D (12 bytes) @ 0x00007ff515da9238 [0x00007ff515da8980+0x00000000000008b8] J 66372 c2 io.micrometer.core.instrument.Meter.match(Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/lang/Object; (158 bytes) @ 0x00007ff51723519c [0x00007ff517235000+0x000000000000019c]