Closed beyildirim closed 1 month ago
Thanks for the report. Can you please share the log you see in the gopls output channel and tell us when you observed this popup (e.g. I was updating gopls
, I just opened the vscode, I did refactoring, ...)?
Note that there is a known crash in the standard library in with Go 1.22.5 (golang/go#68334), so this may be fixed by the 1.22.6 release.
Go 1.22.6 is released. Please rebuild gopls with Go 1.22.6.
GOTOOLCHAIN=go1.22.6 go install golang.org/x/tools/gopls@latest
And restart the gopls.
gopls version: v0.16.1/go1.22.5 gopls flags: update flags: proxy extension version: 0.42.0 environment: Code - OSS linux initialization error: undefined issue timestamp: Sun, 21 Jul 2024 12:39:48 GMT restart history: Sun, 21 Jul 2024 12:30:08 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
No significant issues that affect me. It crashed while I was working with slices and a popup appeared.
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.
Failed to auto-collect gopls trace: no gopls log.
gopls stats -anon
{ "DirStats": { "Files": 103, "TestdataFiles": 0, "GoFiles": 26, "ModFiles": 13, "Dirs": 27 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.5", "GoplsVersion": "v0.16.1", "InitialWorkspaceLoadDuration": "11.536632ms", "MemStats": { "HeapAlloc": 1700736, "HeapInUse": 3522560, "TotalAlloc": 15699016 }, "WorkspaceStats": { "Files": { "Total": 0, "Largest": 0, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.5", "AllPackages": { "Packages": 0, "LargestPackage": 0, "CompiledGoFiles": 0, "Modules": 0 }, "WorkspacePackages": { "Packages": 0, "LargestPackage": 0, "CompiledGoFiles": 0, "Modules": 0 }, "Diagnostics": 0 } ] } }OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE. DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.