Return-Path: X-Original-To: apmail-perl-dev-archive@www.apache.org Delivered-To: apmail-perl-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A05C9658 for ; Fri, 10 Feb 2012 18:37:24 +0000 (UTC) Received: (qmail 8686 invoked by uid 500); 10 Feb 2012 18:37:23 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 8645 invoked by uid 500); 10 Feb 2012 18:37:23 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 8638 invoked by uid 99); 10 Feb 2012 18:37:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 18:37:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.177] (HELO mail-tul01m020-f177.google.com) (209.85.214.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 18:37:18 +0000 Received: by obcuz6 with SMTP id uz6so5884001obc.22 for ; Fri, 10 Feb 2012 10:36:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.89.137 with SMTP id bo9mr13526210igb.7.1328899017190; Fri, 10 Feb 2012 10:36:57 -0800 (PST) Received: by 10.231.19.3 with HTTP; Fri, 10 Feb 2012 10:36:57 -0800 (PST) In-Reply-To: <9496324.XXJrp84IX2@opi.home> References: <5131378.OE8j7cmkIZ@opi.home> <4835408.ofL0EQSRla@opi.home> <9496324.XXJrp84IX2@opi.home> Date: Fri, 10 Feb 2012 10:36:57 -0800 Message-ID: Subject: Re: [RELEASE CANDIDATE]: mod_perl-2.0.6 RC1 From: Fred Moyer To: =?ISO-8859-1?Q?Torsten_F=F6rtsch?= Cc: dev@perl.apache.org, Steve Hay Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkarQcMDu/fkLixwbZPbgT2Sn52O/sX6yQbRIZ55FZW0daXLyAHMdKg732njMrcCQipFtcK > Meanwhile, I have reverted change 1145161 in trunk.>> Fred, could you ple= ase roll another rc? I didn't see the commit message, but verified 'svn update' resulted in a ch= ange. Should we add a Changes entry for this? I'll roll another rc tonight or tomorrow. Thanks for the work on this guys. 2012/2/10 Torsten F=F6rtsch : > On Tuesday, 07 February 2012 18:01:50 Torsten F=F6rtsch wrote: >> What to do now? I'd suggest to revert change 1145161 and get 2.0.6 out >> (perhaps with Steve's latest patch). Steve, do you use perl 5.14? If >> yes, can you try if you see the "panic: free from wrong pool" also with >> 5.12? > On Wednesday, 08 February 2012 09:33:52 Steve Hay wrote: >> I think my patch is good, but clearly isn't the whole story. > > By now I think Steve's patch should not be necessary. I believe the wrong > context is a result of using the wrong interpreter pool in the directory > merge. > > I think it is a bug if at that point aTHX differs from PERL_GET_CONTEXT. = So, I > added the following macros to the threading branch. > > #ifdef MP_DEBUG > # =A0define MP_ASSERT(exp) ap_assert(exp) > #else > # =A0define MP_ASSERT(exp) ((void)0) > #endif > > #ifdef USE_ITHREADS > # =A0define MP_ASSERT_CONTEXT(perl) MP_ASSERT((perl) =3D=3D PERL_GET_CONT= EXT) > #else > # =A0define MP_ASSERT_CONTEXT(perl) ((void)0) > #endif > > The latter macro is then used in modperl_module_config_obj_cleanup() to c= heck > the context: > > static apr_status_t modperl_module_config_obj_cleanup(void *data) > { > =A0 =A0config_obj_cleanup_t *cleanup =3D > =A0 =A0 =A0 =A0(config_obj_cleanup_t *)data; > =A0 =A0dTHXa(cleanup->perl); > > =A0 =A0MP_ASSERT_CONTEXT(aTHX); > > =A0 =A0modperl_svptr_table_delete(aTHX_ cleanup->table, cleanup->ptr); > > =A0 =A0MP_TRACE_c(MP_FUNC, "deleting ptr 0x%lx from table 0x%lx", > =A0 =A0 =A0 =A0 =A0 =A0 =A0 (unsigned long)cleanup->ptr, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 (unsigned long)cleanup->table); > > =A0 =A0return APR_SUCCESS; > } > > Meanwhile, I have reverted change 1145161 in trunk. > > Fred, could you please roll another rc? > > Torsten F=F6rtsch > > -- > Need professional modperl support? Hire me! (http://foertsch.name) > > Like fantasy? http://kabatinte.net > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org