#!stacks
"bug.Errorf" && "golang.suggestedFixToDocumentChange:+10"
This stack Di2gNg was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Errorf:+2
golang.org/x/tools/gopls/internal/golang.suggestedFixToDocumentChange:+10
golang.org/x/tools/gopls/internal/golang.ApplyFix:+47
golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix.func1:+1
golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2:+3
golang.org/x/tools/gopls/internal/server.(*commandHandler).run:+73
golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2
golang.org/x/tools/gopls/internal/protocol/command.Dispatch:+25
golang.org/x/tools/gopls/internal/server.(*server).ResolveCodeAction:+21
golang.org/x/tools/gopls/internal/protocol.serverDispatch:+46
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.16.1 go1.22.0 darwin/arm64 other,vscode (3)
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks. Dups: jFMuhg hN-HyA Q_lWOg rWaxoQ 2f_bPQ
Comment From: gabyhelp
Related Issues and Documentation
- x/tools/gopls: "finding best view for change" bug.Report in Session.DidModifyFiles (via telemetry) #67144 (closed)
- x/tools/gopls: "no file for position" bug in Hover > parseFull (reported by telemetry) #64479 (closed)
- x/tools/gopls: toGobDiagnostic bug reported by telemetry #65695 (closed)
- x/tools/gopls: Dispatch bug reported by telemetry [1J758g] #64240 (closed)
- x/tools/gopls: "could not locate file for primary type checker error" bug reported by telemetry #66765
- x/tools/gopls: "could not compute pos to range for %v: %v" bug (reported by telemetry) #65960
- x/tools/gopls: crash due to invalid protocol.Range in CodeAction #64085 (closed)
- x/tools/gopls: BundledQuickFixes bug reported by telemetry #64503 (closed)
- x/tools/gopls: version created by didChange ignored? #35584 (closed)
- x/tools/gopls: "unexpected file: %q" bug.Report in bestView (reported by telemetry) #67288
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: adonovan
This stack jFMuhg was reported by telemetry:
gopls/buggolang.org/x/tools/gopls/internal/util/bug.report:+35golang.org/x/tools/gopls/internal/util/bug.Errorf:+2golang.org/x/tools/gopls/internal/golang.suggestedFixToDocumentChange:+10golang.org/x/tools/gopls/internal/golang.ApplyFix:+47golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix.func1:+1golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2:+3golang.org/x/tools/gopls/internal/server.(*commandHandler).run:+73golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2golang.org/x/tools/gopls/internal/protocol/command.Dispatch:+25golang.org/x/tools/gopls/internal/server.(*server).ResolveCodeAction:+21golang.org/x/tools/gopls/internal/protocol.serverDispatch:+46golang.org/x/tools/gopls/internal/protocol.ServerHandler.func1:+5golang.org/x/tools/gopls/internal/lsprpc.handshaker.func1:+52golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1:+2golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2:+3runtime.goexit:+0
golang.org/x/tools/gopls@v0.16.2 go1.20.7 darwin/arm64 other,vscode (1)
Comment From: adonovan
This stack hN-HyA was reported by telemetry:
gopls/buggolang.org/x/tools/gopls/internal/util/bug.report:+35golang.org/x/tools/gopls/internal/util/bug.Errorf:+2golang.org/x/tools/gopls/internal/golang.suggestedFixToDocumentChange:+10golang.org/x/tools/gopls/internal/golang.ApplyFix:+48golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix.func1:+1golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2:+3golang.org/x/tools/gopls/internal/server.(*commandHandler).run:+77golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2golang.org/x/tools/gopls/internal/protocol/command.Dispatch:+31golang.org/x/tools/gopls/internal/server.(*server).ResolveCodeAction:+21golang.org/x/tools/gopls/internal/protocol.serverDispatch:+46golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3runtime.goexit:+0
golang.org/x/tools/gopls@v0.17.0-pre.2 go1.23.3 linux/amd64 vscode (1)
Comment From: adonovan
This stack Q_lWOg was reported by telemetry:
gopls/buggolang.org/x/tools/gopls/internal/util/bug.report:+35golang.org/x/tools/gopls/internal/util/bug.Errorf:+2golang.org/x/tools/gopls/internal/golang.suggestedFixToDocumentChange:+10golang.org/x/tools/gopls/internal/golang.ApplyFix:+49golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix.func1:+1golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2:+3golang.org/x/tools/gopls/internal/server.(*commandHandler).run:+81golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2golang.org/x/tools/gopls/internal/protocol/command.Dispatch:+31golang.org/x/tools/gopls/internal/server.(*server).ResolveCodeAction:+21golang.org/x/tools/gopls/internal/protocol.serverDispatch:+46golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3runtime.goexit:+0
golang.org/x/tools/gopls@v0.18.1 go1.23.6 linux/amd64 vscode (1)
Comment From: adonovan
This stack rWaxoQ was reported by telemetry:
gopls/buggolang.org/x/tools/gopls/internal/util/bug.report:+35,+0x393golang.org/x/tools/gopls/internal/util/bug.Errorf:+2,+0x3bgolang.org/x/tools/gopls/internal/golang.suggestedFixToDocumentChange:+10,+0x3efgolang.org/x/tools/gopls/internal/golang.ApplyFix:+50,+0x74bgolang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix.func1:+1,+0x77golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2:+3,+0x7fgolang.org/x/tools/gopls/internal/server.(*commandHandler).run:+81,+0x46bgolang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2,+0x14bgolang.org/x/tools/gopls/internal/protocol/command.Dispatch:+31,+0xa07golang.org/x/tools/gopls/internal/server.(*server).ResolveCodeAction:+21,+0x17fgolang.org/x/tools/gopls/internal/protocol.serverDispatch:+46,+0xb03golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func4:+5,+0x73golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func5:+52,+0x68fgolang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2,+0xbfgolang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3,+0x8fruntime.goexit:+0,+0x3
golang.org/x/tools/gopls@v0.19.1 go1.24.4 darwin/arm64 vscode (1)
Comment From: adonovan
This stack 2f_bPQ was reported by telemetry:
gopls/buggolang.org/x/tools/gopls/internal/util/bug.report:+35,+0x412golang.org/x/tools/gopls/internal/util/bug.Errorf:+2,+0x34golang.org/x/tools/gopls/internal/golang.suggestedFixToDocumentChange:+10,+0x4e9golang.org/x/tools/gopls/internal/golang.ApplyFix:+50,+0x72fgolang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix.func1:+1,+0x85golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2:+3,+0x86golang.org/x/tools/gopls/internal/server.(*commandHandler).run:+81,+0x582golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2,+0x19cgolang.org/x/tools/gopls/internal/protocol/command.Dispatch:+31,+0xac1golang.org/x/tools/gopls/internal/server.(*server).ResolveCodeAction:+21,+0x1b8golang.org/x/tools/gopls/internal/protocol.serverDispatch:+46,+0xcf9golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func4:+5,+0x84golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func5:+52,+0x908golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2,+0xc5golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3,+0x95runtime.goexit:+0,+0x0
golang.org/x/tools/gopls@v0.19.1 go1.24.4 windows/amd64 vscode (1)