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) #3178

Closed Yan9Gan closed 3 months ago

Yan9Gan commented 4 months ago

gopls version: v0.14.2/go1.19 gopls flags: update flags: proxy extension version: 0.41.0 environment: Visual Studio Code win32 initialization error: undefined issue timestamp: Sun, 18 Feb 2024 01:04:18 GMT restart history: Sun, 18 Feb 2024 01:00:19 GMT: activation (enabled: true) Sun, 18 Feb 2024 01:00:31 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: unrecognized crash pattern.
gopls stats -anon { "DirStats": { "Files": 1271, "TestdataFiles": 0, "GoFiles": 102, "ModFiles": 1, "Dirs": 332 }, "GOARCH": "386", "GOOS": "windows", "GoVersion": "go1.19", "GoplsVersion": "v0.14.2", "InitialWorkspaceLoadDuration": "8.1006536s", "MemStats": { "HeapAlloc": 93414296, "HeapInUse": 110321664, "TotalAlloc": 964593736 }, "WorkspaceStats": { "Files": { "Total": 1852, "Largest": 36549883, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.19", "AllPackages": { "Packages": 400, "LargestPackage": 120, "CompiledGoFiles": 1849, "Modules": 55 }, "WorkspacePackages": { "Packages": 44, "LargestPackage": 25, "CompiledGoFiles": 102, "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.
hyangah 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