You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please tell us more what you meant by "changing the folder from a project to a different project"?
Did you use "File: Open Folder" command, after closing the current folder?
If you restart the vscode with the second project ("Developer: Reload Window" command), does gopls crash again?
If it crashes, given that the stack trace exactly matches, I think it is a duplicate of golang/go#68334. The fix requires new Go release. (go1.23 or a new patch release of go1.22 which is in progress)
gopls version: v0.16.1/go1.22.5
gopls flags:
update flags: proxy
extension version: 0.41.4
environment: Visual Studio Code linux
initialization error: undefined
issue timestamp: Mon, 15 Jul 2024 10:35:15 GMT
restart history:
Mon, 15 Jul 2024 10:34:46 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
In VSCode, I changed the folder from an existing go project to a different existing go project.
A few seconds later the gopls server crashed.
gopls stats -anon
gopls stats -anon failed after 2301 ms. Please check if gopls is killed by OS.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.
<OPTIONAL: ATTACH LOGS HERE>
The text was updated successfully, but these errors were encountered: