Warm tip: This article is reproduced from stackoverflow.com, please click
gcloud google-cloud-platform gcloud-cli

segmentation fault for gcloud CLI

发布于 2020-04-13 10:27:10

I am using gcloud-cli. installed it on ubuntu 18.04 using snap.

verified logs, even ran in verbose mode. But could not find any reason for segmntation fault.

Command I am using

gcloud init --verbosity=debug

Issue I am facing

DEBUG: Running [gcloud.init] with arguments: [--verbosity: "debug"]
Welcome! This command will take you through the configuration of gcloud.

Your current configuration has been set to: [default]

You can skip diagnostics next time by using the following flag:
  gcloud init --skip-diagnostics

Network diagnostic detects and fixes local network connection issues.
Checking network connection...Segmentation fault (core dumped)      

Any Help appreciated. Thanks in advance.

Questioner
sdk
Viewed
28
Martin Zeitler 2020-02-03 22:44

Remove the snap and install package google-cloud-sdk or as standalone.