Skip to content

staticcheck and gopls nuke my computer #51829

Description

@bschaatsbergen

What version of Go are you using (go version)?

bruno@pop-os ~> go version                                                                                                                                                                                                                                                  (base) 
go version go1.17.8 linux/amd64

Does this issue reproduce with the latest release?

Open a large code base in VS code.

What operating system and processor architecture are you using (go env)?

go env Output
bruno@pop-os ~> go env                                                                                                                                                                                                                                                      (base) 
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/bruno/.cache/go-build"
GOENV="/home/bruno/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/bruno/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/bruno/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/linuxbrew/.linuxbrew/Cellar/go/1.17.8/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/linuxbrew/.linuxbrew/Cellar/go/1.17.8/libexec/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.8"
GCCGO="gccgo"
AR="ar"
CC="gcc-5"
CXX="g++-5"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1077551622=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Open visual studio code, to be more specific aws-sdk-go project or the hashicorp/terraform-provider-aws project

What did you expect to see?

My project

What did you see instead?

I get logged out because my machine is having a hard time

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgegoplsIssues related to the Go language server, gopls.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions