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/gopls: VS code crash in documentSymbols #48181

Open
ashutshkumr opened this issue Sep 1, 2021 · 4 comments
Open

x/tools/gopls: VS code crash in documentSymbols #48181

ashutshkumr opened this issue Sep 1, 2021 · 4 comments

Comments

@ashutshkumr
Copy link

@ashutshkumr ashutshkumr commented Sep 1, 2021

gopls version: v0.7.1
gopls flags:
update flags: proxy
extension version: 0.27.1
go version: 1.17
environment: Visual Studio Code linux
initialization error: undefined
manual restart count: 0
total start count: 1

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

gopls abruptly crashed while I wasn't even editing the code.

Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.

[Info  - 11:29:45 AM] 2021/09/01 11:29:45 go env for /home/otg/snappi
(root /home/otg/snappi/gosnappi)
(go version go version go1.17 linux/arm64)
(valid build configuration = true)
(build flags: [])
GOMODCACHE=/home/otg/snappi/.local/pkg/mod
GONOPROXY=
GOFLAGS=
GONOSUMDB=
GOPROXY=https://proxy.golang.org,direct
GOROOT=/home/otg/snappi/.local/go
GO111MODULE=
GOINSECURE=
GOMOD=/dev/null
GOPRIVATE=
GOSUMDB=sum.golang.org
GOCACHE=/root/.cache/go-build
GOPATH=/home/otg/snappi/.local


[Info  - 11:29:45 AM] 2021/09/01 11:29:45 go/packages.Load
	snapshot=0
	directory=/home/otg/snappi/gosnappi
	query=[builtin github.com/open-traffic-generator/snappi/gosnappi/...]
	packages=6

[Info  - 11:29:46 AM] 2021/09/01 11:29:46 discovered missing identifiers: map[options:true]
	package="vendor/golang.org/x/text/unicode/bidi"

[Error - 11:30:05 AM] Request textDocument/definition failed.
  Message: no identifier found
  Code: 0 
[Info  - 11:30:18 AM] 2021/09/01 11:30:18 background imports cache refresh starting

[Info  - 11:30:18 AM] 2021/09/01 11:30:18 background refresh finished after 167.125125ms

[Info  - 11:33:02 AM] 2021/09/01 11:33:02 reloadOrphanedFiles reloading
	query=[file:///home/otg/snappi/.local/go/src/builtin/builtin.go]

[Info  - 11:33:02 AM] 2021/09/01 11:33:02 go/packages.Load
	snapshot=9
	directory=/home/otg/snappi/gosnappi
	query=[file=/home/otg/snappi/.local/go/src/builtin/builtin.go]
	packages=1

[Info  - 11:33:02 AM] 2021/09/01 11:33:02 go/packages.Load
	snapshot=9
	package="command-line-arguments"
	files=[/home/otg/snappi/.local/go/src/builtin/builtin.go]

[Error - 11:33:26 AM] 2021/09/01 11:33:26 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:22:28: expected type, found ')'
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Info  - 11:33:26 AM] 2021/09/01 11:33:26 background imports cache refresh starting

[Info  - 11:33:26 AM] 2021/09/01 11:33:26 background refresh finished after 34.362666ms

[Error - 11:33:26 AM] 2021/09/01 11:33:26 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:22:28: expected type, found '{' (and 1 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:33:27 AM] 2021/09/01 11:33:27 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:22:27: expected operand, found ')' (and 8 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:33:27 AM] 2021/09/01 11:33:27 DocumentSymbols failed: invalid pos
	URI=file:///home/otg/snappi/gosnappi/scratch/hello.go

[Error - 11:33:28 AM] 2021/09/01 11:33:28 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:24:1: expected operand, found '}' (and 8 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:33:28 AM] 2021/09/01 11:33:28 DocumentSymbols failed: invalid pos
	URI=file:///home/otg/snappi/gosnappi/scratch/hello.go

[Error - 11:33:34 AM] 2021/09/01 11:33:34 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:22:7: expected ';', found req
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:33:40 AM] 2021/09/01 11:33:40 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:25:1: expected operand, found '}' (and 4 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:33:44 AM] 2021/09/01 11:33:44 no signature help: cannot find an enclosing function
	position={22 7}

[Error - 11:33:55 AM] 2021/09/01 11:33:55 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:23:2: expected 1 expression (and 1 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Info  - 11:33:58 AM] 2021/09/01 11:33:58 background imports cache refresh starting

[Info  - 11:33:58 AM] 2021/09/01 11:33:58 background refresh finished after 41.622125ms

[Error - 11:34:15 AM] 2021/09/01 11:34:15 no signature help: cannot find an enclosing function
	position={24 16}

[Error - 11:34:30 AM] 2021/09/01 11:34:30 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:29:1: expected operand, found '}' (and 5 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Info  - 11:34:30 AM] 2021/09/01 11:34:30 background imports cache refresh starting

[Info  - 11:34:30 AM] 2021/09/01 11:34:30 background refresh finished after 17.266792ms

[Error - 11:34:31 AM] 2021/09/01 11:34:31 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:29:1: expected operand, found '}' (and 5 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:34:33 AM] 2021/09/01 11:34:33 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:29:1: expected operand, found '}' (and 5 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:34:35 AM] 2021/09/01 11:34:35 no signature help: cannot find an enclosing function
	position={26 7}

[Error - 11:34:35 AM] 2021/09/01 11:34:35 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:27:6: expected 1 expression (and 6 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:34:39 AM] 2021/09/01 11:34:39 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:27:37: expected '{', found newline (and 5 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:34:40 AM] 2021/09/01 11:34:40 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:27:37: expected '{', found newline (and 5 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:34:42 AM] 2021/09/01 11:34:42 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:27:37: expected '{', found newline (and 5 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:34:43 AM] 2021/09/01 11:34:43 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:27:45: expected '{', found newline (and 5 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Info  - 11:35:11 AM] 2021/09/01 11:35:11 background imports cache refresh starting

[Info  - 11:35:11 AM] 2021/09/01 11:35:11 background refresh finished after 67.113292ms

[Info  - 11:35:49 AM] 2021/09/01 11:35:49 background imports cache refresh starting

[Info  - 11:35:49 AM] 2021/09/01 11:35:49 background refresh finished after 12.418959ms

[Info  - 11:36:20 AM] 2021/09/01 11:36:20 background imports cache refresh starting

[Info  - 11:36:21 AM] 2021/09/01 11:36:21 background refresh finished after 68.531292ms

[Error - 11:36:23 AM] Request textDocument/codeAction failed.
  Message: context canceled
  Code: 0 
[Error - 11:36:27 AM] 2021/09/01 11:36:27 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:37:2: expected statement, found '.'
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Error - 11:36:48 AM] Request textDocument/codeAction failed.
  Message: context canceled
  Code: 0 
[Info  - 11:36:52 AM] 2021/09/01 11:36:52 background imports cache refresh starting

[Info  - 11:36:52 AM] 2021/09/01 11:36:52 background refresh finished after 34.429958ms

[Error - 11:36:53 AM] 2021/09/01 11:36:53 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:37:42: illegal rune literal
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Info  - 11:37:22 AM] 2021/09/01 11:37:22 background imports cache refresh starting

[Info  - 11:37:22 AM] 2021/09/01 11:37:22 background refresh finished after 65.580125ms

[Info  - 11:38:18 AM] 2021/09/01 11:38:18 background imports cache refresh starting

[Info  - 11:38:18 AM] 2021/09/01 11:38:18 background refresh finished after 38.963458ms

[Info  - 11:38:58 AM] 2021/09/01 11:38:58 background imports cache refresh starting

[Info  - 11:38:58 AM] 2021/09/01 11:38:58 background refresh finished after 46.27675ms

[Info  - 11:39:37 AM] 2021/09/01 11:39:37 go/packages.Load
	snapshot=429
	directory=/home/otg/snappi/gosnappi
	query=[file=/home/otg/snappi/gosnappi/scratch/hello.go]
	packages=1

[Info  - 11:39:37 AM] 2021/09/01 11:39:37 go/packages.Load
	snapshot=429
	package="github.com/open-traffic-generator/snappi/gosnappi/scratch"
	files=[/home/otg/snappi/gosnappi/scratch/hello.go]

[Info  - 11:39:37 AM] 2021/09/01 11:39:37 go/packages.Load
	snapshot=429
	directory=/home/otg/snappi/gosnappi
	query=[file=/home/otg/snappi/gosnappi/scratch/hello.go]
	packages=1

[Info  - 11:39:37 AM] 2021/09/01 11:39:37 go/packages.Load
	snapshot=429
	package="github.com/open-traffic-generator/snappi/gosnappi/scratch"
	files=[/home/otg/snappi/gosnappi/scratch/hello.go]

[Info  - 11:39:46 AM] 2021/09/01 11:39:46 go/packages.Load
	snapshot=446
	directory=/home/otg/snappi/gosnappi
	query=[file=/home/otg/snappi/gosnappi/scratch/hello.go]
	packages=1

[Info  - 11:39:46 AM] 2021/09/01 11:39:46 go/packages.Load
	snapshot=446
	package="github.com/open-traffic-generator/snappi/gosnappi/scratch"
	files=[/home/otg/snappi/gosnappi/scratch/hello.go]

[Info  - 11:39:46 AM] 2021/09/01 11:39:46 go/packages.Load
	snapshot=446
	directory=/home/otg/snappi/gosnappi
	query=[file=/home/otg/snappi/gosnappi/scratch/hello.go]
	packages=1

[Info  - 11:39:46 AM] 2021/09/01 11:39:46 go/packages.Load
	snapshot=446
	package="github.com/open-traffic-generator/snappi/gosnappi/scratch"
	files=[/home/otg/snappi/gosnappi/scratch/hello.go]

[Info  - 11:40:02 AM] 2021/09/01 11:40:02 background imports cache refresh starting

[Info  - 11:40:02 AM] 2021/09/01 11:40:02 background refresh finished after 58.627333ms

[Error - 11:40:12 AM] Request textDocument/codeAction failed.
  Message: context canceled
  Code: 0 
[Info  - 11:40:38 AM] 2021/09/01 11:40:38 background imports cache refresh starting

[Info  - 11:40:38 AM] 2021/09/01 11:40:38 background refresh finished after 24.901416ms

[Info  - 11:41:09 AM] 2021/09/01 11:41:09 background imports cache refresh starting

[Info  - 11:41:09 AM] 2021/09/01 11:41:09 background refresh finished after 15.004917ms

[Error - 11:42:37 AM] 2021/09/01 11:42:37 DocumentSymbols failed: getting file for DocumentSymbols: no packages for non-Go file file:///home/otg/snappi/gosnappi/go.mod
	URI=file:///home/otg/snappi/gosnappi/go.mod

[Error - 11:42:42 AM] 2021/09/01 11:42:42 DocumentSymbols failed: getting file for DocumentSymbols: no packages for non-Go file file:///home/otg/snappi/gosnappi/go.mod
	URI=file:///home/otg/snappi/gosnappi/go.mod

[Info  - 11:43:04 AM] 2021/09/01 11:43:04 background imports cache refresh starting

[Info  - 11:43:04 AM] 2021/09/01 11:43:04 background refresh finished after 18.28575ms

[Error - 11:43:31 AM] 2021/09/01 11:43:31 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:11:11: expected selector or type assertion, found 'go' (and 1 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Info  - 11:43:54 AM] 2021/09/01 11:43:54 background imports cache refresh starting

[Info  - 11:43:54 AM] 2021/09/01 11:43:54 background refresh finished after 51.191458ms

[Error - 11:45:19 AM] 2021/09/01 11:45:19 imports fixes: AllImportsFixes: /home/otg/snappi/gosnappi/scratch/hello.go:11:11: expected selector or type assertion, found 'go' (and 1 more errors)
	file="/home/otg/snappi/gosnappi/scratch/hello.go"

[Info  - 11:45:49 AM] 2021/09/01 11:45:49 background imports cache refresh starting

[Info  - 11:45:49 AM] 2021/09/01 11:45:49 background refresh finished after 48.57125ms

[Info  - 2:17:32 PM] 2021/09/01 14:17:32 background imports cache refresh starting

[Info  - 2:17:32 PM] 2021/09/01 14:17:32 background refresh finished after 47.005167ms

[Error - 2:17:34 PM] 2021/09/01 14:17:34 DocumentSymbols failed: getting file for DocumentSymbols: no packages for non-Go file file:///home/otg/snappi/gosnappi/go.mod
	URI=file:///home/otg/snappi/gosnappi/go.mod

[Error - 2:17:39 PM] 2021/09/01 14:17:39 DocumentSymbols failed: getting file for DocumentSymbols: no packages for non-Go file file:///home/otg/snappi/gosnappi/go.mod
	URI=file:///home/otg/snappi/gosnappi/go.mod

[Info  - 2:18:09 PM] 2021/09/01 14:18:09 background imports cache refresh starting

[Info  - 2:18:09 PM] 2021/09/01 14:18:09 background refresh finished after 48.65375ms

[Info  - 2:21:49 PM] 2021/09/01 14:21:49 background imports cache refresh starting

[Info  - 2:21:49 PM] 2021/09/01 14:21:49 background refresh finished after 43.883208ms

[Info  - 2:29:48 PM] 2021/09/01 14:29:48 background imports cache refresh starting

[Info  - 2:29:48 PM] 2021/09/01 14:29:48 background refresh finished after 24.242042ms

[Info  - 2:30:20 PM] Connection to server got closed. Server will restart.
[Info  - 2:30:21 PM] 2021/09/01 14:30:21 go env for /home/otg/snappi
(root /home/otg/snappi/gosnappi)
(go version go version go1.17 linux/arm64)
(valid build configuration = true)
(build flags: [])
GOCACHE=/root/.cache/go-build
GOFLAGS=
GOMOD=/dev/null
GONOPROXY=
GOPROXY=https://proxy.golang.org,direct
GOMODCACHE=/home/otg/snappi/.local/pkg/mod
GOPRIVATE=
GOSUMDB=sum.golang.org
GOROOT=/home/otg/snappi/.local/go
GOPATH=/home/otg/snappi/.local
GO111MODULE=
GOINSECURE=
GONOSUMDB=


[Info  - 2:30:21 PM] 2021/09/01 14:30:21 go/packages.Load
	snapshot=0
	directory=/home/otg/snappi/gosnappi
	query=[builtin github.com/open-traffic-generator/snappi/gosnappi/...]
	packages=6

[Info  - 2:30:23 PM] 2021/09/01 14:30:23 discovered missing identifiers: map[options:true]
	package="vendor/golang.org/x/text/unicode/bidi"

[Info  - 2:30:24 PM] Connection to server got closed. Server will restart.
[Error - 2:30:24 PM] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:24 PM] Request textDocument/documentLink failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:24 PM] Request textDocument/foldingRange failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:24 PM] Request textDocument/codeLens failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Info  - 2:30:24 PM] 2021/09/01 14:30:24 go env for /home/otg/snappi
(root /home/otg/snappi/gosnappi)
(go version go version go1.17 linux/arm64)
(valid build configuration = true)
(build flags: [])
GOMOD=/dev/null
GONOPROXY=
GOPROXY=https://proxy.golang.org,direct
GOPRIVATE=
GONOSUMDB=
GOPATH=/home/otg/snappi/.local
GOROOT=/home/otg/snappi/.local/go
GOCACHE=/root/.cache/go-build
GOMODCACHE=/home/otg/snappi/.local/pkg/mod
GOSUMDB=sum.golang.org
GO111MODULE=
GOFLAGS=
GOINSECURE=


[Info  - 2:30:24 PM] 2021/09/01 14:30:24 go/packages.Load
	snapshot=0
	directory=/home/otg/snappi/gosnappi
	query=[builtin github.com/open-traffic-generator/snappi/gosnappi/...]
	packages=6

[Info  - 2:30:26 PM] 2021/09/01 14:30:26 discovered missing identifiers: map[options:true]
	package="vendor/golang.org/x/text/unicode/bidi"

[Info  - 2:30:27 PM] Connection to server got closed. Server will restart.
[Error - 2:30:27 PM] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:27 PM] Request textDocument/documentLink failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:27 PM] Request textDocument/foldingRange failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:27 PM] Request textDocument/codeLens failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Info  - 2:30:27 PM] 2021/09/01 14:30:27 go env for /home/otg/snappi
(root /home/otg/snappi/gosnappi)
(go version go version go1.17 linux/arm64)
(valid build configuration = true)
(build flags: [])
GOINSECURE=
GONOPROXY=
GOPATH=/home/otg/snappi/.local
GOPRIVATE=
GO111MODULE=
GOMOD=/dev/null
GOPROXY=https://proxy.golang.org,direct
GOCACHE=/root/.cache/go-build
GOMODCACHE=/home/otg/snappi/.local/pkg/mod
GOSUMDB=sum.golang.org
GOFLAGS=
GONOSUMDB=
GOROOT=/home/otg/snappi/.local/go


[Info  - 2:30:28 PM] 2021/09/01 14:30:28 go/packages.Load
	snapshot=0
	directory=/home/otg/snappi/gosnappi
	query=[builtin github.com/open-traffic-generator/snappi/gosnappi/...]
	packages=6

[Info  - 2:30:29 PM] 2021/09/01 14:30:29 discovered missing identifiers: map[options:true]
	package="vendor/golang.org/x/text/unicode/bidi"

[Info  - 2:30:30 PM] Connection to server got closed. Server will restart.
[Error - 2:30:30 PM] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:30 PM] Request textDocument/documentLink failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:30 PM] Request textDocument/foldingRange failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:30 PM] Request textDocument/codeLens failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Info  - 2:30:30 PM] 2021/09/01 14:30:30 go env for /home/otg/snappi
(root /home/otg/snappi/gosnappi)
(go version go version go1.17 linux/arm64)
(valid build configuration = true)
(build flags: [])
GOMOD=/dev/null
GOCACHE=/root/.cache/go-build
GOPROXY=https://proxy.golang.org,direct
GONOPROXY=
GONOSUMDB=
GOPRIVATE=
GO111MODULE=
GOFLAGS=
GOMODCACHE=/home/otg/snappi/.local/pkg/mod
GOROOT=/home/otg/snappi/.local/go
GOSUMDB=sum.golang.org
GOINSECURE=
GOPATH=/home/otg/snappi/.local


[Info  - 2:30:30 PM] 2021/09/01 14:30:30 go/packages.Load
	snapshot=0
	directory=/home/otg/snappi/gosnappi
	query=[builtin github.com/open-traffic-generator/snappi/gosnappi/...]
	packages=6

[Info  - 2:30:32 PM] 2021/09/01 14:30:32 discovered missing identifiers: map[options:true]
	package="vendor/golang.org/x/text/unicode/bidi"

[Error - 2:30:33 PM] Connection to server got closed. Server will not be restarted.
[Error - 2:30:33 PM] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:33 PM] Request textDocument/documentLink failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:33 PM] Request textDocument/foldingRange failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
[Error - 2:30:33 PM] Request textDocument/codeLens failed.
Error: Connection got disposed.
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78941:27)
	at Object.dispose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:81092:35)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83443:42)
	at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:87235:15)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:83430:18)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at closeHandler (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:78153:26)
	at CallbackList.invoke (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79071:39)
	at Emitter.fire (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79133:36)
	at StreamMessageReader.fireClose (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79805:27)
	at Socket.<anonymous> (/root/.vscode-server/extensions/golang.go-0.27.1/dist/goMain.js:79890:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)

Failed to auto-collect gopls trace: unrecognized crash pattern.

@findleyr
Copy link
Contributor

@findleyr findleyr commented Sep 1, 2021

Hmm, this looks suspicious:
[Error - 11:33:27 AM] 2021/09/01 11:33:27 DocumentSymbols failed: invalid pos

Looks like some type of layering bug, but it's hard to say what caused the crash without a stack trace.

Is this by any chance reproducible?

@ashutshkumr
Copy link
Author

@ashutshkumr ashutshkumr commented Sep 2, 2021

I have seen the crash thrice, but don't know the exact steps to reproduce it.

@findleyr
Copy link
Contributor

@findleyr findleyr commented Sep 3, 2021

Ok thanks. We'll try to investigate based on your logs, and we're working on improving the stack-track capture so that we can actually see the panicking stack in the future.

@findleyr findleyr changed the title gopls: automated issue report (crash) x/tools/gopls: crash in documentSymbols Sep 3, 2021
@findleyr findleyr changed the title x/tools/gopls: crash in documentSymbols x/tools/gopls: vscode crash in documentSymbols Sep 3, 2021
@findleyr
Copy link
Contributor

@findleyr findleyr commented Sep 3, 2021

Since this is a gopls issue, transferring to the Go issue tracker.

@findleyr findleyr transferred this issue from golang/vscode-go Sep 3, 2021
@findleyr findleyr changed the title x/tools/gopls: vscode crash in documentSymbols x/tools/gopls: VS code crash in documentSymbols Sep 3, 2021
@findleyr findleyr added this to the gopls/on-deck milestone Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants