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 vstinner
Recipients neologix, sbt, vstinner
Date 2013-11-18.09:02:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384765363.71.0.00644140738293.issue19564@psf.upfronthosting.co.za>
In-reply-to
Content
multiprocessing_faulthandler_timeout.patch: Dump the traceback of all Python threads in a child process if it takes more than 10 minutes to succeed. On the buildbot, the process hangs more than 1 hour. I guess that 10 minutes in enough for a single unit test.

The patch adds a private attribute "_faulthandler_timeout" to Popen classes, but also a "_faulthandler_timeout" parameter to spawn_main(). If you think that it is really too ugly, the patch may be reverted after the bug is analyzed. Or would it be possible to pass a command to "prepare" a child process, like preexec_fn of the subprocess module?
History
Date User Action Args
2013-11-18 09:02:43vstinnersetrecipients: + vstinner, neologix, sbt
2013-11-18 09:02:43vstinnersetmessageid: <1384765363.71.0.00644140738293.issue19564@psf.upfronthosting.co.za>
2013-11-18 09:02:43vstinnerlinkissue19564 messages
2013-11-18 09:02:43vstinnercreate