Author Zach Riggle
Recipients Zach Riggle
Date 2017-01-20.20:48:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The attached script hits some "This should never happen" code in the subprocess module.

These lines here:

The root cause is a lack of checking WIFSTOPPED and WSTOPSIG in the handler.

When a process elects into being ptraced via PTRACE_TRACEME, it is stopped on the SIGSEGV instead of terminating, allowing the user to attach a debugger before the kernel destroys the process.

This bug makes it impossible to wait on any process which crashes, which is set up to wait for a debugger.
Date User Action Args
2017-01-20 20:48:08Zach Rigglesetrecipients: + Zach Riggle
2017-01-20 20:48:08Zach Rigglesetmessageid: <>
2017-01-20 20:48:08Zach Rigglelinkissue29335 messages
2017-01-20 20:48:08Zach Rigglecreate