golang / vscode-go

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

gopls: automated issue report (crash) #3246

Closed andrawicaksono closed 6 months ago

andrawicaksono commented 6 months ago

gopls version: v0.15.1/go1.20.1 gopls flags: update flags: proxy extension version: 0.41.1 environment: Visual Studio Code win32 initialization error: undefined issue timestamp: Tue, 12 Mar 2024 08:46:57 GMT restart history: Tue, 12 Mar 2024 08:34:35 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: incomplete panic trace.
gopls stats -anon gopls stats -anon failed after running for 1066ms
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 6 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, ...)? You may also want to reinstall gopls with a more recent Go version.

Screen Shot 2021-01-27 at 2 53 49 PM