#!stacks
"bug.Reportf" &&
"typeErrorsToDiagnostics.func1" &&
/* keep consistent with #66766, which claims these particular lines. */
!("typeErrorsToDiagnostics.func1:+28" ||
"typeErrorsToDiagnostics.func1:+34" ||
"typeErrorsToDiagnostics.func1:+35" ||
"typeErrorsToDiagnostics.func1:+37") &&
/* keep consistent with #66765, which claims these particular lines. */
!("typeErrorsToDiagnostics.func1:+40" ||
"typeErrorsToDiagnostics.func1:+46" ||
"typeErrorsToDiagnostics.func1:+53")
This stack q8FyvQ
was reported by telemetry:
Note variants:
- bug.Reportf("TypeErrorEndPos returned invalid end: %v", err)
- bug.Reportf("ReadGo116ErrorData returned invalid end: %v", err)
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+50
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+119
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+127
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+70
golang.org/x/tools/gopls/internal/cache.(*Snapshot).forEachPackageInternal.func2:+1
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.15.0-pre.4 go1.21.5 darwin/amd64 vscode (1)
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks.
Dups: rnoW6w 7zL2qQ pT-4Ug PDXPlA RejVIw CBGyxQ AG72cA Lf-3ww TXfuyw NpHz4A NUG3VA
Comment From: gopherbot
Change https://go.dev/cl/567416 mentions this issue: gopls/internal/cache: add debug assertions for bug report
Comment From: adonovan
This stack rnoW6w
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+50
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+122
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+127
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+70
golang.org/x/tools/gopls/internal/cache.(*Snapshot).forEachPackageInternal.func2:+1
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.15.3 go1.22.2 windows/amd64 vscode (1)
Issue created by golang.org/x/tools/gopls/internal/telemetry/cmd/stacks.
Comment From: adonovan
A new variant:
// debugging #65960
if _, err := safetoken.Offset(pgf.Tok, end); err != nil {
bug.Reportf("ReadGo116ErrorData returned invalid end: %v", err)
}
Comment From: adonovan
This stack 7zL2qQ
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+80
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+153
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+70
golang.org/x/tools/gopls/internal/cache.(*Snapshot).forEachPackageInternal.func2:+1
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.16.1 go1.23.0 linux/amd64 other (1)
This stack pT-4Ug
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+74
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+153
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+70
golang.org/x/tools/gopls/internal/cache.(*Snapshot).forEachPackageInternal.func2:+1
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.16.1 go1.23.0 linux/amd64 other (1)
Comment From: gopherbot
Change https://go.dev/cl/621876 mentions this issue: gopls/internal/cache: refine bug reports
Comment From: adonovan
This stack PDXPlA
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+100
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+173
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+14
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).query.func1:+4
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.17.1 go1.23.4 linux/amd64 vscode (1)
This stack RejVIw
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+93
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+173
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+14
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).query.func1:+4
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.17.1 go1.23.4 linux/amd64 vscode (1)
Comment From: adonovan
This stack CBGyxQ
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+91
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+173
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+14
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).query.func1:+4
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.18.0 go1.23.6 darwin/amd64 vscode (1)
Comment From: adonovan
This stack AG72cA
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+100
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+173
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1
golang.org/x/tools/gopls/internal/cache.(*analysisNode).typeCheck:+1
golang.org/x/tools/gopls/internal/cache.(*analysisNode).run:+2
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached.func1:+1
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached:+21
golang.org/x/tools/gopls/internal/cache.(*Snapshot).Analyze.func6.1:+27
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.18.1 go1.23.6 darwin/arm64 vscode (1)
Comment From: adonovan
This stack Lf-3ww
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+84
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+173
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1
golang.org/x/tools/gopls/internal/cache.(*analysisNode).typeCheck:+1
golang.org/x/tools/gopls/internal/cache.(*analysisNode).run:+2
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached.func1:+1
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached:+21
golang.org/x/tools/gopls/internal/cache.(*Snapshot).Analyze.func6.1:+27
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.18.1 go1.23.6 darwin/arm64 vscode (1)
This stack TXfuyw
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+71
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+173
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1
golang.org/x/tools/gopls/internal/cache.(*analysisNode).typeCheck:+1
golang.org/x/tools/gopls/internal/cache.(*analysisNode).run:+2
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached.func1:+1
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached:+21
golang.org/x/tools/gopls/internal/cache.(*Snapshot).Analyze.func6.1:+27
golang.org/x/sync/errgroup.(*Group).Go.func1:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.18.1 go1.23.6 darwin/arm64 vscode (1)
Comment From: adonovan
This stack NpHz4A
was reported by telemetry:
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35,+0x412
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1,+0x24
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+52,+0x122d
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+177,+0x149
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128,+0xe28
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49,+0x3f8
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32,+0x3c1
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1,+0x52
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+14,+0x87
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).query.func1:+4,+0xad
golang.org/x/sync/errgroup.(*Group).add.func1:+32,+0x7d
runtime.goexit:+0,+0x0
golang.org/x/tools/gopls@v0.19.1 go1.24.4 linux/amd64 vscode (1)
This stack NUG3VA
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.Reportf:+1,+0x27
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics.func1:+52,+0xe1b
golang.org/x/tools/gopls/internal/cache.typeErrorsToDiagnostics:+177,+0xd7
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).checkPackage:+128,+0xa7f
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage.func1:+49,+0x2e3
golang.org/x/tools/gopls/internal/cache.(*futureCache[...]).get:+32,+0x35f
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).getPackage:+1,+0x5b
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage:+14,+0x87
golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).query.func1:+4,+0xa7
golang.org/x/sync/errgroup.(*Group).add.func1:+32,+0x87
runtime.goexit:+0,+0x3
golang.org/x/tools/gopls@v0.19.1 go1.24.3 darwin/arm64 other (1)