Getting SIGSEGV for grpc-netty-shaded 1.75 < + Java correto 22
I'm trying to upgrade my grpc-netty-shaded library to the latest version (at least 1.75.0) to resolve vulnerabilities.
I’m also running Java Corretto 22 and Spring Boot 3.4.7.
However, when trying to start my app, I’m encountering the following issue:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x0000000000023b30, pid=16, tid=17
JRE version: OpenJDK Runtime Environment Corretto-22.0.2.9.1 (22.0.2+9) (build 22.0.2+9-FR)
Java VM: OpenJDK 64-Bit Server VM Corretto-22.0.2.9.1 (22.0.2+9-FR, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, linux-aarch64)
Problematic frame:
C [libio_grpc_netty_shaded_netty_tcnative_linux_aarch_645259337430298747407.so+0x2462c] init_have_lse_atomics+0xc
Hi, what gRPC version are you on ?
I currently use in production gRPC version 1.70.0, but due a vuln found im trying to upgrade to 1.75.0 which causes the issue see the lib im trying to upgrade here https://mvnrepository.com/artifact/io.grpc/grpc-netty-shaded/1.75.0
I see you're running on ARM64. Are you using Alpine Linux or a specific container when running?
yes, we are using Alpine Linux
You should take a look at SECURITY.md. You should install gcompat and use LD_PRELOAD.