https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103978
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|11.3 |--- Known to fail|11.1.0, 11.2.0, 12.0 | Summary|[11/12 Regression] |AddressSanitizer CHECK |AddressSanitizer CHECK |failed with threads and |failed |thread canceling with glibc |../../../../src/libsanitize |2.28+ |r/asan/asan_thread.cpp:367 | |"((ptr[0] == | |kCurrentStackFrameMagic)) | |!= (0)" (0x0, 0x0) | Known to work|10.1.0, 10.3.0, 7.1.0, | |8.1.0, 9.1.0 | --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Maybe there is a glibc change here which is causing it. glibc 2.27 works while 2.28 fails. I don't know why clang works though.