[Bug 233649] Flakey test case: sys.kern.sysv_test.msg

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 May 2022 16:11:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233649

Eric van Gyzen <vangyzen@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vangyzen@FreeBSD.org

--- Comment #5 from Eric van Gyzen <vangyzen@FreeBSD.org> ---
I ran the test under GDB and reproduced the hang.  The test blocks in
sigsuspend.  did_sigchild is already 1.  The child exited before the parent
called sigsuspend, so it will block forever.  The parent should simply use a
wait-family function to wait for the child.  Then it could also ignore SIGCHLD.

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