NetBSD-Bugs archive

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

Re: bin/52932: tests hang on netbsd-8



On Jan 17,  6:50pm, gson%gson.org@localhost (Andreas Gustafsson) wrote:
-- Subject: Re: bin/52932: tests hang on netbsd-8

| The following reply was made to PR bin/52932; it has been noted by GNATS.
| 
| From: Andreas Gustafsson <gson%gson.org@localhost>
| To: Manuel.Bouyer%lip6.fr@localhost, gnats-bugs%NetBSD.org@localhost
| Cc: 
| Subject: Re: bin/52932: tests hang on netbsd-8
| Date: Wed, 17 Jan 2018 20:49:15 +0200
| 
|  This problem first appeared in -current with src/sys/kern/kern_lwp.c 1.191,
|  which was then pulled up: http://releng.netbsd.org/cgi-bin/req-8.cgi?show=417
|  
|  The problem was worked around in -current by disabling the hanging
|  test in src/tests/lib/libc/sys/t_ptrace_wait.c 1.11, but apparently
|  this change has not been pulled up.
|  
|  Has anyone actually conclusively determined whether the kern_lwp.c
|  commit or the test is at fault?

Well, there conclusion I've reached is that there are more races in
ptrace(2) that are exposed by the kern_lwp.c change. Reverting the change
makes regular (non-ptraced) binaries hang randomly, such as go. Choose
your poison... Would you rather have the ptrace test hang, or a regular
program?

christos


Home | Main Index | Thread Index | Old Index