Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 14:37:18 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        Mariusz Zaborski <oshogbo@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Deadlock involving truss -f, pdfork() and wait4()
Message-ID:  <20190913183718.GC84156@raichu>
In-Reply-To: <CAFMmRNzhsk-1BO6iyJz7_qtgnRqC%2BfPpYSuQnxEZyno%2BO1K71Q@mail.gmail.com>
References:  <CAFMmRNwRWZsQhMSY7MwS2kU-qNJ0%2BPk676mi59_Y3QsbcEmPVQ@mail.gmail.com> <CAGOYWV-v1-F3dWQovdj5TZMZeBFifDm020AXnPYdZSHPKLG4SA@mail.gmail.com> <CAFMmRNzhsk-1BO6iyJz7_qtgnRqC%2BfPpYSuQnxEZyno%2BO1K71Q@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Fri, Sep 13, 2019 at 02:12:56PM -0400, Ryan Stone wrote:
> This gets me a little further but now the wait4 call by the parent
> never reaps the child and instead blocks forever:

Does it perform a wildcarded wait(), or does it explicitly specify the
PID of the child?  By design, the former will not return children
created by pdfork().


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190913183718.GC84156>