On Mon, May 02, 2022 at 10:12:02PM +0200, Michael van Elst wrote: > On Sun, May 01, 2022 at 01:24:01PM -0700, Chuck Silvers wrote: > > On Tue, Apr 05, 2022 at 02:10:36PM -0000, Michael van Elst wrote: > > > I see both in almost every pbulk run. > > > > please try this patch for the cmake variation of this hang: > > > > http://www.netbsd.org/~chs/diff.pthread-park-stuck.1 > > The bulk builds use the latest release, i.e netbsd-9, but that > patch is for -current. Do you think that netbsd-9 has the same > issue and the patch could be reworked for the older code ?
netbsd-9 almost certainly has the issue that this latest patch is trying to fix. the patch above is just a one-liner and can easily be adapted for netbsd-9. but this patch alone is probably not enough... there have been many changes to libpthread in HEAD since netbsd-9, claiming to fix problems with the same kind of hang symptoms, and some of those would almost certainly be needed in netbsd-9 as well. I don't know for sure which of the changes from HEAD are needed, so that's why I'm suggesting we just test with all of those changes, ie. test the HEAD libpthread. -Chuck