[PATCH] Test case for BZ 19329
Joseph Myers
joseph@codesourcery.com
Thu Nov 24 13:42:00 GMT 2016
On Thu, 24 Nov 2016, Szabolcs Nagy wrote:
> Test concurrent dlopen and pthread_create when the loaded
> modules have TLS. This triggers dl-tls assertion failures
> more reliably than the tst-stack4 test.
>
> The dlopened module has 100 DT_NEEDED dependencies and
> for me about 4000 concurrent thread creations are needed
> to see failures on x86_64.
I'd be concerned about 4000 threads exceeding task or memory limits,
possibly interfering with other things the same user is doing that also
try to create tasks.
(I rountinely see tst-eintr1 failing with "pthread_create failed: Resource
temporarily unavailable", sometimes terminating the test run because make
fails to fork to run evaluate-test.sh, apparently not all threads having
properly terminated by the time the test does. I don't know how many
threads that is creating.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list