Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: invalid stack pointer when parsing XML with atomic test coverage #16948
What version of Go are you using (
It seems the problem is that the inserted atomic op (now as intrinsic, which produces <v, mem>) confuses the scheduler and makes following stores scheduled before the load of the return value of runtime.newobject.
It was not a problem before this commit because the extra Zero op produces a mem, which happens to enforce the load is scheduled early. This Zero op is removed in this commit.
I am working on it.