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
cmd/go: shutdown crash output is unreadable #46631
Comments
/cc @golang/fuzzing |
I just repro'd this locally and can confirm that something is going wrong here. Will look into it further. |
It looks like every worker is calling the |
I looked into this a bit today. Can confirm, the output is garbled because the worker processes share stdout and stderr. I set it up that way initially to help with debugging, but we should fix it and do it right.
If all the workers panic, the output is going to be overwhelming, even if the coordinator prints each worker's output separately. We may just want to just print output from the first failing worker. |
This is likely going to be a release blocker for Go 1.18 |
Change https://golang.org/cl/352892 mentions this issue: |
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Simple fuzz test:
Run
gotip test -fuzz=FuzzCrash -test.run=None -parallel=16
. Press ctrl+c which caused a crash.What did you expect to see?
Readable output.
What did you see instead?
Copy of output: https://gist.github.com/klauspost/a03eaeda5aa172c0a5990f91c6e7b4a9
(Also we obviously didn't call "f.Fail", the CleanUp function probably did).
The text was updated successfully, but these errors were encountered: