Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile,runtime: index out of range panic in cmd/internal/src.PosTable.Pos #64294

Closed
gopherbot opened this issue Nov 20, 2023 · 2 comments
Closed
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

gopherbot commented Nov 20, 2023

#!watchflakes
post <- log ~ `runtime error: index out of range` && log ~ `^\s*cmd/internal/src\.\(\*PosTable\)\.Pos`

Issue created automatically to collect these failures.

Example (log):

../../../../../pkg/mod/google.golang.org/appengine@v1.6.7/internal/datastore/datastore_v3.pb.go:3149:2: internal compiler error: '(*PutResponse).XXX_Unmarshal': panic during early deadcode while compiling (*PutResponse).XXX_Unmarshal:

runtime error: index out of range [134217730] with length 219

goroutine 337 [running]:
cmd/compile/internal/ssa.Compile.func1()
	cmd/compile/internal/ssa/compile.go:49 +0x7c
panic({0x9be900?, 0xc003371f20?})
	runtime/panic.go:770 +0x154
cmd/internal/src.(*PosTable).Pos(...)
...
cmd/compile/internal/ssagen.buildssa(0xc0015d0000, 0x3)
	cmd/compile/internal/ssagen/ssa.go:575 +0x20d4
cmd/compile/internal/ssagen.Compile(0xc0015d0000, 0x3)
	cmd/compile/internal/ssagen/pgen.go:216 +0x48
cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
	cmd/compile/internal/gc/compile.go:182 +0x4c
cmd/compile/internal/gc.compileFunctions.func3.1()
	cmd/compile/internal/gc/compile.go:164 +0x48
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 20
	cmd/compile/internal/gc/compile.go:163 +0x214

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 20, 2023
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "google.golang.org/appengine/internal/datastore" && test == ""
2023-11-14 16:31 linux-ppc64-sid-buildlet telemetry@69313e64 go@ddb38c3f google.golang.org/appengine/internal/datastore [build] (log)
../../../../../pkg/mod/google.golang.org/appengine@v1.6.7/internal/datastore/datastore_v3.pb.go:3149:2: internal compiler error: '(*PutResponse).XXX_Unmarshal': panic during early deadcode while compiling (*PutResponse).XXX_Unmarshal:

runtime error: index out of range [134217730] with length 219

goroutine 337 [running]:
cmd/compile/internal/ssa.Compile.func1()
	cmd/compile/internal/ssa/compile.go:49 +0x7c
panic({0x9be900?, 0xc003371f20?})
	runtime/panic.go:770 +0x154
cmd/internal/src.(*PosTable).Pos(...)
...
cmd/compile/internal/ssagen.buildssa(0xc0015d0000, 0x3)
	cmd/compile/internal/ssagen/ssa.go:575 +0x20d4
cmd/compile/internal/ssagen.Compile(0xc0015d0000, 0x3)
	cmd/compile/internal/ssagen/pgen.go:216 +0x48
cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
	cmd/compile/internal/gc/compile.go:182 +0x4c
cmd/compile/internal/gc.compileFunctions.func3.1()
	cmd/compile/internal/gc/compile.go:164 +0x48
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 20
	cmd/compile/internal/gc/compile.go:163 +0x214

watchflakes

@bcmills bcmills added the compiler/runtime Issues related to the Go compiler and/or runtime. label Nov 21, 2023
@bcmills bcmills changed the title google.golang.org/appengine/internal/datastore: unrecognized failures cmd/compile,runtime: index out of range panic in cmd/internal/src.PosTable.Pos Nov 21, 2023
@mknyszek
Copy link
Contributor

Duplicate of #64290.

@mknyszek mknyszek closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Archived in project
Development

No branches or pull requests

3 participants