[pypy-issue] Issue #2846: Error while creating a multiprocessing.Pool, _winapi 535, "There is a process on other end of the pipe" (pypy/pypy)

jean issues-reply at bitbucket.org
Mon Jun 11 10:54:20 EDT 2018


New issue 2846: Error while creating a multiprocessing.Pool, _winapi 535, "There is a process on other end of the pipe"
https://bitbucket.org/pypy/pypy/issues/2846/error-while-creating-a-multiprocessingpool

jean:

```
#!python



Python 3.5.3 (fdd60ed87e94, Apr 24 2018, 06:27:13)
[PyPy 6.0.0 with MSC v.1910 32 bit] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>> import multiprocessing as mp
>>>> with mp.Pool() as pool:
....    pass
....
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\pypy3-v6.0.0-win32\lib-python\3\multiprocessing\context.py", line 118, in Pool
    context=self.get_context())
  File "C:\pypy3-v6.0.0-win32\lib-python\3\multiprocessing\pool.py", line 150, in __init__
    self._setup_queues()
  File "C:\pypy3-v6.0.0-win32\lib-python\3\multiprocessing\pool.py", line 243, in _setup_queues
    self._inqueue = self._ctx.SimpleQueue()
  File "C:\pypy3-v6.0.0-win32\lib-python\3\multiprocessing\context.py", line 111, in SimpleQueue
    return SimpleQueue(ctx=self.get_context())
  File "C:\pypy3-v6.0.0-win32\lib-python\3\multiprocessing\queues.py", line 323, in __init__
    self._reader, self._writer = connection.Pipe(duplex=False)
  File "C:\pypy3-v6.0.0-win32\lib-python\3\multiprocessing\connection.py", line 552, in Pipe
    _, err = overlapped.GetOverlappedResult(True)
  File "C:\pypy3-v6.0.0-win32\lib_pypy\_winapi.py", line 110, in GetOverlappedResult
    raise _WinError()
  File "C:\pypy3-v6.0.0-win32\lib_pypy\_winapi.py", line 23, in _WinError
    raise WindowsError(code, message)
OSError: [Errno 535] There is a process on other end of the pipe
>>>>
```
I tried it on win8.1 and win10, same results (doesnt matter how many processes)

versions: pypy3 v6.0.0 on win32




More information about the pypy-issue mailing list