golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.79k stars 729 forks source link

gopls: automated issue report (crash) #3200

Closed elvinchan closed 3 months ago

elvinchan commented 4 months ago

gopls version: v0.15.0/go1.19.7 gopls flags: update flags: proxy extension version: 0.41.1 environment: Visual Studio Code linux initialization error: undefined issue timestamp: Wed, 28 Feb 2024 09:49:25 GMT restart history: Mon, 26 Feb 2024 02:10:45 GMT: activation (enabled: true) Wed, 28 Feb 2024 01:35:19 GMT: installation (enabled: true)

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

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: incomplete panic trace.
gopls stats -anon { "DirStats": { "Files": 424, "TestdataFiles": 0, "GoFiles": 59, "ModFiles": 1, "Dirs": 225 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.19.7", "GoplsVersion": "v0.15.0", "InitialWorkspaceLoadDuration": "1.338414429s", "MemStats": { "HeapAlloc": 31046488, "HeapInUse": 53264384, "TotalAlloc": 442150672 }, "WorkspaceStats": { "Files": { "Total": 1997, "Largest": 387722, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.19.7", "AllPackages": { "Packages": 370, "LargestPackage": 134, "CompiledGoFiles": 2005, "Modules": 59 }, "WorkspacePackages": { "Packages": 26, "LargestPackage": 6, "CompiledGoFiles": 68, "Modules": 1 }, "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.
findleyr commented 4 months 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, ...)? Screen Shot 2021-01-27 at 2 53 49 PM

This may be a duplicate of #3194.