Closed ardan-bkennedy closed 11 months ago
I just tested with gotip
$ gotip version
go version devel go1.19-3391517c0e Sun May 8 17:29:15 2022 +0000 darwin/arm64
I did not see this issue at all.
It looks like there are two machines involved, one on amd64 (broken with go1.18.1) and one on arm64 (working with tip). Is that right?
IIUC, the timestamps available to the execution tracer are different on x86 processors vs on ARM.
I wasn't able to reproduce the problem on my darwin/arm64 machine with go1.18.1 or with tip (yesterday's go version devel go1.19-a131fd1313 Sat May 7 10:56:06 2022 +0000 darwin/arm64
).
cc @golang/runtime
See previously #16755.
Does this program use cgo? (Looks like no?)
With the new tracer this error can no longer happen -- timestamps are not used for ordering events anymore. (See #60773.)
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
)?go env
OutputWhat did you do?
This is a program I have used for years to teach the tracing tool. https://github.com/ardanlabs/gotraining/tree/master/topics/go/profiling/trace
These are the changes you need to make to main.
Uncomment out the trace calls and run
freqConcurrent
Then run as follows
What did you expect to see?
I expected the trace to be read and the browser to present itself.
What did you see instead?