-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
We've noticed a number of recent gopls panics in which the leaf function in the backtrace doesn't appear to contain a fallible operation.
- x/tools/gopls: Hover: panic in lookup{ObjectByName,DocLinkSymbol} #69616
- x/tools/gopls: OOB index crash in completion.expectedReturnStmtType #70636
- x/tools/gopls: Hover: nil deref in parseDocLink #70635
- x/tools/gopls: nil Signature (?) deref in Completion #70634
- x/tools/gopls: stubmethods: "could not find the enclosing function of the return statement" bug in GetIfaceStubInfo #70666
I wonder whether the pclntab is incorrect in these cases.
Metadata
Metadata
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Type
Projects
Status
Done