JVM crash
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java, kubernetes
- Domain
- observability-sre
Research direction
Start by reading hs_error_pid1 (1).log and the investigation in Corretto issue 105, focusing on the JavaThread::is_interrupted crash frame and the StatsD-Sender-1 context. There is no reproduction code or repository file named in the report; done would require identifying an actionable cause or a reliably reproducible failure involving the Java agent and JVM.
Written by the indexing model from the issue text.
Description
Tracer Version(s)
1.49.0
Java Version(s)
21.0.7
JVM Vendor
Amazon Corretto
Bug Report
Our Java application running on Corretto 21.0.7.6.1 experienced a fatal JVM crash caused by a segmentation fault (SIGSEGV). It seems to occur randomly. The app is a short-lived microservice and a lot of instances are created and destroyed each day. It crashes very rarely maybe a few times a week.The application was running as a containerized Java process inside a Kubernetes cluster.
Datadog’s Java agent was in use.
We have not been able to reliably reproduce the issue, but it occurred during normal operation of our service.
I originally submitted this as a bug in the corretto tracker where Volker Simonis did some investigation on the issue.
Problematic frame:
V [libjvm.so+0x9249d0] JavaThread::is_interrupted(bool)+0x0
The crash happened in the context of a background thread named StatsD-Sender-1, part of the dogstatsd Java client.
Expected Behavior
The JVM should remain stable and not crash.
Reproduction Code
No response
- Dominant language
- Java
- Stars
- 737
- Forks
- 361
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 173
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/dd-trace-java
-
type: feature request
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
DataDog/dd-trace-java#10245 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
DataDog/dd-trace-java#12608 ·
-
type: bug report
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataDog/dd-trace-java#12597 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataDog/dd-trace-java#12540 · 3 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
DataDog/dd-trace-java#12480 ·
All issues in DataDog/dd-trace-java
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1152 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jenkinsci/blueocean-plugin#5417 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objectionary/eo-graphs#75 ·