#!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
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/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/protocol.ServerHandler.func1:+5
golang.org/x/tools/gopls/internal/lsprpc.handshaker.func1:+52
golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1:+2
golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2:+3
runtime.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/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:+48
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:+77
golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2
golang.org/x/tools/gopls/internal/protocol/command.Dispatch:+31
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.17.0-pre.2 go1.23.3 linux/amd64 vscode (1)
Comment From: adonovan
This stack Q_lWOg
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:+49
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:+81
golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2
golang.org/x/tools/gopls/internal/protocol/command.Dispatch:+31
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.18.1 go1.23.6 linux/amd64 vscode (1)
Comment From: adonovan
This stack rWaxoQ
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35,+0x393
golang.org/x/tools/gopls/internal/util/bug.Errorf:+2,+0x3b
golang.org/x/tools/gopls/internal/golang.suggestedFixToDocumentChange:+10,+0x3ef
golang.org/x/tools/gopls/internal/golang.ApplyFix:+50,+0x74b
golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix.func1:+1,+0x77
golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2:+3,+0x7f
golang.org/x/tools/gopls/internal/server.(*commandHandler).run:+81,+0x46b
golang.org/x/tools/gopls/internal/server.(*commandHandler).ApplyFix:+2,+0x14b
golang.org/x/tools/gopls/internal/protocol/command.Dispatch:+31,+0xa07
golang.org/x/tools/gopls/internal/server.(*server).ResolveCodeAction:+21,+0x17f
golang.org/x/tools/gopls/internal/protocol.serverDispatch:+46,+0xb03
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func4:+5,+0x73
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func5:+52,+0x68f
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2,+0xbf
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3,+0x8f
runtime.goexit:+0,+0x3
golang.org/x/tools/gopls@v0.19.1 go1.24.4 darwin/arm64 vscode (1)