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 duncf
Recipients BreamoreBoy, Rhamphoryncus, bamby, duncf, exarkun, georg.brandl, laca, movement, mstepnicki, nh2, pitrou, ross
Date 2010-12-15.05:17:11
SpamBayes Score 1.956546e-10
Marked as misclassified No
Message-id <1292390232.92.0.0813405682108.issue1975@psf.upfronthosting.co.za>
In-reply-to
Content
This is definitely still an issue.

With the "pthread_sig" patch attached to this bug, both on FreeBSD and on linux, any processes spawned from a thread seem to have their signals blocked, so they can not be killed.

Without it, on FreeBSD, the behavior described by bamby is still a problem.

I've attached a test case that adapts bamby's example code into a test, and shows the "unkillable subprocess" problem I described above.

On FreeBSD without the patch, test_signal fails, and with the patch test_thr fails.

On Linux and OS X, without the patch, all tests pass. With the patch, test_thr fails.

I hope somebody can come up with a better fix.
History
Date User Action Args
2010-12-15 05:17:13duncfsetrecipients: + duncf, georg.brandl, exarkun, Rhamphoryncus, pitrou, movement, ross, bamby, laca, mstepnicki, nh2, BreamoreBoy
2010-12-15 05:17:12duncfsetmessageid: <1292390232.92.0.0813405682108.issue1975@psf.upfronthosting.co.za>
2010-12-15 05:17:11duncflinkissue1975 messages
2010-12-15 05:17:11duncfcreate