From: Arjun Shankar Date: Tue, 13 Jan 2026 16:59:26 +0000 (+0100) Subject: malloc: Add tst-mallocfork to tests-exclude-threaded exception list X-Git-Tag: glibc-2.43~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=289d3283b62d5ef78a2c75803f5450890c16d565;p=thirdparty%2Fglibc.git malloc: Add tst-mallocfork to tests-exclude-threaded exception list Commit 244c404ae85003f45aa491a50b6902655ee2df15 added -threaded-main and -threaded-worker variants of several malloc tests with some exceptions. tst-mallocfork calls fork from a signal handler, leading to sporadic deadlocks when multi-threaded since fork is not AS-safe when multi-threading. This commit therefore adds tst-mallocfork to the appropriate exception list. Reviewed-by: Florian Weimer --- diff --git a/malloc/Makefile b/malloc/Makefile index f632feb33b..bd7383dc64 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -303,11 +303,14 @@ $(tests-link-with-libpthread:%=$(objpfx)%-malloc-largetcache): \ # static copies of some regular tests, # tst-compathooks-on: hook/call counts mismatch due to threading allocations # tst-interpose-nothread: interposes malloc without locking +# tst-mallocfork: calls fork from a signal handler +# (tst-mallocfork{2,3} already excluded via tests-link-with-libpthread) tests-exclude-threaded = \ $(tests-link-with-libpthread) \ $(tests-static) \ tst-compathooks-on \ tst-interpose-nothread \ + tst-mallocfork \ # tests-exclude-threaded tests-threaded-main = $(addsuffix -threaded-main, \