NetBSD-Bugs archive

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

Re: kern/56414: cmake hang on kqueue (condvar waiter list issue) ?



On Tue, Sep 21, 2021 at 11:40:01PM +0000, Joerg Sonnenberger wrote:
>  On Tue, Sep 21, 2021 at 03:00:00PM +0000, Manuel.Bouyer%lip6.fr@localhost wrote:
>  > >Number:         56414
>  > >Category:       kern
>  > >Synopsis:       cmake hang on kqueue
>  > >Confidential:   no
>  > >Severity:       serious
>  > >Priority:       high
>  > >Responsible:    kern-bug-people
>  > >State:          open
>  > >Class:          sw-bug
>  > >Submitter-Id:   net
>  > >Arrival-Date:   Tue Sep 21 15:00:00 +0000 2021
>  > >Originator:     Manuel Bouyer
>  > >Release:        NetBSD 9.99.77
>  > >Organization:
>  > >Environment:
>  > System: NetBSD amd64-nb9.netbsd.org 9.99.77 NetBSD 9.99.77 (amd64-nb9-PVH) #3: Sun Jan 10 08:56:13 UTC 2021  spz%franklin.NetBSD.org@localhost:/home/netbsd/current/amd64/obj/sys/arch/amd64/compile/amd64-nb9-PVH amd64
>  > Architecture: x86_64
>  > Machine: amd64
>  > >Description:
>  > 	In a full pbulk build, I see cmake process hanging on kqueue,
>  > 	stalling the build. usually, a kill -STOP/kill -CONT on the
>  > 	cmake process wakes it up, and the package build completes without
>  > 	issue. This will occur several times in a pbulk run.
>  > 	This has been discussed several times on NetBSD's lists,
>  > 	as in
>  > 	http://mail-index.netbsd.org/tech-kern/2021/01/12/msg027056.html
>  > 	https://mail-index.netbsd.org/current-users/2021/04/06/msg040695.html
>  
>  This is not a kernel issue, but a corruption of the wait list in
>  userland.

Ha, interesting. The userland is 9.0_STABLE/amd64 from
Jun 11 22:49:34 UTC 2020. Any idea if a fix is available in netbsd-9 ?

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index