Re: thrd_current crashes in the main thread

2022-09-03 Thread Bruno Haible
Samuel Thibault wrote: > > The ISO C function thrd_current() crashes in the main thread on glibc/Hurd, > That's already fixed in 2.35. Fix now also pending for 2.34-8. Thanks! Cool.

Re: thrd_current crashes in the main thread

2022-09-03 Thread Samuel Thibault
Hello, Bruno Haible, le sam. 03 sept. 2022 08:32:32 +0200, a ecrit: > The ISO C function thrd_current() crashes in the main thread on glibc/Hurd, > but not on glibc/Linux. > > How to reproduce: > $ gcc -Wall foo.c > $ ./a.out > crashes with SIGSEGV. > > Seen on Debia

thrd_current crashes in the main thread

2022-09-02 Thread Bruno Haible
The ISO C function thrd_current() crashes in the main thread on glibc/Hurd, but not on glibc/Linux. How to reproduce: $ gcc -Wall foo.c $ ./a.out crashes with SIGSEGV. Seen on Debian GNU/Hurd, with glibc 2.34. /* Test of thrd_current () function. Copyright (C) 2011-2022 Free Software