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 (SIGSEGV at ClassListParser::resolve_indy_impl) during -Xshare:dump #1185

Open
1 task done
luontola opened this issue Oct 25, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@luontola
Copy link

Please provide a brief summary of the bug

My project's CI build started crashing during the "java -Xshare:dump" step after upgrading to the latest docker base image, "eclipse-temurin:21.0.5_11-jre".

Did you test with the latest update version?

  • Yes

Please provide steps to reproduce where possible

Here are a dockerfile, jar file and classes list for reproducing the problem: https://www.dropbox.com/scl/fi/3qrf5namnul38rt8cp7mq/java-segmentation-fault.zip?rlkey=s4cj25s7urhcfg3rlm79pwk9m&dl=1

Expected Results

When you build this docker image with docker build ., it builds without problems.

Actual Results

Java crashes in the -Xshare:dump step with a fatal error:
SIGSEGV (0xb) at pc=0x0000ffff9ed77770, pid=7, tid=8
Problematic frame:
V [libjvm.so+0x577770] ClassListParser::resolve_indy_impl(Symbol*, JavaThread*)+0xd0

What Java Version are you using?

openjdk 21.0.5 2024-10-15 LTS

What is your operating system and platform?

It crashes in CI, on Ubuntu 22.04 (AMD Ryzen 5 3600).
It crashes locally, on macOS 15 (Apple M3 Max).
It crashes locally, on Docker inside macOS (both with x86 and ARM platform).

How did you install Java?

Docker images from https://hub.docker.com/_/eclipse-temurin and also locally with asdf

Did it work before?

Yes, it worked with eclipse-temurin:21.0.4_7-jre

Did you test with other Java versions?

No response

Relevant log output

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

SIGSEGV (0xb) at pc=0x00007ffffe624901, pid=7, tid=8

JRE version: OpenJDK Runtime Environment Temurin-21.0.5+11 (21.0.5+11) (build 21.0.5+11-LTS)
Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.5+11 (21.0.5+11-LTS, interpreted mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0x61c901]  ClassListParser::resolve_indy_impl(Symbol*, JavaThread*)+0xf1
@luontola luontola added the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant