[issue29640] _PyThreadState_Init and fork race leads to inconsistent key list

Charalampos Stratakis report at bugs.python.org
Thu Mar 16 13:13:56 EDT 2017


Charalampos Stratakis added the comment:

In order to reproduce:

Apply the python.patch from bz1268226_reproducer2.tar.gz

Compile python

Run the reproduce4.py from bz1268226_reproducer2.tar.gz

As indicated by the reproducer, the status returned by os.wait() for the child is 139.

I will refine a bit the patch and work on a PR.

----------
Added file: http://bugs.python.org/file46730/python.patch

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


More information about the Python-bugs-list mailing list