Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: using go test, goroutine stack dump sometimes not emitted on SIGQUIT #27189
What version of Go are you using (
go test disables sigquit for itself so you don't get two sets of tracebacks; the parent (go test) and the child (the process that go test forked)…
On 4 September 2018 at 10:03, Mark Rushakoff ***@***.***> wrote: I don't fully understand what's going on here, but it seems related to the call to base.StartSigHandlers in cmd/go/internal/test/test.go: https://github.com/golang/go/blob/67ac554d7978eb93f3dfe7a819c679 48dd291d88/src/cmd/go/internal/test/test.go#L1161 which seems to swallow SIGQUIT: https://github.com/golang/go/blob/db3f52db8edfa51c76d1e3e1a417d4 6b85528132/src/cmd/go/internal/base/signal.go#L13-L31 https://github.com/golang/go/blob/db3f52db8edfa51c76d1e3e1a417d4 6b85528132/src/cmd/go/internal/base/signal_unix.go#L14 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#27189 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAAcA3IMUWNl-SD5YZ1Ldah367YntBEfks5uXcNGgaJpZM4WKjm3> .