-
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
os/signal: sending SIGTSTP doesn't return to shell when non-SIGTSTP handler exists (OpenBSD) #70548
Comments
is that a problem with your shell? |
Using the above code, I get the same issue with ksh, bash, and csh. By comparison, the issue doesn't occur if I run the following and hit Ctrl-Z:
|
I will try to reproduce also using a more recent version of Go. |
CC @golang/openbsd |
I can confirm that I observe the same issue with Go 1.23: Go versiongo version go1.23.1 openbsd/amd64 Output of go env in your module/workspace:
|
What version of OpenBSD are you running this on? I suspect it is kernel bug that has been fixed in recent snapshots - I'm able to successfully suspend and resume the test program on a current snapshot, while it failed as described on a snapshot from a few months back. |
I'm running the most recent release - OpenBSD 7.6. I don't run snapshots, but I'll re-run when the next release is made available. |
Go version
go version go1.20.1 openbsd/amd64
Output of
go env
in your module/workspace:What did you do?
go build test.go
./test
Hit Ctrl-Z
What did you see happen?
<Doesn't return to shell as expected>
What did you expect to see?
The text was updated successfully, but these errors were encountered: