httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: debugging heap corruption on FreeBSD
Date Thu, 01 Feb 2001 21:57:17 GMT

> I'm looking into a potential problem (which may well be related) in the file buckets.

> For some strange reason, the file destruction method is just defined as free(), when
it
> ought to go through and call apr_bucket_destroy_shared to decrement the reference count
> and so on.  There may be other things in there as well... I'm going through and
> whiteboarding the file bucket type just to make sure I catch all the details.  Update
in
> 15-30 minutes.

You are correct, it should call destroy_shared.  This was broken when I
added native copy and split to files, and I didn't think of the free
function.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message