generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Describe the bug
Cannot launch Corretto 21 "java" process within a Docker container running on an Apple M4 processor, running macOS 15.2.
To Reproduce
- `$ docker exec --rm -ti ubuntu:24.04 bash"
# apt -y update# apt install -y wget# wget -P / https://corretto.aws/downloads/latest/amazon-corretto-21-aarch64-linux-jdk.deb# apt-get install -y /amazon-corretto-21-aarch64-linux-jdk.deb# java
Output as follows:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x0000ffff97d3fc5c, pid=2847, tid=2848
#
# 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_pid2847.log
[0.021s][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
Note that identical behaviour occurs with Corretto 23; so something appears to be completely broken on macOS 15.2/Docker/aarch64 right now.
Expected behavior
Fairly clear; running java in any capacity should work.
Screenshots
Platform information
OS: macOS 15.2 running Docker
Version 21.0.5+11-LTS
Additional context
Log data attached:
CharlieTLe, kurczynski, szbenceg, seantsb, pablomatiasgomez and 10 moreNielsKSchjoedt, theshadow27 and ShiinaKin
Metadata
Metadata
Assignees
Labels
No labels