oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.25k stars 1.62k forks source link

Java Runtime Error (SIGILL) on AWS Graviton using GraalVM JDK 17 #9661

Open RuanNunes opened 1 week ago

RuanNunes commented 1 week ago

I'm encountering a fatal error in my Spring Boot applications running on AWS Graviton instances using GraalVM JDK. The application crashes and restarts with the following error:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000ffffa2d31300, pid=1, tid=29
#
# JRE version: OpenJDK Runtime Environment GraalVM CE 17.0.9+9.1 (17.0.9+9) (build 17.0.9+9-jvmci-23.0-b22)
# Java VM: OpenJDK 64-Bit Server VM GraalVM CE 17.0.9+9.1 (17.0.9+9-jvmci-23.0-b22, mixed mode, tiered, jvmci, jvmci compiler, compressed oops, compressed class ptrs, serial gc, linux-aarch64)
# Problematic frame:
# C  0x0000ffffa2d31300
#
# Core dump will be written. Default location: /app/core.1
#
# An error report file with more information is saved as:
# /app/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/oracle/graal/issues
#
[error occurred during error reporting (), id 0x5, SIGTRAP (0x5) at pc=0x0000ffffa28ab0f0]

Any guidance or help would be appreciated!

selhagani commented 1 week ago

Hi @RuanNunes,

Thanks for reaching out to us about this. Did you try using the latest version of GraalVM? You can find it using this link

RuanNunes commented 1 week ago

Thank you for your response. I will perform an update and get back to you if the issue persists.

RuanNunes commented 2 days ago

Hi @selhagani , I checked the version and I am using the following image: ghcr.io/graalvm/jdk-community:17.0.9-ol9. From what I verified, this is the most recent version for Java 17.