Skip to content

"Segmentation fault" on alpine linux #27995

@knapo

Description

@knapo

What version of gRPC and what language are you using?

grpc-1.41.0-x86_64-linux on ruby 3.0.2

What operating system (Linux, Windows,...) and version?

Alpine Linux 3.14 (ruby 3.0.2-alpine3.14 docker image)

What runtime / compiler are you using (e.g. python version or version of gcc)

ruby version

I tried with both gcompat and libc6-compat alpine packages.

What did you do?

I use google-cloud-pubsub to get/create pub/sub topic or publish message to a pub/sub topic.

https://rubygems.org/gems/google-cloud-pubsub/

What did you expect to see?

Like for the same code on OSX 11.6, Debian bullseye (3.0.2-slim-bullseye docker image) or when ruby platform is forced (both 3.0.2-slim-bullseye and 3.0.2-alpine3.14) having no code exceptions.

What did you see instead?

Segmentation fault:

 /usr/local/bundle/gems/grpc-1.41.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:367: [BUG] Segmentation fault at 0x000000000005e6e6
 ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-musl]
 
 -- Control frame information -----------------------------------------------
 c:0034 p:---- s:0211 e:000210 CFUNC  :run_batch
 c:0033 p:0088 s:0206 e:000205 METHOD /usr/local/bundle/gems/grpc-1.41.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:367
 c:0032 p:0012 s:0197 e:000196 BLOCK  /usr/local/bundle/gems/grpc-1.41.0-x86_64-linux/src/ruby/lib/grpc/generic/client_stub.rb:174
 c:0031 p:0013 s:0194 e:000193 METHOD /usr/local/bundle/gems/grpc-1.41.0-x86_64-linux/src/ruby/lib/grpc/generic/interceptors.rb:170
 c:0030 p:0010 s:0187 e:000186 BLOCK  /usr/local/bundle/gems/grpc-1.41.0-x86_64-linux/src/ruby/lib/grpc/generic/client_stub.rb:173 [FINISH]
 c:0029 p:0061 s:0184 e:000183 METHOD /usr/local/bundle/gems/gapic-common-0.7.0/lib/gapic/grpc/service_stub/rpc_call.rb:121
 c:0028 p:0032 s:0172 e:000171 METHOD /usr/local/bundle/gems/gapic-common-0.7.0/lib/gapic/grpc/service_stub.rb:156
 c:0027 p:0312 s:0162 e:000161 METHOD /usr/local/bundle/gems/google-cloud-pubsub-v1-0.6.0/lib/google/cloud/pubsub/v1/publisher/client.rb:501
 c:0026 p:0016 s:0152 e:000151 METHOD /usr/local/bundle/gems/google-cloud-pubsub-2.9.0/lib/google/cloud/pubsub/service.rb:109
 c:0025 p:0044 s:0146 e:000145 METHOD /usr/local/bundle/gems/google-cloud-pubsub-2.9.0/lib/google/cloud/pubsub/project.rb:165

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions