-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
runtime: printing multiple fatal errors may interleave messages #69447
Comments
Change https://go.dev/cl/613016 mentions this issue: |
Looks some similar to #23097 |
Not really related...the issue here is that the individual |
CC @golang/runtime |
Probably we need printlock/printunlock around the prints inside throw and fatal. |
I don't think it is a good idea to take an additional lock before printing in
|
Change https://go.dev/cl/615655 mentions this issue: |
Go version
master and latest (1.23.1)
Output of
go env
in your module/workspace:What did you do?
Runnable test: https://github.com/grongor/go-fatal-race
Playground: https://go.dev/play/p/YicJmPOpJ6E
What did you see happen?
Sometimes different malformations like this:
What did you expect to see?
single
fatal error: concurrent map writes
followed by a stacktraceThe text was updated successfully, but these errors were encountered: