-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gopls: automated issue report (crash) #3526
Comments
Thanks for sharing the report, @idilhaq |
Hi @hyangah , yup this was happening during a live share session. |
It's not a connection issue (though the crash will cause the server to disconnect). The investigation at golang/go#67704 identifies the culprit as an expression of the form |
Closing as dup of golang/go#67704. If you are able to reproduce this reliably by editing, please do follow up on either issue. |
gopls version: v0.16.2/go1.21.0
gopls flags:
update flags: proxy
extension version: 0.42.0
environment: Visual Studio Code darwin
initialization error: undefined
issue timestamp: Fri, 06 Sep 2024 04:23:07 GMT
restart history:
Thu, 05 Sep 2024 23:09:52 GMT: activation (enabled: true)
Thu, 05 Sep 2024 23:58:08 GMT: installation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls stats -anon
{ "DirStats": { "Files": 1799, "TestdataFiles": 0, "GoFiles": 387, "ModFiles": 1, "Dirs": 333 }, "GOARCH": "arm64", "GOOS": "darwin", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.21.0", "GoplsVersion": "v0.16.2", "InitialWorkspaceLoadDuration": "2.179543917s", "MemStats": { "HeapAlloc": 86748648, "HeapInUse": 132972544, "TotalAlloc": 1005293960 }, "WorkspaceStats": { "Files": { "Total": 3817, "Largest": 663008, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.21.0", "AllPackages": { "Packages": 787, "LargestPackage": 140, "CompiledGoFiles": 3825, "Modules": 139 }, "WorkspacePackages": { "Packages": 65, "LargestPackage": 129, "CompiledGoFiles": 399, "Modules": 1 }, "Diagnostics": 1 } ] } }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: