-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poor interactions with SIGCHLD-using projects #778
Comments
Have you tried |
Ah, I had missed that flag. Trying now, thanks. |
Hrm. Alas, that doesn't seem to resolve it for me. The odd thing is that the underlying crate which actually does the work is fine. It's when it's all driven from other threads and such using Tokio to manage communications via a Unix socket and other event sources that things end up going south. |
I am facing a similar problem with a project that uses There is some talk of removing the use of |
When using tarpaulin for coverage testing in the spk project, `remount_runtime` hangs forever, because `tokio::process` uses `SIGCHLD` to learn when the subprocess exits, and tarpaulin steals `SIGCHLD` for its own purposes. xd009642/tarpaulin#778 Signed-off-by: J Robert Ray <jrray@imageworks.com>
I'd generally say now |
Describe the bug
I have a project that uses
wait-timeout
to check the timeout of some commands that are executed. By someprintf
debugging (unless there's some way to run tarpaulin undergdb
), it seems that the SIGCHLD handler inwait-timeout
is not being executed at all. Tarpaulin should chain off to any already installed signal handlers (if at all possible). Alternatively, it could be that something goes wrong when installingwait-timeout
's signal handler?Alternatively, maybe some way to disable interposition on SIGCHLD handler could be done?
To Reproduce
A simple example wasn't doing it, but the crate in question is here.
Expected behavior
Already installed SIGCHLD handlers should work.
The text was updated successfully, but these errors were encountered: