cockroach-go icon indicating copy to clipboard operation
cockroach-go copied to clipboard

testserver: run cockroach with Pdeathsig on linux

Open ajwerner opened this issue 4 years ago • 2 comments
trafficstars

If the test crashes for whatever reason and does not run the deferred cleanup, then we would like very much for the operating system to kill the subprocess. Linux has nice support for this.

ajwerner avatar Apr 08 '21 17:04 ajwerner

This change is Reviewable

cockroach-teamcity avatar Apr 08 '21 17:04 cockroach-teamcity

I don't know why the SIGSEGV is happening but I stumbled upon this: https://github.com/golang/go/issues/27505#issuecomment-713706104

Do you think we need something like that? Do we need Setpgid=true?

rafiss avatar Apr 09 '21 20:04 rafiss