-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
dl/internal/version, dl/gotip: corrupted output on SIGQUIT #36976
Comments
This also appears if timer code isn't in use, e.g.:
Which gives:
|
Okay, this is entirely and completely strange. I've been trying to bisect this and went all the way back to the 1.13 release, but it still reproduced. But I think I've figured it out; it only happens when I use
I think this is an issue with the way |
Yep, this is exclusive to the
I've edited the title, though I can't say I've ever seen an issue for the |
I bet that you are running the program using Try using |
The extra layer seems to be what's causing the issue. I don't know exactly what all I would have assumed that the |
The |
You're right that the |
Thanks for the info; I wasn't sure where to look for that. I swapped out the |
For information, all versions of go other than |
Indeed, my CL would fix both. I'd also submit something to deduplicate those two a bit (since they have copies of the same helpers), but that's perhaps a different issue. 😄 |
Great, thank you.
Please file a separate issue for that. |
Hmm, unfortunately the implementation of func Exec(argv0 string, argv []string, envv []string) (err error) {
return EWINDOWS
} So even though it exists it's not going to work. Bummer. Guess I'll look into trapping the signals before the final go/src/cmd/go/internal/base/base.go Lines 160 to 170 in 753d56d
|
Change https://golang.org/cl/217765 mentions this issue: |
Moving to backlog milestone. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
1.13.7, no. Tip, yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Ran code that blocked, like:
Then, hit Ctrl+\ to send SIGQUIT.
What did you expect to see?
"Good" output with a back trace, register contents, etc. On 1.13.7, that's:
What did you see instead?
The output is broken very broken, as though it's being output twice simultaneously.
The text was updated successfully, but these errors were encountered: