Skip to content

Corretto 21 JVM crash within EKS #105

@metodski

Description

@metodski

Describe the bug

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.

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.

To Reproduce

We have not been able to reliably reproduce the issue, but it occurred during normal operation of our service.

Expected behavior

The JVM should remain stable and not crash.

Platform information

OS: Red Hat Enterprise Linux 9.6 (Plow)
Version Corretto-21.0.7.6.1

Additional context

The application was running as a containerized Java process inside a Kubernetes cluster.
Datadog’s Java agent was in use.

hs_error_pid1.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions