On Dec 8, 2023, at 10:25 AM, Miod Vallat <m...@online.fr> wrote: > > How about that diff. >
Tested on amd64 and it does indeed fix the problem. This is clearly the cause. okay kurt@ > Index: include/tib.h > =================================================================== > RCS file: /OpenBSD/src/include/tib.h,v > retrieving revision 1.9 > diff -u -p -r1.9 tib.h > --- include/tib.h 27 Dec 2022 07:44:56 -0000 1.9 > +++ include/tib.h 8 Dec 2023 15:24:49 -0000 > @@ -216,6 +216,7 @@ struct tib { > (tib)->tib_canceled = 0; \ > (tib)->tib_dtv = (dtv); \ > (tib)->tib_errno = 0; \ > + (tib)->tib_thread_flags = 0; \ > _TIB_PREP(tib); \ > } while (0) > >