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

x/tools/go/ssa: unrecognized failures #55895

Closed
gopherbot opened this issue Sep 27, 2022 · 2 comments
Closed

x/tools/go/ssa: unrecognized failures #55895

gopherbot opened this issue Sep 27, 2022 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Sep 27, 2022

#!watchflakes
post <- pkg == "golang.org/x/tools/go/ssa" && `in net/netip.AddrFromSlice: cannot convert \*t0`

Issue created automatically to collect these failures.

Example (log):

panic: in net/netip.AddrFromSlice: cannot convert *t0 ([]byte) to [4]byte

goroutine 9709 [running]:
golang.org/x/tools/go/ssa.emitConv(0xac43c70, {0x83dc384, 0x4556aba0}, {0x83dab28, 0x1397bc60})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/emit.go:251 +0x969
golang.org/x/tools/go/ssa.(*builder).expr0(0x3663bf18, 0xac43c70, {0x83dafd4, 0x14033220}, {0x7, {0x83dab28, 0x1397bc60}, {0x0, 0x0}})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:661 +0x793
golang.org/x/tools/go/ssa.(*builder).expr(0x3663bf18, 0xac43c70, {0x83dafd4, 0x14033220})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:610 +0x118
golang.org/x/tools/go/ssa.(*builder).emitCallArgs(0x3663bf18, 0xac43c70, 0x13de8860, 0x14033240, {0x0, 0x0, 0x0})
...
sync.(*Once).doSlow(0x2154ca18, 0xa246fdc)
	/workdir/go/src/sync/once.go:74 +0xb3
sync.(*Once).Do(0x2154ca18, 0xa246fdc)
	/workdir/go/src/sync/once.go:65 +0x3f
golang.org/x/tools/go/ssa.(*Package).Build(...)
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2413
golang.org/x/tools/go/ssa.(*Program).Build.func1(0x2154ca00)
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2398 +0x54
created by golang.org/x/tools/go/ssa.(*Program).Build
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2397 +0x16c

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 Sep 27, 2022
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/go/ssa" && test == ""
2022-09-23 16:53 linux-386-longtest tools@eb25de6e go@3dcf6e2c x/tools/go/ssa (log)
panic: in net/netip.AddrFromSlice: cannot convert *t0 ([]byte) to [4]byte

goroutine 9709 [running]:
golang.org/x/tools/go/ssa.emitConv(0xac43c70, {0x83dc384, 0x4556aba0}, {0x83dab28, 0x1397bc60})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/emit.go:251 +0x969
golang.org/x/tools/go/ssa.(*builder).expr0(0x3663bf18, 0xac43c70, {0x83dafd4, 0x14033220}, {0x7, {0x83dab28, 0x1397bc60}, {0x0, 0x0}})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:661 +0x793
golang.org/x/tools/go/ssa.(*builder).expr(0x3663bf18, 0xac43c70, {0x83dafd4, 0x14033220})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:610 +0x118
golang.org/x/tools/go/ssa.(*builder).emitCallArgs(0x3663bf18, 0xac43c70, 0x13de8860, 0x14033240, {0x0, 0x0, 0x0})
...
sync.(*Once).doSlow(0x2154ca18, 0xa246fdc)
	/workdir/go/src/sync/once.go:74 +0xb3
sync.(*Once).Do(0x2154ca18, 0xa246fdc)
	/workdir/go/src/sync/once.go:65 +0x3f
golang.org/x/tools/go/ssa.(*Package).Build(...)
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2413
golang.org/x/tools/go/ssa.(*Program).Build.func1(0x2154ca00)
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2398 +0x54
created by golang.org/x/tools/go/ssa.(*Program).Build
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2397 +0x16c
2022-09-23 16:53 linux-amd64-longtest tools@eb25de6e go@3dcf6e2c x/tools/go/ssa (log)
panic: in net/netip.AddrFromSlice: cannot convert *t0 ([]byte) to [4]byte

goroutine 9477 [running]:
golang.org/x/tools/go/ssa.emitConv(0xc002ef4ea0, {0x7c6ab0, 0xc04bd0f4a0}, {0x7c3f88?, 0xc00cda3848})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/emit.go:251 +0x90e
golang.org/x/tools/go/ssa.(*builder).expr0(0xc02cd9de18, 0xc002ef4ea0, {0x7c4820?, 0xc00b564bc0?}, {0x7, {0x7c3f88, 0xc00cda3848}, {0x0, 0x0}})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:661 +0x765
golang.org/x/tools/go/ssa.(*builder).expr(0x7c4b20?, 0xc002ef4ea0, {0x7c4820, 0xc00b564bc0})
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:610 +0x187
golang.org/x/tools/go/ssa.(*builder).emitCallArgs(0xc002ef4ea0?, 0xc002ef4ea0, 0xc00bf4f180, 0xc00b564c00, {0x0?, 0x0, 0xc02cd9d0d0?})
...
sync.(*Once).doSlow(0xc022289e10?, 0xc0242292f0?)
	/workdir/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/workdir/go/src/sync/once.go:65
golang.org/x/tools/go/ssa.(*Package).Build(...)
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2413
golang.org/x/tools/go/ssa.(*Program).Build.func1(0x0?)
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2398 +0x4c
created by golang.org/x/tools/go/ssa.(*Program).Build
	/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2397 +0x19c
2022-09-23 16:53 windows-amd64-longtest tools@eb25de6e go@3dcf6e2c x/tools/go/ssa (log)
panic: in net/netip.AddrFromSlice: cannot convert *t0 ([]byte) to [4]byte

goroutine 9548 [running]:
golang.org/x/tools/go/ssa.emitConv(0xc00199e000, {0x1621130, 0xc059ad29c0}, {0x161e5c8?, 0xc00b7899f8})
	C:/workdir/gopath/src/golang.org/x/tools/go/ssa/emit.go:251 +0x90e
golang.org/x/tools/go/ssa.(*builder).expr0(0xc05964de18, 0xc00199e000, {0x161ee60?, 0xc00a209f80?}, {0x7, {0x161e5c8, 0xc00b7899f8}, {0x0, 0x0}})
	C:/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:661 +0x765
golang.org/x/tools/go/ssa.(*builder).expr(0x161f160?, 0xc00199e000, {0x161ee60, 0xc00a209f80})
	C:/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:610 +0x187
golang.org/x/tools/go/ssa.(*builder).emitCallArgs(0xc00199e000?, 0xc00199e000, 0xc0046eb580, 0xc00a1d81c0, {0x0?, 0x0, 0xc05964d0d0?})
...
sync.(*Once).doSlow(0xc000fe5fb8?, 0x151a09e?)
	C:/workdir/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	C:/workdir/go/src/sync/once.go:65
golang.org/x/tools/go/ssa.(*Package).Build(...)
	C:/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2413
golang.org/x/tools/go/ssa.(*Program).Build.func1(0x0?)
	C:/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2398 +0x4c
created by golang.org/x/tools/go/ssa.(*Program).Build
	C:/workdir/gopath/src/golang.org/x/tools/go/ssa/builder.go:2397 +0x19c

watchflakes

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Sep 27, 2022
@gopherbot gopherbot added this to the Unreleased milestone Sep 27, 2022
@rsc
Copy link
Contributor

rsc commented Sep 27, 2022

Non-flake that was immediately reverted. Updated pattern to be more specific.

@rsc rsc closed this as completed Sep 27, 2022
@golang golang locked and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: Done
Development

No branches or pull requests

2 participants