This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author socketpair
Recipients Yonatan Goldschmidt, gregory.p.smith, izbyshev, koobs, pablogsal, ronaldoussoren, socketpair
Date 2022-04-06.21:16:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1649279801.15.0.388971157914.issue35823@roundup.psfhosted.org>
In-reply-to
Content
See #47245.

https://github.com/bminor/glibc/blob/master/sysdeps/unix/sysv/linux/spawni.c#L309

In short - do not use vfork(). Use clone(CLONE_VM | CLONE_VFORK). And build separate stack.

Current implementation is heavily broken.

Another guy has failed: https://bugzilla.kernel.org/show_bug.cgi?id=215813.


Please comment calling vfork() as soon as possible in order to fallback to fork() implementation. Until you (or me?) write good vfork children code.
History
Date User Action Args
2022-04-06 21:16:41socketpairsetrecipients: + socketpair, gregory.p.smith, ronaldoussoren, koobs, izbyshev, pablogsal, Yonatan Goldschmidt
2022-04-06 21:16:41socketpairsetmessageid: <1649279801.15.0.388971157914.issue35823@roundup.psfhosted.org>
2022-04-06 21:16:41socketpairlinkissue35823 messages
2022-04-06 21:16:41socketpaircreate