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

A fatal error has been detected by java runtime environment #62

Open
AKc40 opened this issue Apr 30, 2024 · 5 comments
Open

A fatal error has been detected by java runtime environment #62

AKc40 opened this issue Apr 30, 2024 · 5 comments

Comments

@AKc40
Copy link

AKc40 commented Apr 30, 2024

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007ffff7f9d9db, pid=1, tid=156

JRE version: OpenJDK Runtime Environment Corretto-21.0.2.14.1 (21.0.2+14) (build 21.0.2+14-LTS)

Java VM: OpenJDK 64-Bit Server VM Corretto-21.0.2.14.1 (21.0.2+14-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)

Problematic frame:

C [ld-musl-x86_64.so.1+0x399db]

Facing same issue in jdk 17 and 21 with latter version of alpine 3.17. And unable to use 3.17 due to critical vulnerability in busybox alpine 3.17. Team Please suggest how to proceeds.
Thanks in advance.

@alvdavi
Copy link
Contributor

alvdavi commented Apr 30, 2024

Hi, thanks for reaching out. We would need the hs_err file to be able to look into this. Would it be possible for you to attach it to this issue?

@AKc40
Copy link
Author

AKc40 commented May 2, 2024

Hi,
I am unable to get the hs_err file.

An error report file with more information is saved as:

/application/hs_err_pid1.log

#[1370158.345s][warning][os] Loading hsdis library failed

/application # ls -ltrh /application/hs_err_pid1.log
ls: /application/hs_err_pid1.log: No such file or directory
/application # find name=hs_err_pid1
find: name=hs_err_pid1: No such file or directory
/application #

@eastig
Copy link
Member

eastig commented May 3, 2024

Hi @AKc40,

There is not enough information to identify the root cause of the crash.
Do you have a reproducer?

@AKc40
Copy link
Author

AKc40 commented May 6, 2024

Hi @eastig yes the jvm is crashing again n again.
I am unable to find hs_err file inside the pod.

@eastig
Copy link
Member

eastig commented May 13, 2024

I am unable to find hs_err file inside the pod.

You can try: either of ErrorFile, ErrorFileToStderr or ErrorFileToStdout

See https://stackoverflow.com/questions/71936547/how-do-i-capture-hs-err-pid-log-in-container-environments

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