| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…H-7850) Fail `test_semaphore_tracker_sigint` if no warnings are expected and one is received. Fix race condition when the child receives SIGINT before it can register signal handlers for it. The race condition occurs when the parent calls `_semaphore_tracker.ensure_running()` (which in turn spawns the semaphore_tracker using `_posixsubprocess.fork_exec`), the child registers the signal handlers and the parent tries to kill the child. What seem to happen is that in some slow systems, the parent sends the signal to kill the child before the child protects against the signal. (cherry picked from commit ec74d18) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
Rejected. This isn't fixing a user-visible bug. |
Sorry, something went wrong.
|
@pablogsal and @pitrou: Backport status check is done, and it's a failure ❌ . |
Sorry, something went wrong.
|
@pablogsal and @pitrou: Backport status check is done, and it's a failure ❌ . |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fail test_semaphore_tracker_sigint if no warnings are expected and one is received.
Fix race condition when the child receives SIGINT before it can register signal handlers for it.
The race condition occurs when the parent calls
_semaphore_tracker.ensure_running() (which in turn spawns the
semaphore_tracker using _posixsubprocess.fork_exec), the child
registers the signal handlers and the parent tries to kill the child.
What seem to happen is that in some slow systems, the parent sends the
signal to kill the child before the child protects against the signal.
(cherry picked from commit ec74d18)
Co-authored-by: Pablo Galindo Pablogsal@gmail.com
https://bugs.python.org/issue33613