On Fri, May 22, 2020 at 12:21:42PM -0400, Rich Felker wrote: > Anyway, first fix coming soon. This will be important for distros to > pick up. And here's a patch series. I found and fixed a second bug, independent of the first, where threads_minus_1 was being decremented too early and causing dlerror cleanup (__dl_thread_cleanup) to skip locking. I also have a solution for returning to skipping locks after the process becomes single-threaded again. See attached series.