Skip to content

Occasional python crash in multiprocessing\forking.py on Windows. #718

@SigmundVik

Description

@SigmundVik

With the latest version of Emscripten from the incoming branch, I get this crash maybe one out of three times when compiling with emcc:

Exception WindowsError: WindowsError(5, 'Access is denied') in <Finalize object, dead> ignored
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "C:\tools\Python26\lib\atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "C:\tools\Python26\lib\multiprocessing\util.py", line 277, in _exit_function
    p._popen.terminate()
  File "C:\tools\Python26\lib\multiprocessing\forking.py", line 274, in terminate
    _subprocess.TerminateProcess(int(self._handle), TERMINATE)
WindowsError: [Error 5] Access is denied
Error in sys.exitfunc:
Traceback (most recent call last):
  File "C:\tools\Python26\lib\atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "C:\tools\Python26\lib\multiprocessing\util.py", line 277, in _exit_function
    p._popen.terminate()
  File "C:\tools\Python26\lib\multiprocessing\forking.py", line 274, in terminate
    _subprocess.TerminateProcess(int(self._handle), TERMINATE)
WindowsError: [Error 5] Access is denied

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions