[issue15646] multiprocessing can do equivalent of a fork bomb on Windows

Richard Oudkerk report at bugs.python.org
Tue Aug 14 12:34:33 CEST 2012


New submission from Richard Oudkerk:

If the "if __name__ == '__main__'" idiom is not used on Windows you can get the recursive starting of new processes.

This is because importing the main module in a child process starts a new child process as a side effect.

There is a test intended to prevent this and raise RuntimeError instead, but it is currently ineffective.

----------
messages: 168189
nosy: sbt
priority: normal
severity: normal
status: open
title: multiprocessing can do equivalent of a fork bomb on Windows
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list