From dev-return-1021-daniel=haxx.se@subversion.apache.org Fri Jan 8 03:44:44 2010 Return-Path: Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by giant.haxx.se (8.14.3/8.14.3/Debian-9) with SMTP id o082ih1i023847 for ; Fri, 8 Jan 2010 03:44:43 +0100 Received: (qmail 64232 invoked by uid 500); 8 Jan 2010 02:44:39 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Delivered-To: moderator for dev@subversion.apache.org Received: (qmail 30351 invoked by uid 99); 8 Jan 2010 02:10:56 -0000 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 (nike.apache.org: domain of bojan@rexursive.com designates 150.101.121.179 as permitted sender) Subject: Re: Hashtable data freed before pool cleanup From: Bojan Smojver To: Neil Conway Cc: Ruediger Pluem , APR Developer List , dev@subversion.apache.org In-Reply-To: <1262911177.1880.16.camel@shrek.rexursive.com> References: <004001ca8fab$c7089b10$5519d130$@qqmail.nl> <4B45FD1C.3070907@apache.org> <1262909758.1880.13.camel@shrek.rexursive.com> <1262910941.1880.14.camel@shrek.rexursive.com> <1262911177.1880.16.camel@shrek.rexursive.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 08 Jan 2010 13:10:26 +1100 Message-ID: <1262916626.1880.19.camel@shrek.rexursive.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 (2.28.2-1.fc12) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2010-01-08 at 11:39 +1100, Bojan Smojver wrote: > No, I don't think that's going to work. Again, memory may vanish > before another cleanup runs. Essentially, this reduces is to the problem of a sibling pool, for which the cleanup is hanging off the pool, but with lower memory use. Still no good. If we had post_cleanups, then this kind of stuff may work, as we could hang the cleanup of the malloc()-ed array to the post_cleanup phase, when all regular cleanups have already finished. Not sure it's worth the trouble though. -- Bojan