golang / vscode-go

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

gopls: automated issue report (crash) #3106

Closed Laem20957 closed 6 months ago

Laem20957 commented 6 months ago

gopls version: v0.14.2/go1.21.4 gopls flags: update flags: proxy extension version: 0.40.1 environment: Visual Studio Code win32 initialization error: undefined issue timestamp: Sun, 31 Dec 2023 20:01:23 GMT restart history: Sun, 31 Dec 2023 19:48:00 GMT: activation (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: no gopls log.
gopls stats -anon { "DirStats": { "Files": 101, "TestdataFiles": 0, "GoFiles": 27, "ModFiles": 3, "Dirs": 56 }, "GOARCH": "amd64", "GOOS": "windows", "GoVersion": "go1.21.4", "GoplsVersion": "v0.14.2", "InitialWorkspaceLoadDuration": "411.2666ms", "MemStats": { "HeapAlloc": 2669360, "HeapInUse": 5242880, "TotalAlloc": 12128016 }, "WorkspaceStats": { "Files": { "Total": 0, "Largest": 0, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.21.4", "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.
hyangah commented 6 months ago

Thanks for the report. @Laem20957 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

gopherbot commented 6 months ago

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)