perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@ectoplasm.org>
Subject Re: MP_PERL_FREE_THREAD_KEY_WORKAROUND
Date Mon, 17 Jan 2005 06:05:17 GMT
Eric Cholet wrote:

> Le 16 janv. 05, à 11:58, Gisle Aas a écrit :
>
>> Stas,
>>
>> Could you apply this addition to the  
>> MP_PERL_FREE_THREAD_KEY_WORKAROUND?
>> This will avoid that the perl_fini patch now in ActivePerl blows up
>> because we end up with calling FREE_THREAD_KEY twice.
>>
>> --Gisle
>>
>> diff -ru  
>> modperl-2.0_20050116053812/src/modules/perl/modperl_perl_includes.h  
>> modperl-2.0-hack/src/modules/perl/modperl_perl_includes.h
>> ---  
>> modperl-2.0_20050116053812/src/modules/perl/modperl_perl_includes.h     
>> 2005-01-13 06:46:07.000000000 +0100
>> +++  modperl-2.0-hack/src/modules/perl/modperl_perl_includes.h    
>> 2005-01-16  11:51:09.986693975 +0100
>> @@ -146,6 +146,7 @@
>>  #define MP_PERL_FREE_THREAD_KEY_WORKAROUND      \
>>      if (PL_curinterp) {                         \
>>          FREE_THREAD_KEY;                        \
>> +        PL_curinterp = NULL;                    \
>>      }
>>  #else
>>  #define MP_PERL_FREE_THREAD_KEY_WORKAROUND
>
> also fixes darwin w/ threaded Perl + worker

Same here for me, that patches makes the segfault I reported dissapear on my
darwin box.

Patch is in r125401.
 
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5


Mime
View raw message