Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM crash G1 garbage collector #195

Open
kaaphi opened this issue Sep 11, 2024 · 3 comments
Open

JVM crash G1 garbage collector #195

kaaphi opened this issue Sep 11, 2024 · 3 comments

Comments

@kaaphi
Copy link

kaaphi commented Sep 11, 2024

Describe the bug

We are experiencing occasional JVM crashes in one of our services. We are running 6 instances of this service, and we've see one or two crashes about once a day or once every other day.

Possibly the same as #184

#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (g1VMOperations.cpp:119), pid=8, tid=75
# guarantee(target_pause_time_ms > 0.0) failed: target_pause_time_ms = 0.000000 should be positive
#
# JRE version: OpenJDK Runtime Environment Corretto-17.0.12.7.1 (17.0.12+7) (build 17.0.12+7-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.12.7.1 (17.0.12+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x71c608] VM_G1CollectForAllocation::VM_G1CollectForAllocation(unsigned long, unsigned int, GCCause::Cause, double)+0x80
#
# Core dump will be written. Default location: Core dumps may be processed with ""/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h"" (or dumping to /app/core.8)
#
# JFR recording file will be written. Location: /app/hs_err_pid8.jfr
#
# An error report file with more information is saved as:
# /app/hs_err_pid8.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/corretto/corretto-17/issues/

To Reproduce

Not reproducible on demand.

Expected behavior

No crashes.

Platform information

OS: Amazon Linux release 2 (using the amazoncorretto:17 docker image)
Version Corretto-17.0.12.7.1 (17.0.12+7) (build 17.0.12+7-LTS)

Additional context

In all the examples we've looked at, the crash has happened while uploading a directory to S3.

For VM crashes, please attach the error report file. By default the file name is hs_err_pidpid.log, where pid is the process ID of the process.
hs_err_pid8_example1.log
hs_err_pid8_example2.log
hs_err_pid8_example3.log

@Autumn808
Copy link
Contributor

Were looking into this thank you.

@kaaphi
Copy link
Author

kaaphi commented Oct 1, 2024

Is there anything else we can provide here to help out?

@lutkerd
Copy link
Contributor

lutkerd commented Oct 2, 2024

We are still looking at the issue internally and there is nothing obvious in the hs_err or code and no upstream issue for this either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants