This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [BZ#17090/17620/17621]: fix DTV race, assert, and DTV_SURPLUS Static TLS limit
- From: Szabolcs Nagy <nsz at port70 dot net>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Alan Modra <amodra at gmail dot com>, Roland McGrath <roland at hack dot frob dot com>, codonell at redhat dot com, libc-alpha at sourceware dot org
- Date: Thu, 5 Mar 2015 18:25:20 +0100
- Subject: Re: [BZ#17090/17620/17621]: fix DTV race, assert, and DTV_SURPLUS Static TLS limit
- Authentication-results: sourceware.org; auth=none
- References: <orppcjotfm dot fsf at free dot home> <20141120021703 dot 86F032C3B18 at topped-with-meat dot com> <or8uj6qse8 dot fsf at free dot home> <oroas0mzri dot fsf at free dot home> <orlhmgyall dot fsf at free dot home> <orlhlgdb8d dot fsf at livre dot home> <ormw411b25 dot fsf at livre dot home> <20150304050529 dot GD26435 at bubble dot grove dot modra dot org> <20150304110430 dot GE26435 at bubble dot grove dot modra dot org> <orpp8n8izl dot fsf at livre dot home>
* Alexandre Oliva <aoliva@redhat.com> [2015-03-05 14:14:06 -0300]:
> On Mar 4, 2015, Alan Modra <amodra@gmail.com> wrote:
>
> > On Wed, Mar 04, 2015 at 03:35:29PM +1030, Alan Modra wrote:
> >> As does nptl/tst-stack4 on x86_64 if tst-stack4mod.so is built with
> >> -mtls-dialect=gnu2.
>
> > This on top of your patch gets me past the segfault in free().
>
> Thanks. I've put an equivalent fix into my local tree, for an updated
> version of the patch.
>
note that nptl/tst-stack4 may fail on x86_64 without tlsdesc
you just need to amplify the probability a bit:
https://sourceware.org/bugzilla/show_bug.cgi?id=17918