[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
Thu Oct 29 03:12:39 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=19329
lvying <lvying.system.thoughts at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lvying.system.thoughts@gmai
| |l.com
--- Comment #25 from lvying <lvying.system.thoughts at gmail dot com> ---
Hi, when I use Szabolcs Nagy's comment 2 comment 3, I got Assertion:
Inconsistency detected by ld.so: dl-tls.c: 517: _dl_allocate_tls_init:
Assertion `listp != NULL' failed!
Also, I try this testcase pacth:
https://patchwork.ozlabs.org/project/glibc/patch/5836CC80.9070101@arm.com/
After I put patch the patch into the glibc code, and run nptl testcase, I got:
../scripts/evaluate-test.sh nptl/tst-tls7 $? false false >
/root/build/build/glibc/nptl/tst-tls7.test-result
Inconsistency detected by ld.so: dl-tls.c: 517: _dl_allocate_tls_init:
Assertion `listp != NULL' failed!
Both of the testcases got different assertion, not the assertion:
Inconsistency detected by ld.so: dl-tls.c: 493: _dl_allocate_tls_init:
Assertion `listp->slotinfo[cnt].gen <= _rtld_local._dl_tls_generation' failed!
So, how to reproduce this problem to get the same failure.
And is there a plan to solve this problem? This problem has been going on for a
long time.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list