runtime, cmd/trace: recent regression: "failed to parse trace: no consistent ordering of events possible #36186
Milestone
Comments
Tentatively marking this as a release blocker, since it could make the execution tracer unusable. I suspect we're missing some trace event or just modeling things wrong in the new direct-yield path. |
Change https://golang.org/cl/211797 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Recent regression: I ran the BenchmarkClientServerParallel4 benchmark with tracing enabled and 'go tool trace' can't deal with the trace file. I bisected the problem to change 7148478 by @rhysh . I'm guessing that the semaphore optimization in that change is somehow confusing the trace tool, and the trace tool needs to be updated to understand the event ordering.
What version of Go are you using (
go version
)?Tip 4b21702 , essentially go 1.14 beta 1
Does this issue reproduce with the latest release?
Does not happen in go 1.13
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Expected to see normal output like:
and the trace web page comes up in the browser.
What did you see instead?
The "failed to parse trace: no consistent ordering of events possible" error message.
This is related to issue #29707 , which has the same error message, but is currently only indicated for programs related to cgo or a rare test failure. The failure in this bug is consistent and a more recent regression (and seems unrelated to cgo).
The text was updated successfully, but these errors were encountered: