Dmitry,
Can you please verify the follow two patches. The first one is a simplification of the one you have already tested and makes the processes killable. The second patch improves our heuristic for detecting synchronous like SIGSEGV when the stack overflows allowing us to process them before SIGHUP. Eric W. Biederman (2): signal: Always notice exiting tasks signal: Better detection of synchronous signals