On Wed, Sep 09, 2020 at 05:40:05PM +0200, Vincent Bernat wrote: > ? 9 septembre 2020 16:58 +02, Willy Tarreau: > > > Ah I'm really angry because I tested on many platforms, *including* armhf, > > but now I'm not seeing it, so either I failed on one test or it depends > > on the compiler combination :-( > > I am getting it on Debian Unstable (gcc 10.2.0, glibc 2.31), Ubuntu > Focal (gcc 9.3.0, glibc 2.31) and Ubuntu Bionic (gcc 7.5.0, glibc 2.27).
Thanks. Now I'm trying to work on it but can't reproduce the loading problem anymore... That's a heisenbug... The trick I'm trying right now is to really create a thread that exits on startup. This way we'll be certain pthread_exit() was already called once. It's much uglier than the first work around but should be more portable and more reliable. Willy