-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
What version of Go are you using (go version)?
$ go version go version go1.12.1 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GOARCH="amd64" GOBIN="" GOCACHE="/Users/mouille/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/mouille/go" GOPROXY="" GORACE="" GOROOT="/usr/local/go" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" 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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sh/xm6_z_dj1675zkr10j78cpvs63phsb/T/go-build271849061=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
This occurs during normal operation of gopls
What did you expect to see?
It locates the package on my system
What did you see instead?
It said the package was missing
@stamblerre requested the following output:
2019/07/31 14:09:01 Info:Build info
----------
golang.org/x/tools/gopls v0.1.2
golang.org/x/tools/gopls@v0.1.3 h1:CB5ECiPysqZrwxcyRjN+exyZpY0gODTZvNiqQi3lpeo=
golang.org/x/sync@v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
golang.org/x/tools@v0.0.0-20190710153321-831012c29e42 h1:4IOeC7p+OItq3+O5BWkcmVu2uBe3jekXau5S4QZX9DU=
Go info
-------
go version go1.12.1 darwin/amd64
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/mouille/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/mouille/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/mouille/Projects/srebot/srebot/go.mod"
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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sh/xm6_z_dj1675zkr10j78cpvs63phsb/T/go-build542264115=/tmp/go-build -gno-record-gcc-switches -fno-common"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1543b6f]
goroutine 1 [running]:
golang.org/x/tools/internal/lsp/cmd.(*connection).AddFile(0xc0000baa60, 0x1791b40, 0xc0000281d0, 0xc00029a020, 0x17, 0x0)
/Users/mouille/go/pkg/mod/golang.org/x/tools@v0.0.0-20190710153321-831012c29e42/internal/lsp/cmd/cmd.go:342 +0x14f
golang.org/x/tools/internal/lsp/cmd.(*check).Run(0xc0001c81e8, 0x1791b40, 0xc0000281d0, 0xc000020090, 0x1, 0x1, 0x0, 0x0)
/Users/mouille/go/pkg/mod/golang.org/x/tools@v0.0.0-20190710153321-831012c29e42/internal/lsp/cmd/check.go:51 +0x1c3
golang.org/x/tools/internal/tool.Main.func2(0x0, 0x1794680, 0xc0001c81e8, 0x1791b40, 0xc0000281d0, 0xc0000a5b00, 0x0, 0x0)
/Users/mouille/go/pkg/mod/golang.org/x/tools@v0.0.0-20190710153321-831012c29e42/internal/tool/tool.go:130 +0xb7
golang.org/x/tools/internal/tool.Main(0x1791b40, 0xc0000281d0, 0x1794680, 0xc0001c81e8, 0xc000020090, 0x1, 0x1)
/Users/mouille/go/pkg/mod/golang.org/x/tools@v0.0.0-20190710153321-831012c29e42/internal/tool/tool.go:131 +0x243
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc000204000, 0x1791b40, 0xc0000281d0, 0xc000020090, 0x2, 0x1, 0x0, 0x0)
/Users/mouille/go/pkg/mod/golang.org/x/tools@v0.0.0-20190710153321-831012c29e42/internal/lsp/cmd/cmd.go:112 +0x3ef
golang.org/x/tools/internal/tool.Main.func2(0xc000204000, 0x17945c0, 0xc000204000, 0x1791b40, 0xc0000281d0, 0xc0000a5aa0, 0x0, 0x0)
/Users/mouille/go/pkg/mod/golang.org/x/tools@v0.0.0-20190710153321-831012c29e42/internal/tool/tool.go:130 +0xb7
golang.org/x/tools/internal/tool.Main(0x1791b40, 0xc0000281d0, 0x17945c0, 0xc000204000, 0xc000020060, 0x4, 0x4)
/Users/mouille/go/pkg/mod/golang.org/x/tools@v0.0.0-20190710153321-831012c29e42/internal/tool/tool.go:131 +0x243
main.main()
/Users/mouille/go/pkg/mod/golang.org/x/tools/gopls@v0.1.3/main.go:20 +0xbb
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.