You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, some behavior changed in prctl access through Docker containers that makes Java process crash.
This is reproducible only on MacOS 15.2 and the M4 chip, without rosetta installed
Description
Apparently, some behavior changed in
prctl
access through Docker containers that makes Java process crash.This is reproducible only on MacOS 15.2 and the M4 chip, without rosetta installed
prctl
access is disabled and can not be enabled, even ifseccomp
is disabledint prctl(PR_SVE_GET_VL);
/ https://www.man7.org/linux/man-pages/man2/PR_SVE_GET_VL.2const.htmlreturns -1 on every call
This doesn't happen on the same machine "natively" without docker
Related issues:
openjdk/jdk21u-dev#1222
elastic/elasticsearch#118583
Reproduce
docker run -it --rm lprimak/user-shell:java-23
java -version
(crash)
Expected behavior
Java process doesn't crash
docker version
Client: Version: 27.4.0 API version: 1.47 Go version: go1.22.10 Git commit: bde2b89 Built: Sat Dec 7 10:35:43 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.37.0 (178034) Engine: Version: 27.4.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 92a8393 Built: Sat Dec 7 10:38:33 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
N/A
Additional Info
No response
The text was updated successfully, but these errors were encountered: