NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52168 (attach2:t_ptrace_wait* is unusable)



Synopsis: attach2:t_ptrace_wait* is unusable

State-Changed-From-To: open->closed
State-Changed-By: kamil%NetBSD.org@localhost
State-Changed-When: Thu, 13 Dec 2018 00:17:59 +0100
State-Changed-Why:
revision 1.25
date: 2018-03-07 17:40:06 +0100;  author: kamil;  state: Exp;  lines: +2 -8;  commitid: mKAGeMnwGb1TSxtA;
ATF: Reenable attach2 in t_ptrace_wait*

The primary race specific to this test has been fixed in previous commit
(wrong WNOHANG).

This test is still racy and breaks like once every 30,000 execution.
This is down like from once from every 100th execution in the past.

The remaning race is not specific to attach2 and I can reproduce it with
at least attach1. It still looks like being specific to NetBSD and it's
not reproducible on Linux and FreeBSD. Perhaps a bug with pipe(2)/write(2)/
read(2) or close to these features.





Home | Main Index | Thread Index | Old Index