[Bug dynamic-link/19329] dl-tls.c assert failure at concurrent pthread_create and dlopen
lvying.system.thoughts at gmail dot com
sourceware-bugzilla@sourceware.org
Tue Dec 1 02:15:17 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=19329
--- Comment #26 from lvying <lvying.system.thoughts at gmail dot com> ---
Update test result:
I use glibc2.28 source code to reproduce this problem:
1. testcase: Szabolcs Nagy's comment 2 comment 3
result: Inconsistency detected by ld.so: dl-tls.c: 517:
_dl_allocate_tls_init: Assertion `listp != NULL' failed!
Not the same assertion
2. testcase: add Szabolcs Nagy's testcase v3 into nptl testcase:
https://patchwork.ozlabs.org/project/glibc/patch/5836CC80.9070101@arm.com/
tst-tls7 result: same as No.1
3. testcase same as NO.2, However I add usleep(1000) between
_dl_add_to_slotinfo and ++GL(dl_tls_generation) at file elf/dl-open.c.
tst-tls7 result: same as No.1
tst-stack4 can reliably reproduce this problem
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list