This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients gregory.p.smith
Date 2018-09-13.10:57:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536836247.9.0.956365154283.issue34658@psf.upfronthosting.co.za>
In-reply-to
Content
Found in the stdlib test suite while testing the fix for bpo-6721: When subprocess is called with a preexec_fn and os.register_at_fork has been used and the fork() system call fails, the Python error state is set before the "after fork in parent process" function calls that were registered were called.  So they'd call back into Python code with a pending unreturned exception set.

boom.  SystemError (or assertion failure in pydebug builds).
History
Date User Action Args
2018-09-13 10:57:27gregory.p.smithsetrecipients: + gregory.p.smith
2018-09-13 10:57:27gregory.p.smithsetmessageid: <1536836247.9.0.956365154283.issue34658@psf.upfronthosting.co.za>
2018-09-13 10:57:27gregory.p.smithlinkissue34658 messages
2018-09-13 10:57:27gregory.p.smithcreate