Closed qarol closed 4 years ago
This is not due to gruf, but to the underlying grpc library:
docker run --rm -it ruby:2.6.5-alpine /bin/sh
apk update && apk add --no-cache gcompat
gem install grpc
ruby -e "require 'grpc'; s = GRPC::RpcServer.new; puts s.add_http2_port('0.0.0.0:9001', :this_port_is_insecure)"
...will cause the segfault.
Likely it's due to something related to:
Closing this, as gruf is not the issue here, rather Ruby gRPC itself on Alpine. Thanks for reporting! I'd follow up with the Google team.
How to Reproduce
Steps to reproduce the behavior:
docker run --rm -it ruby:2.6.5-alpine /bin/sh
apk update && apk add --no-cache gcompat
gem install gruf
gruf
What should happen?
We shouldn't see segmentation fault issue. At least missed service definition exception.
Anything else we should know?