[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: String corruption problem?

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-10 02:01:37 CEST

On Mon, Oct 09, 2000 at 04:40:01PM -0700, Thomas Alan Wood wrote:
> if you are having getting corrupted memory
> try using ElectricFence i have found it very usefull for finding memory
> errors.
> ftp://ftp.perens.com/pub/ElectricFence/ElectricFence-2.1.tar.gz

Actually, I'm rather doubtful that this will work very easily. With the use
of pools, it is rare than free() is ever called. More likely, what happens
is that we see errors within previously allocated sections.

I believe there is a compilation switch in apr_pools.h which can tell the
pool mechanism to always use malloc(). Not sure whether that will help in
using ElectricFence, tho.


Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:10 2006

This is an archived mail posted to the Subversion Dev mailing list.