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 20275933D for ; Fri, 10 Feb 2012 18:31:13 +0000 (UTC) Received: (qmail 99208 invoked by uid 500); 10 Feb 2012 18:31:13 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 99076 invoked by uid 500); 10 Feb 2012 18:31:11 -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 99069 invoked by uid 99); 10 Feb 2012 18:31:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 18:31:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of torsten.foertsch@gmx.net designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mailout-de.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Feb 2012 18:31:04 +0000 Received: (qmail invoked by alias); 10 Feb 2012 18:30:44 -0000 Received: from p4FD6E102.dip.t-dialin.net (EHLO opi.home) [79.214.225.2] by mail.gmx.net (mp033) with SMTP; 10 Feb 2012 19:30:44 +0100 X-Authenticated: #1700068 X-Provags-ID: V01U2FsdGVkX1/8PoxqQ1383pWS8av74DdBpFG+g0G80MD1mkQfs1 cBcQVEz+dDi4Ox From: Torsten =?ISO-8859-1?Q?F=F6rtsch?= To: dev@perl.apache.org Cc: Fred Moyer , Steve Hay Subject: Re: [RELEASE CANDIDATE]: mod_perl-2.0.6 RC1 Date: Fri, 10 Feb 2012 19:30:42 +0100 Message-ID: <9496324.XXJrp84IX2@opi.home> User-Agent: KMail/4.7.2 (Linux/3.1.9-1.4-vanilla; KDE/4.7.2; x86_64; ; ) In-Reply-To: <4835408.ofL0EQSRla@opi.home> References: <5131378.OE8j7cmkIZ@opi.home> <4835408.ofL0EQSRla@opi.home> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org 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 ou= t > (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 wi= th > 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 wro= ng=20 context is a result of using the wrong interpreter pool in the director= y=20 merge. I think it is a bug if at that point aTHX differs from PERL_GET_CONTEXT= . So, I=20 added the following macros to the threading branch. #ifdef MP_DEBUG # define MP_ASSERT(exp) ap_assert(exp) #else # define MP_ASSERT(exp) ((void)0) #endif #ifdef USE_ITHREADS # define MP_ASSERT_CONTEXT(perl) MP_ASSERT((perl) =3D=3D PERL_GET_CONT= EXT) #else # define MP_ASSERT_CONTEXT(perl) ((void)0) #endif The latter macro is then used in modperl_module_config_obj_cleanup() to= check=20 the context: static apr_status_t modperl_module_config_obj_cleanup(void *data) { config_obj_cleanup_t *cleanup =3D (config_obj_cleanup_t *)data; dTHXa(cleanup->perl); MP_ASSERT_CONTEXT(aTHX); modperl_svptr_table_delete(aTHX_ cleanup->table, cleanup->ptr); MP_TRACE_c(MP_FUNC, "deleting ptr 0x%lx from table 0x%lx", (unsigned long)cleanup->ptr, (unsigned long)cleanup->table); return APR_SUCCESS; } Meanwhile, I have reverted change 1145161 in trunk. Fred, could you please roll another rc? Torsten F=F6rtsch --=20 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