Open casperisfine opened 10 months ago
A small extra piece of information, while we had a few SEGV prior, it really started to become frequent right after the upgrade from 1.59.2
to 1.60.0
.
reverting to 1.59.2
did not seem to resolve this
we are reverting google-protobuf
to 3.25.0
(from 3.25.1
) as well now
I'm not a maintainer, but just curious - do you build the native gems from source for grpc and google-protobuf or install the pre-compiled native gems via bundler/Gemfile.lock ?
been OOO for a couple of weeks, but before we left we discovered this was likely NOT due to any change here, and seems to occur on older versions as well
we did however discover that the crashes seem to occur when shutting down (eg. when HPA scales down replicas of the service)
It's probably still relevant to maintainers whether you use pre-built extension binaries or build from source when creating your container images.
do you build the native gems from source for grpc and google-protobuf or install the pre-compiled native gems via bundler/Gemfile.lock ?
The later.
What version of gRPC and what language are you using?
What operating system (Linux, Windows,...) and version?
Ubuntu 20.04 LTS
What runtime / compiler are you using (e.g. python version or version of gcc)
Ruby 3.2.2
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
What did you do?
I don't know much about the application, I just see it crashing ~300 times a week. All I know is that it uses the
grpc
gem to respond togrpc
calls.What did you expect to see?
Not crash.
What did you see instead?
Many crashes.
The backtrace of the crashing thread:
The last function arguments:
All the other threads: https://gist.github.com/casperisfine/19cb9dddb11c743f868f09133f636a1f