[Bug 218598] pwait deadlocks on its own pid

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 12 22:02:23 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218598

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #1 from Jilles Tjoelker <jilles at FreeBSD.org> ---
Hmm, this is sort of a workaround for the shell reaping zombies quickly and not
providing the script with a good way to detect this.

If code is executed like
  sh -c '...; exec pwait $$'
it arguably should deadlock.

The patch seems a simple way to avoid the deadlock in poudriere, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list