We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ cat src/p/d.go package d $ cat src/p/x_test.go package d_test; import _ "d" $ go version go version devel +b7d9e6e149 Mon Jun 18 11:53:40 2018 +0000 linux/amd64 $ GOPATH=$(pwd) go list -e -test p panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x82b5fd] goroutine 1 [running]: cmd/go/internal/list.runList(0xcd30c0, 0xc00001e0d0, 0x1, 0x1) /usr/local/google/home/adonovan/go/src/cmd/go/internal/list/list.go:287 +0x10ed main.main() /usr/local/google/home/adonovan/go/src/cmd/go/main.go:140 +0x51d
data := *pmain.Internal.TestmainGo // the * operator is applied to a nil *[]byte
The text was updated successfully, but these errors were encountered:
@gopherbot add label NeedsFix
Sorry, something went wrong.
CC @bcmills
Change https://golang.org/cl/123758 mentions this issue: cmd/go/internal/list: do not examine TestmainGo if the test fails to load
cmd/go/internal/list: do not examine TestmainGo if the test fails to load
b47927c
No branches or pull requests
The text was updated successfully, but these errors were encountered: