New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
encoding/json: TestBlocking test fails #5486
Labels
Comments
A quick update. It looks like there is some confusion about scanning the incoming arguments of a goroutine. If I change the following line from testBlocking go w.Write([]byte(enc)) to force writing the argument to Write onto the stack b := []byte(enc) _ = b go w.Write(b) the crash will no longer reproduce. |
This crash is caused by the GC ignoring the incoming arguments of a function with unknown argument size when that function happens to be the initial function of a not started goroutine. There is special case code in the general stack scanner to handle functions with an unknown argument size. This logic needs to be replicated in the not started goroutine stack scanner. I will have a patch shortly. Fortunately, it is a one-liner. Status changed to Started. |
Owner changed to @lexprfuncall. |
This issue was closed by revision 50ba6e1. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: