grpc / grpc/grpc

Segmentation fault using google-ads-googleads api

Open
#34,006 5 comments 1 reaction 1 assignee Claimed by @apolcyn View on GitHub
kind/bug lang/ruby priority/P2
Dominant language
C++
Stars
45.3k
Forks
11.4k
Avg merge
2d 12h
Merged PRs (30d)
47

Description

### What version of gRPC and what language are you using?
Ruby 2.7.8
gRPC 1.56.2

### What operating system (Linux, Windows,...) and version?
Ubuntu 20.04.6 LTS (Focal Fossa)

### What runtime / compiler are you using (e.g. python version or version of gcc)
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)

### What did you do?
This bug seems to occur on **linux** machines. It seems to be working fine on macOS.

Get credentials for the GoogleAds API and replace them.
```Ruby
def initialize_google_ads_client
Google::Ads::GoogleAds::GoogleAdsClient.new do |config|
config.client_id =
config.client_secret =
config.developer_token =
config.refresh_token =
end
end

def google_ads_client
@google_ads_client ||= initialize_google_ads_client
end

customer_resource_names = google_ads_client.
service.customer.
list_accessible_customers()
```

I've also opened an issue with `google-ads-ruby` (https://github.com/googleads/google-ads-ruby/issues/448)
However, upon looking at the stack trace, it looks like the gRPC library is throwing a segmentation fault.

### What did you expect to see?
Not to have a segmentation fault

### What did you see instead?
Seg fault
Adding log as a comment due to maximum comment length constraints.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.