1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:40:09 -07:00
go/misc/cgo/testsanitizers
Bryan C. Mills 715ba65563 misc/cgo/testsanitizers: terminate commands with SIGQUIT if hung
If the test hangs due to a deadlock in a subprocess, we want a
goroutine dump of that process to figure out the nature of the
deadlock. SIGQUIT causes the Go runtime to produce exactly
such a dump (unless the runtime itself is badly deadlocked).

For #52998.

Change-Id: Id9b3ba89d8f705e14f6cd789353fc2b7f4774ad3
Reviewed-on: https://go-review.googlesource.com/c/go/+/407954
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-05-23 21:33:54 +00:00
..
testdata cmd/dist: add asan tests for global objects in testsanitizers package 2022-05-05 04:05:43 +00:00
asan_test.go cmd/dist: add asan tests for global objects in testsanitizers package 2022-05-05 04:05:43 +00:00
cc_test.go misc/cgo/testsanitizers: terminate commands with SIGQUIT if hung 2022-05-23 21:33:54 +00:00
cshared_test.go all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
msan_test.go runtime/cgo: when using msan explicitly unpoison cgoCallers 2021-08-09 14:48:39 +00:00
tsan_test.go