golang / vscode-go

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

gopls: automated issue report (crash) #3244

Closed anasmahasin closed 3 months ago

anasmahasin commented 3 months ago

gopls version: v0.15.1/go1.20.4 gopls flags: update flags: proxy extension version: 0.41.1 environment: Visual Studio Code darwin initialization error: undefined issue timestamp: Tue, 12 Mar 2024 06:21:35 GMT restart history: Tue, 12 Mar 2024 05:20:25 GMT: activation (enabled: true) Tue, 12 Mar 2024 05:30:57 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 gopls stats -anon failed after running for 589ms
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 3 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