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

[container] almalinux version is crashing on macOS M series #176

Open
prabhu opened this issue Jan 15, 2025 · 3 comments
Open

[container] almalinux version is crashing on macOS M series #176

prabhu opened this issue Jan 15, 2025 · 3 comments
Labels
bug Something isn't working container macOS M

Comments

@prabhu
Copy link
Contributor

prabhu commented Jan 15, 2025

Even a simple docker build with java --version is failing for me.

66.46 Complete.
66.47 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
66.48 #
66.48 # A fatal error has been detected by the Java Runtime Environment:
66.48 #
66.48 #  SIGILL (0x4) at pc=0x0000ffff6773fc5c, pid=397, tid=398
66.48 #
66.48 # JRE version:  (21.0.5+11) (build )
66.48 # 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)
66.48 # Problematic frame:
66.48 # j  java.lang.System.registerNatives()V+0 [email protected]
66.48 #
66.48 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
66.48 #
66.48 # An error report file with more information is saved as:
66.48 # /opt/hs_err_pid397.log
66.48 [0.012s][warning][os] Loading hsdis library failed
66.48 #
66.48 # The crash happened outside the Java Virtual Machine in native code.
66.48 # See problematic frame for where to report the bug.
66.48 #
------
@prabhu prabhu added bug Something isn't working container labels Jan 15, 2025
@prabhu
Copy link
Contributor Author

prabhu commented Jan 15, 2025

Building with --platform=linux/amd64 works, but not acceptable.

@prabhu prabhu added the macOS M label Jan 15, 2025
@prabhu
Copy link
Contributor Author

prabhu commented Jan 17, 2025

prabhu added a commit that referenced this issue Jan 17, 2025
Signed-off-by: Prabhu Subramanian <[email protected]>
prabhu added a commit that referenced this issue Jan 17, 2025
Signed-off-by: Prabhu Subramanian <[email protected]>
@prabhu
Copy link
Contributor Author

prabhu commented Jan 23, 2025

Pass -e JAVA_TOOL_OPTIONS="-XX:UseSVE=0 -Dfile.encoding=UTF-8" on macOS arm64.

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

No branches or pull requests

1 participant