``` #!stacks "sigpanic" && "mod.ParseDiagnostics:+0" ``` Issue created by [stacks](https://pkg.go.dev/golang.org/x/telemetry/cmd/stacks). This function can't fail; must be memory corruption. This stack `Cu3k2Q` was [reported by telemetry](https://telemetry.go.dev/data/2025-09-12): - `crash/crash` - [`runtime.throw:+9,+0x37`](https://cs.opensource.google/go/go/+/go1.24.4:src/runtime/panic.go;l=1101) - [`runtime.sigpanic:+33,+0x223`](https://cs.opensource.google/go/go/+/go1.24.4:src/runtime/signal_unix.go;l=939) - [`golang.org/x/tools/gopls/internal/mod.ParseDiagnostics:+0,+0x0`](https://cs.opensource.google/go/x/tools/+/gopls/v0.20.0:gopls/internal/mod/diagnostics.go;l=30) - [`golang.org/x/tools/gopls/internal/server.(*server).diagnose:+48,+0x1f3`](https://cs.opensource.google/go/x/tools/+/gopls/v0.20.0:gopls/internal/server/diagnostics.go;l=360) - [`golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot:+31,+0x1cb`](https://cs.opensource.google/go/x/tools/+/gopls/v0.20.0:gopls/internal/server/diagnostics.go;l=232) - [`golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1:+3,+0xbb`](https://cs.opensource.google/go/x/tools/+/gopls/v0.20.0:gopls/internal/server/diagnostics.go;l=156) - [`golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.gowrap1:+16,+0x3b`](https://cs.opensource.google/go/x/tools/+/gopls/v0.20.0:gopls/internal/server/diagnostics.go;l=169) - `runtime.goexit:+0,+0x3` ``` golang.org/x/tools/gopls@v0.20.0 go1.24.4 darwin/arm64 other,vscode (1) ```
Issue created by stacks.
This function can't fail; must be memory corruption.
This stack
Cu3k2Qwas reported by telemetry:crash/crashruntime.throw:+9,+0x37runtime.sigpanic:+33,+0x223golang.org/x/tools/gopls/internal/mod.ParseDiagnostics:+0,+0x0golang.org/x/tools/gopls/internal/server.(*server).diagnose:+48,+0x1f3golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot:+31,+0x1cbgolang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1:+3,+0xbbgolang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.gowrap1:+16,+0x3bruntime.goexit:+0,+0x3