This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [BZ#17090/17620/17621]: fix DTV race, assert, and DTV_SURPLUS Static TLS limit



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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]