ChongWei905 opened a new issue, #141:
URL: https://github.com/apache/gravitino-playground/issues/141

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Cannot launch 
apache/gravitino-playground:trino-435-gravitino-0.8.0-incubating "java" process 
within a Docker container running on an Apple M4 processor, running macOS 15.2.
   
   
   
   ### Error message and/or stacktrace
   
   Log as follows:
   `ERROR: Java is not installed`
   and if run java -version, the output as follows:
   `2025-04-01 22:10:31 #
   2025-04-01 22:10:31 # A fatal error has been detected by the Java Runtime 
Environment:
   2025-04-01 22:10:31 #
   2025-04-01 22:10:31 #  SIGILL (0x4) at pc=0x0000ffff7f467c1c, pid=38, tid=71
   2025-04-01 22:10:31 #
   2025-04-01 22:10:31 # JRE version:  (21.0.1+12) (build )
   2025-04-01 22:10:31 # Java VM: OpenJDK 64-Bit Server VM (21.0.1+12-LTS, 
mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, 
linux-aarch64)
   2025-04-01 22:10:31 # Problematic frame:
   2025-04-01 22:10:31 # j  java.lang.System.registerNatives()V+0 
[email protected]
   2025-04-01 22:10:31 #
   2025-04-01 22:10:31 # No core dump will be written. Core dumps have been 
disabled. To enable core dumping, try "ulimit -c unlimited" before starting 
Java again
   2025-04-01 22:10:31 #
   2025-04-01 22:10:31 # An error report file with more information is saved as:
   2025-04-01 22:10:31 # /data/trino/hs_err_pid38.log
   2025-04-01 22:10:31 [0.010s][warning][os] Loading hsdis library failed
   2025-04-01 22:10:31 #
   2025-04-01 22:10:31 # The crash happened outside the Java Virtual Machine in 
native code.
   2025-04-01 22:10:31 # See problematic frame for where to report the bug.
   2025-04-01 22:10:31 #`
   
   ### How to reproduce
   
   ./playground.sh start
   
   ### Additional context
   
   It seems this is a common problem under environment of:
   macOS 15.2
   Apple M4 processor
   JDK 17, 21, 23, 24
   
   Similar ISSUE reported from Corretto: 
https://github.com/corretto/corretto-21/issues/85
   JDK bug link: https://bugs.openjdk.org/browse/JDK-8345296


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to