[issue33725] Python crashes on macOS after fork with no exec
Barry A. Warsaw
report at bugs.python.org
Tue Jun 4 13:11:26 EDT 2019
Barry A. Warsaw <barry at python.org> added the comment:
On Jun 4, 2019, at 08:11, STINNER Victor <report at bugs.python.org> wrote:
> Ned Deily:
>> No, it has *always* been unsafe. What's new as of 10.13/14 is that macOS tries much harder at runtime to detect such cases and more predictably cause an error rather than letter than let the process run on and possibly fail nondeterministically.
>
> Hum, in the doc, I wrote:
>
> .. versionchanged:: 3.8
>
> On macOS, *spawn* start method is now the default: *fork* start method is no
> longer reliable on macOS, see :issue:`33725`.
>
> Should we change this text? Any proposition?
Thanks Victor. I don’t think “reliable” is strong enough, since this will definitely lead to core dumps under certain conditions. What about:
On macOS, the *spawn* start method is now the default. The *fork* start method should
be considered unsafe as it can lead to crashes of the subprocess. See :issue:`33725`.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33725>
_______________________________________
More information about the Python-bugs-list
mailing list