Closed benesch closed 5 years ago
@gopherbot Please open an issue to backport to 1.11
Backport issue(s) opened: #28690 (for 1.11).
Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases.
Change https://golang.org/cl/148899 mentions this issue: runtime: ensure m.p is never stale
Change https://golang.org/cl/148823 mentions this issue: runtime: wire g and p
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?What did you do?
This builds some C and C++ dependencies and ultimately runs:
What did you expect to see?
Either a successful test run or an actual race.
What did you see instead?
I tried to dig into this, but gotsan.cc is apparently generated deep inside the build process for the race detector and it wasn't clear to me how to generate a gotsan.cc that matched my Go version.
Totally possible that this our (CockroachDB's) bug, but there's not a lot here for me to go on, so figured I'd file here and see if someone with more expertise in the race detector had any insight.