netty / netty-tcnative

A fork of Apache Tomcat Native, based on finagle-native
Apache License 2.0
239 stars 179 forks source link

SIGSEGV with netty-tcnative-boringssl-static v2.0.61.Final #833

Open jpelfrene-klarrio opened 12 months ago

jpelfrene-klarrio commented 12 months ago

we saw a stack overflow pointing to io.netty.internal.tcnative.SSL::readFromSSL

An irrecoverable stack overflow has occurred.
Please check if any of your loaded .so files has enabled executable stack (see man page execstack(8))
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3162bbe752, pid=1, tid=123
#
# JRE version: OpenJDK Runtime Environment Zulu11.64+19-CA (11.0.19+7) (build 11.0.19+7-LTS)
# Java VM: OpenJDK 64-Bit Server VM Zulu11.64+19-CA (11.0.19+7-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [ld-musl-x86_64.so.1+0x51752]  memcpy+0x24
#
# Core dump will be written. Default location: /opt/docker/core.1
#
[thread 128 also had an error]
# An error report file with more information is saved as:
# /tmp/hs_err_pid1.log
Compiled method (nm) 1842450982 4284     n 0       io.netty.internal.tcnative.SSL::readFromSSL (native)
normanmaurer commented 12 months ago

Can you please upload the full hs_err file ?