On Thu, Mar 06, 2025 at 07:17:25PM +0100, Aurelien Jarno wrote: > It's what I was currently doing. I found that the issue is caused by this > upstream commit: > https://sourceware.org/git/?p=glibc.git;a=commit;h=89b53077d2a58f00e7debdfe58afabe953dac60d > > This is the corresponding bug that got fixed by this commit: > https://sourceware.org/bugzilla/show_bug.cgi?id=12683 > > Compiling pari with -fsanitize=address, I get this trace for the double > free:
I tried -fsanitize=thread and I got: ! ThreadSanitizer: CHECK failed: tsan_interceptors_posix.cpp:2107 "((thr->slot)) != (0)" (0x0, 0x0) (tid=1455863) but only with glibc 2.41. I am still unsure wether there is a race condition in PARI or not, however if there is, it is clear that 2.41 makes the issue much worse. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here.