This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Polished patch (crash after pthread_exit)
- From: Vladimir Nikulichev <v dot nikulichev at gmail dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 25 Jun 2013 00:30:58 +0400
- Subject: Re: [PATCH] Polished patch (crash after pthread_exit)
- References: <CAKt5dD1-XUyCSdhys+J5NJbCYQTMunwpcmECvRm1F0VSR4Jh+w at mail dot gmail dot com> <51C89D76 dot 9020002 at redhat dot com>
> Any testsuite regressions? What target did you test?
> I assume this fixes your problem, can you confirm that?
The problem is fixed, no regressions. Tested on Linux amd64
All the best,
Vladimir Nikulichev
On 24 June 2013 23:26, Carlos O'Donell <carlos@redhat.com> wrote:
> On 06/24/2013 03:01 PM, Vladimir Nikulichev wrote:
>> http://sourceware.org/bugzilla/show_bug.cgi?id=12310
>
> Any testsuite regressions? What target did you test?
>
> I assume this fixes your problem, can you confirm that?
>
>> diff --git nptl/pthread_exit.c nptl/pthread_exit.c
>> index 3718081..33ba767 100644
>> --- nptl/pthread_exit.c
>> +++ nptl/pthread_exit.c
>> @@ -29,3 +29,7 @@ __pthread_exit (value)
>> __do_cancel ();
>> }
>> strong_alias (__pthread_exit, pthread_exit)
>> +
>> +/* After a thread terminates, __libc_start_main() decrements
>> + __nptl_nthreads defined in pthread_create.c */
>> +PTHREAD_STATIC_FN_REQUIRE (pthread_create)
>>
>
> Cheers,
> Carlos.