runtime: incorrect ordering on sync.RWMutex, possible optimization/defer bug #36864
I just want to preface that I fully expect this to be user error, given that
But I'm completely baffled. so putting this out there in case someone else has seen something similar.
this happens far more frequently in tests than actually running the program.
What version of Go are you using (
The text was updated successfully, but these errors were encountered:
To answer my own question: if the reproducer is the one at james-lawrence/torrent, it has indeed a data race.
and the output had this in it (among other things):
We cannot accept bug reports with racy reproducers (a program with a data race is not a valid Go program); so I'm closing this issue.
If you can still reproduce the crash after you've fixed all the data-races, please comment and we'll re-open. Thanks.