Skip to content

Hazelcast test image does not work on ARM M4 #44838

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

Closed
snicoll opened this issue Mar 21, 2025 · 0 comments
Closed

Hazelcast test image does not work on ARM M4 #44838

snicoll opened this issue Mar 21, 2025 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Mar 21, 2025

hazelcast/hazelcast:5.5.0-slim (that uses JDK21) breaks on an Apple M4 CPU (and not on M2):

hazelcast-1  | ########################################
hazelcast-1  | # JAVA=/usr/bin/java
hazelcast-1  | # JAVA_OPTS=--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -Dlog4j.shutdownHookEnabled=false -Dhazelcast.logging.shutdown=true -Dhazelcast.logging.type=log4j2 -Dlog4j.configurationFile=file:/opt/hazelcast/config/log4j2.properties -Dhazelcast.config=/opt/hazelcast/config/hazelcast-docker.xml -Djet.custom.lib.dir=/opt/hazelcast/custom-lib -Djava.net.preferIPv4Stack=true -XX:MaxRAMPercentage=80.0
hazelcast-1  | # CLASSPATH=/opt/hazelcast/*:/opt/hazelcast/lib:/opt/hazelcast/lib/*:/opt/hazelcast/bin/user-lib:/opt/hazelcast/bin/user-lib/*
hazelcast-1  | ########################################
hazelcast-1  | #
hazelcast-1  | # A fatal error has been detected by the Java Runtime Environment:
hazelcast-1  | #
hazelcast-1  | #  SIGILL (0x4) at pc=0x0000ffff79d3fc5c, pid=1, tid=27
hazelcast-1  | #
hazelcast-1  | # JRE version:  (21.0.4+7) (build )
hazelcast-1  | # Java VM: OpenJDK 64-Bit Server VM (21.0.4+7-alpine-r0, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
hazelcast-1  | # Problematic frame:
hazelcast-1  | # j  java.lang.System.registerNatives()V+0 java.base
hazelcast-1  | #
hazelcast-1  | # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
hazelcast-1  | #
hazelcast-1  | # An error report file with more information is saved as:
hazelcast-1  | # /tmp/hs_err_pid1.log
hazelcast-1  | [0.012s][warning][os] Loading hsdis library failed
hazelcast-1  | #
hazelcast-1  | # The crash happened outside the Java Virtual Machine in native code.
hazelcast-1  | # See problematic frame for where to report the bug.
hazelcast-1  | #
hazelcast-1 exited with code 139

hazelcast/hazelcast:5.5.0-slim-jdk17 doesn't exhibit this issue so we'll change the test image to use that.

@snicoll snicoll added the type: task A general task label Mar 21, 2025
@snicoll snicoll added this to the 3.3.x milestone Mar 21, 2025
@snicoll snicoll self-assigned this Mar 21, 2025
@snicoll snicoll modified the milestones: 3.3.x, 3.4.5 Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant