This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Test case for BZ 19329
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, <nd at arm dot com>
- Date: Thu, 24 Nov 2016 13:41:47 +0000
- Subject: Re: [PATCH] Test case for BZ 19329
- Authentication-results: sourceware.org; auth=none
- References: <5836CC80.9070101@arm.com>
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