Closed feldgendler closed 1 month ago
Thanks for the report @feldgendler
Duplicate of https://github.com/golang/go/issues/67156 but this case does not involve Windows (and, thus hopefully not modified GOROOT)
Let's close as a duplicate. With @feldgendler's help I believe we understand this crash now.
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: Wed, 17 Jul 2024 14:01:22 GMT restart history: Wed, 17 Jul 2024 13:58:52 GMT: activation (enabled: true)
gopls crashes repeatably while the editor is idle.
gopls stats -anon
{ "DirStats": { "Files": 58198, "TestdataFiles": 8053, "GoFiles": 25142, "ModFiles": 285, "Dirs": 9672 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.5", "GoplsVersion": "v0.16.1", "InitialWorkspaceLoadDuration": "1.017607264s", "MemStats": { "HeapAlloc": 24842568, "HeapInUse": 40026112, "TotalAlloc": 374969176 }, "WorkspaceStats": { "Files": { "Total": 1552, "Largest": 395026, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.5", "AllPackages": { "Packages": 233, "LargestPackage": 161, "CompiledGoFiles": 1560, "Modules": 30 }, "WorkspacePackages": { "Packages": 7, "LargestPackage": 19, "CompiledGoFiles": 37, "Modules": 1 }, "Diagnostics": 0 } ] } }This happens after a period of UI inactivity. This precedes the crash in the log: