[PATCH] Test case for BZ 19329

Szabolcs Nagy szabolcs.nagy@arm.com
Thu Nov 24 11:18:00 GMT 2016


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.

2016-11-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	[BZ #19329]
	* nptl/Makefile (tests): Add tst-tls7.
	(modules-names): Add tst-tls7mod, tst-tls7mod-dep.
	* nptl/tst-tls7.c: New file.
	* nptl/tst-tls7mod-dep.c: New file.
	* nptl/tst-tls7mod.c: New file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tls7.diff
Type: text/x-patch
Size: 3983 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161124/f973c7b4/attachment.bin>


More information about the Libc-alpha mailing list