[C++-sig] subprocess fork() sometimes hangs when called from within boost::python::exec_file

Stefan Ring stefanrin at gmail.com
Thu May 7 17:27:31 CEST 2015


On Tue, May 5, 2015 at 4:00 PM, Stefan Ring <stefanrin at gmail.com> wrote:
> See also <http://caml.inria.fr/mantis/view.php?id=5893>. Maybe
> RedHat's bugfix never made it into mainline, or the problem
> reappeared.

Completely unrelated to boost::python, but I guess you could just
block the SIGPROF signal before forking and unblock it afterwards. The
RHEL 5 kernel has apparently been patched with some sort of
workaround, but this has not made it into mainline or the later RHEL
branches.


More information about the Cplusplus-sig mailing list