New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/gopls: install failed, error obtaining buildID for go tool compile: signal: killed #57239
Comments
Replaced with |
@hongliang5316, is this failure consistently reproducible for you? If so, can you confirm how much free RAM you have while |
@bcmills go install -v golang.org/x/tools/gopls@latest [9:59:22]
❯ gopls version [9:59:32]
[1] 94541 bus error gopls version
❯ gopls version [9:59:39]
[1] 94546 bus error gopls version
❯ gopls version [9:59:40]
[1] 94692 bus error gopls version
❯ gopls version [10:01:19]
[1] 94697 bus error gopls version
❯ go install -v golang.org/x/tools/gopls@v0.9.5 [10:01:20]
❯ gopls version [10:01:34]
golang.org/x/tools/gopls v0.9.5
golang.org/x/tools/gopls@v0.9.5 h1:F3TO5th6TUg40FHrpxZfMkMlVaaTmByeEvylgVHGH2A=
❯ gopls version [10:01:37]
golang.org/x/tools/gopls v0.9.5
golang.org/x/tools/gopls@v0.9.5 h1:F3TO5th6TUg40FHrpxZfMkMlVaaTmByeEvylgVHGH2A=
❯ The current operation log is only go install -v golang.org/x/tools/gopls@v0.10.0 [10:04:45]
go: downloading golang.org/x/tools/gopls v0.10.0
go: downloading golang.org/x/tools v0.2.1-0.20221028182455-bd7d62852469
❯ gopls version [10:04:58]
[1] 95061 bus error gopls version
❯ gopls version [10:05:07]
[1] 95068 bus error gopls version
❯ gopls version [10:05:07]
[1] 95075 bus error gopls version
|
@hongliang5316 does it have sufficient memory to load and run gopls? |
@hyangah |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
gopls version
go: downloading golang.org/x/tools/gopls v0.10.1
go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/hl/Library/Caches/go-build"
GOENV="/Users/hl/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/hl/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/hl/go"
GOPRIVATE=""
GOPROXY="https://goproxy.io,direct"
GOROOT="/Users/hl/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/hl/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19.4"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/m_/fq5fc7yn6pv5vv3yhkpx8hzh0000gn/T/go-build1979055502=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
go install -v golang.org/x/tools/gopls@latest
go: downloading golang.org/x/tools/gopls v0.10.1
go: downloading golang.org/x/tools v0.4.0
go: downloading golang.org/x/tools v0.2.1-0.20221101170700-b5bc717366b2
go: downloading github.com/sergi/go-diff v1.1.0
go: downloading honnef.co/go/tools v0.3.3
go: downloading mvdan.cc/gofumpt v0.3.1
go: downloading mvdan.cc/xurls/v2 v2.4.0
go: downloading golang.org/x/mod v0.6.0
go: downloading golang.org/x/text v0.4.0
go: downloading golang.org/x/exp/typeparams v0.0.0-20220722155223-a9213eeb770e
go: downloading github.com/google/go-cmp v0.5.8
go: downloading golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e
go: downloading golang.org/x/sys v0.1.0
go: downloading golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
go: downloading golang.org/x/vuln v0.0.0-20221010193109-563322be2ea9
go: downloading github.com/BurntSushi/toml v1.2.0
go: error obtaining buildID for go tool compile: signal: killed
go: error obtaining buildID for go tool compile: signal: killed
go: error obtaining buildID for go tool compile: signal: killed
go: error obtaining buildID for go tool compile: signal: killed
go: error obtaining buildID for go tool compile: signal: killed
go: error obtaining buildID for go tool compile: signal: killed
The text was updated successfully, but these errors were encountered: