Skip to content

Segmentation fault when calling service.customer.list_accessible_customers #448

Description

@shadydealer

Describe the bug:

The following code throws a segmentation fault:

      def initialize_google_ads_client
        Google::Ads::GoogleAds::GoogleAdsClient.new do |config|
          config.client_id = <client_id>
          config.client_secret = <client_secret>
          config.developer_token = <developer_token>
          config.refresh_token = <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()

Steps to Reproduce:

Expected behavior:
not to throw an error

Client library version and API version:
Client library version: 23.0.0
Google Ads API version: 14

Dependencies:

    gapic-common (0.19.1)
      faraday (>= 1.9, < 3.a)
      faraday-retry (>= 1.0, < 3.a)
      google-protobuf (~> 3.14)
      googleapis-common-protos (>= 1.3.12, < 2.a)
      googleapis-common-protos-types (>= 1.3.1, < 2.a)
      googleauth (~> 1.0)
      grpc (~> 1.36)
    global (0.0.3)
      activesupport
    globalid (1.1.0)
      activesupport (>= 5.0)
    google-ads-googleads (23.0.0)
      gapic-common (~> 0.6)
      google-protobuf (>= 3.19.4, < 4.0)
    google-cloud-core (1.6.0)
      google-cloud-env (~> 1.0)
      google-cloud-errors (~> 1.0)
    google-cloud-env (1.5.0)
      faraday (>= 0.17.3, < 2.0)
    google-cloud-errors (1.1.0)
    google-cloud-recaptcha_enterprise (1.2.0)
      google-cloud-core (~> 1.5)
      google-cloud-recaptcha_enterprise-v1 (~> 0.0)
      google-cloud-recaptcha_enterprise-v1beta1 (~> 0.0)
    google-cloud-recaptcha_enterprise-v1 (0.4.0)
      gapic-common (~> 0.3)
      google-cloud-errors (~> 1.0)
    google-cloud-recaptcha_enterprise-v1beta1 (0.4.0)
      gapic-common (~> 0.3)
      google-cloud-errors (~> 1.0)
    google-protobuf (3.23.4)
    googleapis-common-protos (1.4.0)
      google-protobuf (~> 3.14)
      googleapis-common-protos-types (~> 1.2)
      grpc (~> 1.27)
    googleapis-common-protos-types (1.8.0)
      google-protobuf (~> 3.18)
    googleauth (1.6.0)
      faraday (>= 0.17.3, < 3.a)
      jwt (>= 1.4, < 3.0)
      memoist (~> 0.16)
      multi_json (~> 1.11)
      os (>= 0.9, < 2.0)
      signet (>= 0.16, < 2.a)
    grpc (1.56.2)
      google-protobuf (~> 3.23)
      googleapis-common-protos-types (~> 1.0)

Request/Response Logs:
Can't include any request logging, because the seg fault happens before the request could be made.

Anything else we should know about your project / environment:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issues that need to be sorted into other labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions