[BZ#17090/17620/17621]: fix DTV race, assert, and DTV_SURPLUS Static TLS limit
Szabolcs Nagy
szabolcs.nagy@arm.com
Tue Jun 9 10:12:00 GMT 2015
On 09/06/15 04:49, Alexandre Oliva wrote:
> On Mar 18, 2015, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
>
>> i think the _rtld* members that are accessed without holding
>> the rtld lock should only be accessed using atomics (at least
>> _dl_tls_generation and _dl_tls_max_dtv_idx are affected)
>
> Is this problem the one you fixed with the patch in the other thread
> I've just commented on?
no,
the patch is for lazy initialization of tlsdesc on aarch64 [BZ 18034]
this one is about dlopen/dlclose while creating threads [BZ 17918]
it causes
Inconsistency detected by ld.so: dl-tls.c: 493: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= _rtld_local._dl_tls_generation' failed!
More information about the Libc-alpha
mailing list