Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 24722 invoked from network); 7 Aug 2008 23:46:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 23:46:38 -0000 Received: (qmail 42781 invoked by uid 500); 7 Aug 2008 23:46:36 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 42725 invoked by uid 500); 7 Aug 2008 23:46:36 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 42714 invoked by uid 99); 7 Aug 2008 23:46:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 16:46:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bojan@rexursive.com designates 203.171.74.242 as permitted sender) Received: from [203.171.74.242] (HELO beauty.rexursive.com) (203.171.74.242) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 23:45:40 +0000 Received: from [10.1.120.24] (shrek.rexursive.com [10.1.120.24]) by beauty.rexursive.com (Postfix) with ESMTP id 45ED040369 for ; Fri, 8 Aug 2008 09:45:37 +1000 (EST) Subject: Re: svn commit: r678323 - /apr/apr-util/trunk/memcache/apr_memcache.c From: Bojan Smojver To: APR Development List In-Reply-To: <20080807231819.GA4387@suse.de> References: <20080720212913.9822723889F3@eris.apache.org> <1216592684.2754.71.camel@shrek.rexursive.com> <48841FD2.2070708@apache.org> <1216630008.2754.75.camel@shrek.rexursive.com> <20080807231819.GA4387@suse.de> Content-Type: text/plain Date: Fri, 08 Aug 2008 09:45:37 +1000 Message-Id: <1218152737.25598.132.camel@shrek.rexursive.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2008-08-08 at 01:18 +0200, Peter Poeml wrote: > Anyway, there must be something that I overlook, or there may be other > circumstances that influence the behaviour (1.2/1.3 difference in pool > handling??). The patch from trunk fixes the issue for me although I > can't say why. I can only say for sure that I have a large memleak with > the current 1.3.x code. The patch from trunk may work by accident, depending on how apr_reslist_create() was called and the order of pool destruction. However, it may create double free situation in some circumstances (this is what big discussion about pre_cleanups was all about), so it is not safe. -- Bojan