Skip to content
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/internal/lsp/source: panic due to concurrent map access #37925

Closed
hyangah opened this issue Mar 18, 2020 · 1 comment
Closed

x/tools/internal/lsp/source: panic due to concurrent map access #37925

hyangah opened this issue Mar 18, 2020 · 1 comment

Comments

@hyangah
Copy link
Contributor

@hyangah hyangah commented Mar 18, 2020

From microsoft/vscode-go#3026 (comment)

cc @Greyh4t

gopls v0.3.3
go version 1.14 windows/amd64

fatal error: concurrent map iteration and map write
fatal error: concurrent map read and map write
fatal error: concurrent map iteration and map write

goroutine 9502 [running]:
runtime.throw(0xcda4c5, 0x26)
	C:/Go/src/runtime/panic.go:1112 +0x79 fp=0xc0014e5908 sp=0xc0014e58d8 pc=0x437da9
runtime.mapiternext(0xc0014e5bb8)
	C:/Go/src/runtime/map.go:853 +0x559 fp=0xc0014e5988 sp=0xc0014e5908 pc=0x410309
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc0000e75c0, 0xc008be6f00, 0xc0014e5e00, 0x449e17, 0xc0014e5f10, ...)
	C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:70 +0xc1d fp=0xc0014e5d20 sp=0xc0014e5988 pc=0x793d8d
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
	C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec fp=0xc0014e5f88 sp=0xc0014e5d20 pc=0xaba48c
runtime.goexit()
	C:/Go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0014e5f90 sp=0xc0014e5f88 pc=0x468a71
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
	C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

[Info - 下午4:37:12] 2020/03/18 16:37:12 Build info

golang.org/x/tools/gopls v0.3.3
golang.org/x/tools/gopls@v0.3.3 h1:mTFqRDJQmpSsgDDWvbtGnSva1z9uX2XcDszSWa6DhBQ=
github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/sergi/go-diff@v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
golang.org/x/mod@v0.1.1-0.20191105210325-c90efee705ee h1:WG0RUwxtNT4qqaXX3DPA8zHFNm/D9xaBpxzHt1WcA/E=
golang.org/x/sync@v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
golang.org/x/tools@v0.0.0-20200227200655-6862ededa516 h1:OX66ZzpltgCOuBSGdaeT77hS2z3ub2AB+EuGxvGRBLE=
golang.org/x/xerrors@v0.0.0-20191011141410-1b5146add898 h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=
honnef.co/go/tools@v0.0.1-2020.1.3 h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U=
mvdan.cc/xurls/v2@v2.1.0 h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=

Go info

go version go1.14 windows/amd64

set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\L\AppData\Local\go-build
set GOENV=C:\Users\L\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\L\Go
set GOPRIVATE=
set GOPROXY=https://goproxy.io
set GOROOT=C:\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=d:\work\gocode\hids\jarvis\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\L\AppData\Local\Temp\go-build757331242=/tmp/go-build -gno-record-gcc-switches

[Info - 下午4:37:14] 2020/03/18 16:37:14 go/packages.Load
snapshot = 0
query = [./... builtin]
packages = 68
[Info - 下午4:37:15] 2020/03/18 16:37:15 132.0614ms for GOROOT=C:\Go GOPATH=C:\Users\L\Go GO111MODULE= GOPROXY=https://goproxy.io PWD=D:\work\gocode\hids\jarvis go [go env GOMOD]
[Info - 下午4:37:16] 2020/03/18 16:37:16 382.0727ms for GOROOT=C:\Go GOPATH=C:\Users\L\Go GO111MODULE= GOPROXY=https://goproxy.io PWD=D:\work\gocode\hids\jarvis go [go list -modfile=C:\Users\L\AppData\Local\Temp\go.jarvis.778003387.mod -m -f {{.Path}}
{{.Dir}}
{{.GoMod}}
{{.GoVersion}}
{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
]
[Info - 下午4:37:16] 2020/03/18 16:37:16 255.3221ms for GOROOT=C:\Go GOPATH=C:\Users\L\Go GO111MODULE= GOPROXY=https://goproxy.io PWD=D:\work\gocode\hids\jarvis go [go list -modfile=C:\Users\L\AppData\Local\Temp\go.jarvis.778003387.mod -m -json ...]
[Info - 下午4:37:46] 2020/03/18 16:37:46 background imports cache refresh starting
[Info - 下午4:37:49] 2020/03/18 16:37:49 background refresh finished after 2.8194553s
Error =
[Info - 下午4:38:27] 2020/03/18 16:38:27 go/packages.Load
snapshot = 3
query = [file=D:\work\gocode\hids\jarvis\found packages main (docker.go) and agent (master.go) in D:\work\gocode\hids\jarvis\test]
packages = 0
fatal error: concurrent map iteration and map write
fatal error: concurrent map read and map write
fatal error: concurrent map iteration and map write
[Info - 下午4:38:30] 2020/03/18 16:38:30 go/packages.Load
snapshot = 3
query = [file=D:\work\gocode\hids\jarvis\found packages main (docker.go) and agent (master.go) in D:\work\gocode\hids\jarvis\test]
packages = 0

goroutine 9502 [running]:
runtime.throw(0xcda4c5, 0x26)
C:/Go/src/runtime/panic.go:1112 +0x79 fp=0xc0014e5908 sp=0xc0014e58d8 pc=0x437da9
runtime.mapiternext(0xc0014e5bb8)
C:/Go/src/runtime/map.go:853 +0x559 fp=0xc0014e5988 sp=0xc0014e5908 pc=0x410309
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc0000e75c0, 0xc008be6f00, 0xc0014e5e00, 0x449e17, 0xc0014e5f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:70 +0xc1d fp=0xc0014e5d20 sp=0xc0014e5988 pc=0x793d8d
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec fp=0xc0014e5f88 sp=0xc0014e5d20 pc=0xaba48c
runtime.goexit()
C:/Go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0014e5f90 sp=0xc0014e5f88 pc=0x468a71
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 1 [syscall, locked to thread]:
syscall.Syscall6(0x7ff95eae2410, 0x5, 0x4f0, 0xc00033f000, 0x1000, 0xc00051934c, 0x0, 0x0, 0x0, 0x0, ...)
C:/Go/src/runtime/syscall_windows.go:201 +0xf2
syscall.ReadFile(0x4f0, 0xc00033f000, 0x1000, 0x1000, 0xc00051934c, 0x0, 0x7ffff800000, 0x2)
C:/Go/src/syscall/zsyscall_windows.go:313 +0xd2
syscall.Read(0x4f0, 0xc00033f000, 0x1000, 0x1000, 0xc00ace47e0, 0xc, 0xc)
C:/Go/src/syscall/syscall_windows.go:344 +0x6f
internal/poll.(*FD).Read(0xc00007a000, 0xc00033f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
C:/Go/src/internal/poll/fd_windows.go:513 +0x221
os.(*File).read(...)
C:/Go/src/os/file_windows.go:220
os.(*File).Read(0xc000006010, 0xc00033f000, 0x1000, 0x1000, 0x6, 0x6, 0x6)
C:/Go/src/os/file.go:116 +0x78
bufio.(*Reader).fill(0xc00036a180)
C:/Go/src/bufio/bufio.go:100 +0x10a
bufio.(*Reader).ReadSlice(0xc00036a180, 0xa8e80a, 0xc0003219c0, 0xe08aa0, 0xc008a22810, 0xbf94956036ef9cc4, 0x10e9171e81)
C:/Go/src/bufio/bufio.go:359 +0x44
bufio.(*Reader).ReadBytes(0xc00036a180, 0xa, 0x0, 0xbf94956036ef9cc4, 0x10e9171e81, 0x131f9e0, 0xc008e98440)
C:/Go/src/bufio/bufio.go:438 +0x81
bufio.(*Reader).ReadString(...)
C:/Go/src/bufio/bufio.go:475
golang.org/x/tools/internal/jsonrpc2.(*headerStream).Read(0xc00035aaa0, 0xe08aa0, 0xc000367b90, 0xc00906f300, 0xc00036a1e0, 0xe08aa0, 0xc008a22810, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/jsonrpc2/stream.go:104 +0x99
golang.org/x/tools/internal/jsonrpc2.(*Conn).Run(0xc00036a1e0, 0xe08aa0, 0xc000367b90, 0xde36b0, 0xc69bc0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/jsonrpc2/jsonrpc2.go:317 +0xac
golang.org/x/tools/internal/lsp/lsprpc.(*StreamServer).ServeStream(0xc000367920, 0xe08a20, 0xc000032038, 0xdfc4e0, 0xc00035aaa0, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/lsprpc/lsprpc.go:154 +0x787
golang.org/x/tools/internal/lsp/cmd.(*Serve).Run(0xc0002dc930, 0xe08a20, 0xc000032038, 0xc000004490, 0x0, 0x0, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cmd/serve.go:88 +0x3f3
golang.org/x/tools/internal/tool.Run(0xe08a20, 0xc000032038, 0xe0ca20, 0xc0002dc930, 0xc000004490, 0x0, 0x0, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/tool/tool.go:152 +0x2a4
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc0002dc900, 0xe08a20, 0xc000032038, 0xc000004490, 0x0, 0x0, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cmd/cmd.go:137 +0x331
golang.org/x/tools/internal/tool.Run(0xe08a20, 0xc000032038, 0xe0c9e0, 0xc0002dc900, 0xc000004490, 0x1, 0x1, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/tool/tool.go:152 +0x2a4
golang.org/x/tools/internal/tool.Main(0xe08a20, 0xc000032038, 0xe0c9e0, 0xc0002dc900, 0xc000004490, 0x1, 0x1)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/tool/tool.go:91 +0x136
main.main()
C:/Users/L/Go/pkg/mod/golang.org/x/tools/gopls@v0.3.3/main.go:25 +0xe2

goroutine 73 [chan receive]:
golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory.func1(0xc000350640, 0xc0002898f0, 0xc00036e000, 0xe08a20, 0xc000032038)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/debug/serve.go:460 +0x6c
created by golang.org/x/tools/internal/lsp/debug.(*Instance).MonitorMemory
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/debug/serve.go:458 +0xa0

goroutine 9531 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9501 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc00067e280, 0x39, 0xc001087900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00948d680, 0xc00067e280, 0x39, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc0000e6cc0, 0xc008be6f00, 0xc009372100, 0xc009372160, 0xc008e98b50, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9500 [runnable]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc00e81cba0, 0x2f, 0xc000c57900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00948d650, 0xc00e81cba0, 0x2f, 0x28, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc00acf6ba0, 0xc008be6f00, 0xde3601, 0xde36d8, 0xc000032001, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9532 [runnable]:
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc0000e7c20, 0xc008be6f00, 0xc0036f3e00, 0x449e17, 0xc0036f3f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:70 +0xc1d
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9530 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9495 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000ba2a50, 0x43, 0xc00fffa100)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00948d620, 0xc000ba2a50, 0x43, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000b51c20, 0xc008be6f00, 0xc0006bde00, 0x449e17, 0xc0006bdf10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9356 [runnable, locked to thread]:
syscall.Syscall6(0x7ff95eae2500, 0x5, 0x5a0, 0xc01310da40, 0x123, 0xc000115cc4, 0x0, 0x0, 0x0, 0x0, ...)
C:/Go/src/runtime/syscall_windows.go:201 +0xf2
syscall.WriteFile(0x5a0, 0xc01310da40, 0x123, 0x140, 0xc000115cc4, 0x0, 0x7ffff80000000000, 0x4)
C:/Go/src/syscall/zsyscall_windows.go:329 +0xd2
syscall.Write(0x5a0, 0xc01310da40, 0x123, 0x140, 0x4773c9, 0x4, 0xc00007a280)
C:/Go/src/syscall/syscall_windows.go:369 +0x6f
internal/poll.(*FD).Write(0xc00007a280, 0xc01310da40, 0x123, 0x140, 0x0, 0x0, 0x0)
C:/Go/src/internal/poll/fd_windows.go:706 +0x275
os.(*File).write(...)
C:/Go/src/os/file_windows.go:237
os.(*File).Write(0xc000006018, 0xc01310da40, 0x123, 0x140, 0xc000115e48, 0x1, 0x1)
C:/Go/src/os/file.go:153 +0x78
golang.org/x/tools/internal/jsonrpc2.(*headerStream).Write(0xc00035aaa0, 0xe08aa0, 0xc009416cf0, 0xc01310da40, 0x123, 0x140, 0x0, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/jsonrpc2/stream.go:157 +0x1db
golang.org/x/tools/internal/jsonrpc2.(*Conn).Notify(0xc00036a1e0, 0xe08aa0, 0xc009416cf0, 0xcbf810, 0x11, 0xb5f2e0, 0xc0092cdc40, 0x0, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/jsonrpc2/jsonrpc2.go:120 +0x327
golang.org/x/tools/internal/lsp/protocol.(*clientDispatcher).LogMessage(0xc00028a630, 0xe09120, 0xc0093b2700, 0xc0092cdc40, 0xbba600, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/protocol/tsclient.go:162 +0x74
created by golang.org/x/tools/internal/lsp/protocol.LogEvent
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/protocol/context.go:30 +0x1f3

goroutine 9496 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9504 [runnable]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000b212c0, 0x37, 0xc0009af900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00948cdb0, 0xc000b212c0, 0x37, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000a4ef60, 0xc008be6f00, 0xc0009afe00, 0x449e17, 0xc0009aff10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9516 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9512 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9507 [runnable]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000b21300, 0x32, 0xc01309a100)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00938e060, 0xc000b21300, 0x32, 0x22, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000484240, 0xc008be6f00, 0xc0019cfe00, 0x449e17, 0xc0019cff10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9525 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9492 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000994af0, 0x4d, 0xc001107900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00951e930, 0xc000994af0, 0x4d, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc00092b080, 0xc008be6f00, 0xc001107e00, 0x449e17, 0xc001107f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9490 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000443800, 0x32, 0xc00ffe9000)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc005b34ae0, 0xc000443800, 0x32, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc00027d440, 0xc008be6f00, 0xc001435e00, 0x449e17, 0xc001435f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9510 [running]:
goroutine running on other thread; stack unavailable
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9519 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9506 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc00084b280, 0x3a, 0xc001511900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00938e030, 0xc00084b280, 0x3a, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc0008472c0, 0xc008be6f00, 0xc001511e00, 0x449e17, 0xc001511f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9534 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9498 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc0000b1dc0, 0x3b, 0xc003a47900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc009416f90, 0xc0000b1dc0, 0x3b, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000a4f560, 0xc008be6f00, 0xc003a47e00, 0x449e17, 0xc003a47f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9511 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9529 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9359 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc0004cfa80, 0x3e, 0xc013072b00)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00951e120, 0xc0004cfa80, 0x3e, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000a7fb60, 0xc008be6f00, 0x2030000, 0xddeb0f, 0x50, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9524 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc0008fd380, 0x3f, 0xc003ac1900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc009597890, 0xc0008fd380, 0x3f, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000847f20, 0xc008be6f00, 0x0, 0x1, 0x0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9358 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc0004cf700, 0x3a, 0xc0019bd900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc009597350, 0xc0004cf700, 0x3a, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000b51ec0, 0xc008be6f00, 0xc00004a000, 0xc0019bdd98, 0x403f6f, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9517 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9508 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000bc1d40, 0x3a, 0xc00372f900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00938e1b0, 0xc000bc1d40, 0x3a, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000a4f140, 0xc008be6f00, 0xc00372fe00, 0x449e17, 0xc00372ff10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9491 [runnable]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000a49b00, 0x3f, 0xc013072e00)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00951e960, 0xc000a49b00, 0x3f, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000a4eae0, 0xc008be6f00, 0xc0037abe00, 0x449e17, 0xc0037abf10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9535 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9514 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9520 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc0003c4910, 0x46, 0xc003963900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00938e000, 0xc0003c4910, 0x46, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000a4e900, 0xc008be6f00, 0xc003963d00, 0xa9f3cd, 0xc0003645b0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9536 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc00092fd00, 0x35, 0xc00132f900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00948d5f0, 0xc00092fd00, 0x35, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc00acf68a0, 0xc008be6f00, 0xc00132fe00, 0x449e17, 0xc00132ff10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9497 [runnable]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0xc00fec5501, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc0052d6f60, 0x53, 0xc00fec5600)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.addReports(0xe08aa0, 0xc005b34d50, 0xe1b540, 0xc00ace1500, 0xc005b34cf0, 0xc0052d6f60, 0x53, 0xc002bd59c8, 0x1, 0x1, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:325 +0x84
golang.org/x/tools/internal/lsp/source.diagnostics(0xe08aa0, 0xc005b34d50, 0xe1b540, 0xc00ace1500, 0xc005b34cf0, 0xe197e0, 0xc005302160, 0x0, 0xc00873d300, 0x0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:211 +0x788
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000847b60, 0xc008be6f00, 0xc003a15e00, 0x449e17, 0xc003a15f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:118 +0x57e
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9527 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9523 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9361 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x1, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc000ba2410, 0x43, 0xc00ffe9500)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc00951e0f0, 0xc000ba2410, 0x43, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000b51a40, 0xc008be6f00, 0xc00004a000, 0xc0039cdd98, 0x403f6f, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9360 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc00093f900, 0x32, 0xc00fe39a00)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc009416de0, 0xc00093f900, 0x32, 0x25, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc00acf6a20, 0xc008be6f00, 0xc000045000, 0xc003a4bd98, 0x403f6f, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9515 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9503 [running]:
goroutine running on other thread; stack unavailable
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9526 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9513 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9533 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9392 [semacquire]:
sync.runtime_Semacquire(0xc010ae7328)
C:/Go/src/runtime/sema.go:56 +0x49
sync.(*WaitGroup).Wait(0xc010ae7320)
C:/Go/src/sync/waitgroup.go:130 +0x6b
golang.org/x/tools/internal/lsp.(*Server).diagnose(0xc000293100, 0xe089e0, 0xc005e4b080, 0xe1b540, 0xc00ace1500, 0x468a00, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:143 +0x741
golang.org/x/tools/internal/lsp.(*Server).diagnoseSnapshot(0xc000293100, 0xe1b540, 0xc00ace1500)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:38 +0x8e
created by golang.org/x/tools/internal/lsp.(*Server).didModifyFiles
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/text_synchronization.go:229 +0x718

goroutine 9521 [semacquire]:
sync.runtime_SemacquireMutex(0xc0004475d4, 0x0, 0x1)
C:/Go/src/runtime/sema.go:71 +0x4e
sync.(*Mutex).lockSlow(0xc0004475d0)
C:/Go/src/sync/mutex.go:138 +0x103
sync.(*Mutex).Lock(...)
C:/Go/src/sync/mutex.go:81
golang.org/x/tools/internal/lsp/cache.(*view).Ignore(0xc000447400, 0xc0008335e0, 0x42, 0xc00588f900)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/cache/view.go:492 +0x1ba
golang.org/x/tools/internal/lsp/source.clearReports(0xe1b540, 0xc00ace1500, 0xc009597e00, 0xc0008335e0, 0x42, 0x24, 0x0)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:313 +0x70
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000847800, 0xc008be6f00, 0xc00588fd00, 0x1, 0xc00588fd88, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:90 +0xa2b
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9518 [runnable]:
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9503 [running]:
runtime.throw(0xcda4c5, 0x26)
C:/Go/src/runtime/panic.go:1112 +0x79 fp=0xc003797908 sp=0xc0037978d8 pc=0x437da9
runtime.mapiternext(0xc003797bb8)
C:/Go/src/runtime/map.go:853 +0x559 fp=0xc003797988 sp=0xc003797908 pc=0x410309
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc00092a420, 0xc008be6f00, 0xc003797f00, 0x7521f6, 0xc003797ea8, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:70 +0xc1d fp=0xc003797d20 sp=0xc003797988 pc=0x793d8d
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec fp=0xc003797f88 sp=0xc003797d20 pc=0xaba48c
runtime.goexit()
C:/Go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc003797f90 sp=0xc003797f88 pc=0x468a71
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717

goroutine 9510 [running]:
runtime.throw(0xcd5652, 0x21)
C:/Go/src/runtime/panic.go:1112 +0x79 fp=0xc000593918 sp=0xc0005938e8 pc=0x437da9
runtime.mapaccess2_faststr(0xbba3c0, 0xc008be6f00, 0xc000747bc0, 0x22, 0x134fc20, 0x0)
C:/Go/src/runtime/map_faststr.go:116 +0x483 fp=0xc000593988 sp=0xc000593918 pc=0x413be3
golang.org/x/tools/internal/lsp/source.Diagnostics(0xe08aa0, 0xc0086d6b40, 0xe1b540, 0xc00ace1500, 0xe0c9a0, 0xc000484840, 0xc008be6f00, 0xc000593e00, 0x449e17, 0xc000593f10, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/source/diagnostics.go:66 +0x1c0 fp=0xc000593d20 sp=0xc000593988 pc=0x793330
golang.org/x/tools/internal/lsp.(*Server).diagnose.func2(0xc010ae7320, 0xc010046c00, 0xe1b540, 0xc00ace1500, 0xc008f08220, 0xc008be6f00, 0xc000293100, 0xc010ae7308, 0xc0089bd2f0, 0xe0c9a0, ...)
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:116 +0x1ec fp=0xc000593f88 sp=0xc000593d20 pc=0xaba48c
runtime.goexit()
C:/Go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000593f90 sp=0xc000593f88 pc=0x468a71
created by golang.org/x/tools/internal/lsp.(*Server).diagnose
C:/Users/L/Go/pkg/mod/golang.org/x/tools@v0.0.0-20200227200655-6862ededa516/internal/lsp/diagnostics.go:107 +0x717
[Error - 下午4:38:30] Connection to server got closed. Server will not be restarted.

@heschi
Copy link
Contributor

@heschi heschi commented Mar 18, 2020

Duplicate of #37798. Release is targeted for today.

@heschi heschi closed this Mar 18, 2020
@golang golang locked and limited conversation to collaborators Mar 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants