netty / netty-tcnative

A fork of Apache Tomcat Native, based on finagle-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segfault thrown using boringssl-static > 2.0.56.Final on azul/zulu-openjdk-alpine:17-jre

johnk-scalable opened this issue · comments

netty-tcnative-boringssl-static lib is throwing a segfault when being run in minimal docker image with just spring boot and netty-handler:

io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.61.Final:compile

Using an older version does not result in segfault:

io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.56.Final:compile

Minimal repo to reproduce is here:
https://github.com/johnk-scalable/boringssl-issue

I will need to have a look... I wonder if this might be related to how to static compile against libc++

Unsure is it same issue or different, but after ugprade netty-tcnative-boringssl-static 2.0.59 => 2.0.61 I see related to boringssl SIGSEGV-s https://gist.github.com/valodzka/9b058063112b9093fcbba4cd0655e6b1

They are not too frequent, but also not rare. Also azul, also openjdk 17, but not alpine.