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

eclipse-temurin:21 hard crash within Docker container on Apple M4 / macOS 15.2 Processors (aarch64) #1223

Open
1 task
sgao-becls opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working Waiting on OP

Comments

@sgao-becls
Copy link

Please provide a brief summary of the bug

Cannot launch temurin 21 "java" process within a Docker container running on an Apple M4 processor, running macOS 15.2.

Did you test with the latest update version?

  • Yes

Please provide steps to reproduce where possible

  1. $ docker run -it eclipse-temurin:21 bash
  2. # java --version

Expected Results

Running java in any capacity should work.

Actual Results

It crashes when running java command.

Screenshots

Image

What Java Version are you using?

JRE version: (21.0.5+11) (build )

What is your operating system and platform?

macOS: 15.2 (24C101)

Docker version 27.4.0, build bde2b89

How did you install Java?

No response

Did it work before?

Did you test with other Java versions?

Relevant log output

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000ffffa3c67c5c, pid=9, tid=10
#
# JRE version:  (21.0.5+11) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.5+11-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# j  java.lang.System.registerNatives()V+0 [email protected]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# //hs_err_pid8.log
[0.029s][warning][os] Loading hsdis library failed
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
@sgao-becls sgao-becls added the bug Something isn't working label Jan 24, 2025
@jerboaa
Copy link

jerboaa commented Jan 24, 2025

Could be https://bugs.openjdk.org/browse/JDK-8345296. Does this make any difference?

$ docker run -it eclipse-temurin:21 java -XX:UseSVE=0 --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting on OP
Projects
None yet
Development

No branches or pull requests

3 participants