[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

Christian Heimes report at bugs.python.org
Sun Oct 27 01:16:03 CEST 2013


Christian Heimes added the comment:

OpenSSL kinda takes care of that. The PRNG mixes the PID into the seed so parent and child won't see the same output. The patch fixes a slightly more tricky issue:

- parent initializes PRNG but never touches the PRNG again
- parent forks lots of child processes
- PIDs get reused -- two child processes with same PID get same pseudorandom data

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19227>
_______________________________________


More information about the Python-bugs-list mailing list