You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: "internal compiler error: curfn mismatch" on darwin-amd64-race builder #43826
See previously #37407, #37406, but note that those were believed to have been fixed by upgrading the builders.
(CC @randall77@josharian @golang/release)
That last one definitely looks like some sort of memory corruption. The error message is:
vet: [...]/go/src/reflect/type.go:2611:57: tt.Elem().Field(0).hodsTypeOf undefined (type Value has no field or method hodsTypeOf)
but that corresponding line of source is:
typ = (*structType)(unsafe.Pointer(tt.Elem().Field(0).UnsafeAddr()))
So the string that should be "UnsafeAddr" is actually "hodsTypeOf"? Notably, the same length, but wrong bytes. It looks like maybe the string data for "methods" and "TypeOf" are consecutive in memory, and the pointer for "UnsafeAddr" is off.
Agreed, it looks like memory corruption. My question is, is this memory corruption due to a hardware issue (e.g. overheading RAM), due to a kernel or platform bug, or due to a bug somewhere in the Go toolchain or runtime?
Activity
mdempsky commentedon Jan 21, 2021
That seems like memory corruption. Either runtime bugs or faulty memory or something. That sort of failure shouldn't be random.
Another failure on the same machine, which also looks like a pointer is nil when it shouldn't be: https://build.golang.org/log/9a0af1fedad51a17898be428620c03c863e258a0
And another similar failure on the non-race version of the machine (not sure if the same physical hardware or not): https://build.golang.org/log/5e5d23f0d609ad291d7be138ef1ff147a6c613b1
mdempsky commentedon Jan 21, 2021
That last one definitely looks like some sort of memory corruption. The error message is:
but that corresponding line of source is:
So the string that should be "UnsafeAddr" is actually "hodsTypeOf"? Notably, the same length, but wrong bytes. It looks like maybe the string data for "methods" and "TypeOf" are consecutive in memory, and the pointer for "UnsafeAddr" is off.
bcmills commentedon Jan 22, 2021
Agreed, it looks like memory corruption. My question is, is this memory corruption due to a hardware issue (e.g. overheading RAM), due to a kernel or platform bug, or due to a bug somewhere in the Go toolchain or runtime?
gopherbot commentedon May 6, 2023
Timed out in state WaitingForInfo. Closing.
(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)
gopherbot commentedon May 24, 2023
Found new dashboard test flakes for:
2023-05-22 18:55 linux-ppc64le-power10osu vuln@4d485808 go@298fe517 runtime [build] (log)
2023-05-22 18:55 linux-ppc64le-power10osu vuln@4d485808 go@298fe517 x/vuln/internal/vulncheck/internal/buildinfo.TestExtractPackagesAndSymbols (log)
— watchflakes
gopherbot commentedon May 31, 2023
Found new dashboard test flakes for:
2023-05-31 15:03 linux-ppc64-sid-buildlet sys@b52f5441 go@07719453 runtime [build] (log)
— watchflakes