mirror of
https://github.com/bminor/glibc.git
synced 2026-06-30 19:58:21 +00:00
malloc: Add tst-mallocfork to tests-exclude-threaded exception list
Commit 244c404ae8 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 <fweimer@redhat.com>
This commit is contained in:
@@ -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, \
|
||||
|
||||
Reference in New Issue
Block a user