runtime, cmd/trace: recent regression: "failed to parse trace: no consistent ordering of events possible #36186
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
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: