On Wed, 10 Apr 2002, Greg Ames wrote:

> We have another similar looking dump, with this patch on.  It's
> /usr/local/apache2.0.35c/corefiles/httpd.core.2
>
> #0  mmap_cleanup (themmap=0x8153ac0) at mmap.c:98
> #1  0x280cc8f0 in apr_mmap_delete (mm=0x8153ac0) at mmap.c:202

Ahh, this is different.

> Didn't I see a refcount inside the object that's being deleted?  If so,
> how can we trust it after the thing is deleted?

Nope, no refcount.  The bucket is refcounted, but not the mmap.  And the
is_owner should guarantee us that only _one_ bucket will ever try to
delete the thing and succeed.  The check for -1 should be saving us the
rest of the time... don't know what's going on.  Will investigate.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to