You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to reproduce this locally after running the test several thousand times. dumb-init (the parent) was alive and responding to signals, but the child was a zombie and not being reaped.
I then tried this: while :; do echo =========== && ./dumb-init -v /asdf; done
and again, eventually it stops:
===========
[dumb-init] setsid complete.
[dumb-init] /asdf: No such file or directory
[dumb-init] Child spawned with PID 72249.
I believe the problem is that we don't set the signal mask until after the fork in the parent, so if the child exits quickly enough, the SIGCHLD might be missed. Preparing a PR now.
chriskuehl
added a commit
to chriskuehl/dumb-init
that referenced
this issue
Jul 26, 2016
This happened on CI during
make test
(not inside Docker):Not quite sure what could have caused this...
The text was updated successfully, but these errors were encountered: