Message203262
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? |
|
Date |
User |
Action |
Args |
2013-11-18 09:02:43 | vstinner | set | recipients:
+ vstinner, neologix, sbt |
2013-11-18 09:02:43 | vstinner | set | messageid: <1384765363.71.0.00644140738293.issue19564@psf.upfronthosting.co.za> |
2013-11-18 09:02:43 | vstinner | link | issue19564 messages |
2013-11-18 09:02:43 | vstinner | create | |
|