Bug 2381898 - JVM SIGSEV Crash in ThreadSnapshot
Summary: JVM SIGSEV Crash in ThreadSnapshot
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: java-latest-openjdk
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-18 10:56 UTC by Ian James
Modified: 2025-09-08 07:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
hot spot error log of the crash (733.02 KB, text/plain)
2025-07-18 10:56 UTC, Ian James
no flags Details

Description Ian James 2025-07-18 10:56:39 UTC
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)

Comment 1 Ian James 2025-09-08 07:18:33 UTC
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]


Note You need to log in before you can comment on or make changes to this bug.