Changes between Initial Version and Version 1 of Ticket #45309, comment 7
- Timestamp:
- Oct 11, 2014, 9:19:40 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #45309, comment 7
initial v1 1 On OS X, you cannot call non-async-safe functions in a process `fork(2)`ed from a child process before calling `execve(2)`. This looks like some post-fork-phtread callback code that calls stuff it shouldn't call. A valid solution for this kind of problem is to replace the `fork(2)` and `execve(2)` combination with `posix_spawn(2)`.1 On OS X, you cannot call non-async-safe functions in a child process `fork(2)`ed from a multithreaded process before calling `execve(2)`. This looks like some post-fork-phtread callback code that calls stuff it shouldn't call. A valid solution for this kind of problem is to replace the `fork(2)` and `execve(2)` combination with `posix_spawn(2)`. 2 2 3 3 Please make sure upstream is aware of this problem.