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 rnk
Recipients collinwinter, jyasskin, rnk
Date 2010-07-10.19:35:48
SpamBayes Score 0.07813458
Marked as misclassified No
Message-id <1278790551.79.0.100239561367.issue6643@psf.upfronthosting.co.za>
In-reply-to
Content
Here's an updated patch for py3k (3.2).  The test still fails without the fix, and passes with the fix.

Thinking more about this, I'll try summarizing the bug more coherently:

When the main thread joins the child threads, it acquires some locks.  If a fork in a child thread occurs while those locks are held, they remain locked in the child process.  My solution is to do here what we do elsewhere in CPython: abandon radioactive locks and allocate fresh ones.
History
Date User Action Args
2010-07-10 19:35:52rnksetrecipients: + rnk, collinwinter, jyasskin
2010-07-10 19:35:51rnksetmessageid: <1278790551.79.0.100239561367.issue6643@psf.upfronthosting.co.za>
2010-07-10 19:35:50rnklinkissue6643 messages
2010-07-10 19:35:50rnkcreate