httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: cvs commit: httpd-2.0/server listen.c
Date Wed, 20 Mar 2002 11:08:31 GMT
> From: trawick@rdu88-250-166.nc.rr.com
> [mailto:trawick@rdu88-250-166.nc.rr.com]On Behalf Of Jeff Trawick
> Sent: 20 March 2002 11:48

> wrowe@apache.org writes:
> 
> > wrowe       02/03/19 23:03:07
> > 
> >   Modified:    server   listen.c
> >   Log:
> >     Here's the patch that really sucks.  old_listeners points to an array
> >     of apr_socket objects already destroyed by their cleanups, and in any
> >     case they now live in invalid memory.  Extend their lifetimes.
> >   
> >     This implies that the process pool grows on every restart for no good
> >     reason.  One possible solution is to let the old pconf survive until
> >     the new pconf is alive.  Another is to create the listeners in a subpool
> >     of process->pool, destroyed after the old_listeners are closed.
> >   
> >     Either which way, a better solution exists, but this closes the immediate
> >     bug.  [How haven't we been segfaulting in unix on restarts before this
> >     patch, gurus?]
> 
> good question...  even more interesting (to me) is the question "how
> haven't we been segfaulting in unix on restarts even when we build with
> electric fence and pool debug, time after time after time" :)
> 
> maybe somebody can make us both happy with the answer

Maybe the memory wasn't being accessed on unix??

Sander 'with a puzzled look on his face'


Mime
View raw message