NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/55241 CVS commit: src/tests/lib/libc/sys
The following reply was made to PR lib/55241; it has been noted by GNATS.
From: Andreas Gustafsson <gson%gson.org@localhost>
To: kamil%netbsd.org@localhost
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: PR/55241 CVS commit: src/tests/lib/libc/sys
Date: Sat, 16 May 2020 19:07:16 +0300
Kamil Rytarowski wrote:
> SIGCHLD once blocked is discarded by the kernel as it has the
> SA_IGNORE property. During the fork(2) operation all signals can be
> shortly blocked and missed (unless there is a registered signal
> handler in the traced child). This leads to a race in this test if
> there would be an intention to catch SIGCHLD.
>
> Fixes PR lib/55241 by Andreas Gustafsson
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_ptrace_fork_wait.h
This commit fixed many, but not all of the failures reported in this PR.
For example, lib/libc/sys/t_ptrace_wait4:fork_singalmasked failed in
the test run immediately after the commit:
http://releng.netbsd.org/b5reports/i386/commits-2020.05.html#2020.05.14.19.21.35
http://releng.netbsd.org/b5reports/i386/2020/2020.05.14.19.21.35/test.html#lib_libc_sys_t_ptrace_wait4_fork_singalmasked
--
Andreas Gustafsson, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index