mirror of git://sourceware.org/git/glibc.git
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:
parent
088a2055da
commit
289d3283b6
|
|
@ -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, \
|
||||
|
|
|
|||
Loading…
Reference in New Issue