Re: PHP 4.0 Bug #4580: Apache dies with PHP as DSO
| From: | Sascha Schumann | Date: | Thu, 25 May 2000 15:44:23 +0000 |
| Subject: | Re: PHP 4.0 Bug #4580: Apache dies with PHP as DSO | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19431@lists.php.net to get a copy of this message | ||
> >
> > [Tue May 23 23:46:31 2000] [notice] Apache/1.3.12 (Unix) PHP/4.0.0 configured -- resuming
> > normal operations
> > zend_hash.c(185) : Freeing 0x08206D0C (20 bytes), script=/home/webserver/webdata/test.php
> > Last leak repeated 1 time
> > session.c(1240) : Freeing 0x08208B8C (10 bytes),
> > script=/home/webserver/webdata/test.php
> > session.c(1250) : Freeing 0x081ED4AC (8 bytes), script=/home/webserver/webdata/test.php
> > session.c(1239) : Freeing 0x081ECA2C (5 bytes), script=/home/webserver/webdata/test.php
> > session.c(1248) : Freeing 0x0820495C (2 bytes), script=/home/webserver/webdata/test.php
> > session.c(1241) : Freeing 0x0820465C (1 bytes), script=/home/webserver/webdata/test.php
> > session.c(1245) : Freeing 0x0820462C (1 bytes), script=/home/webserver/webdata/test.php
> > session.c(1249) : Freeing 0x082045FC (1 bytes), script=/home/webserver/webdata/test.php
> > zend_hash.c(185) : Freeing 0x08206D0C (20 bytes), script=/home/webserver/webdata
> >
> > ...
> > ...
> > this messages fill up to 60MB (!!!) in ca. 2 minutes...
> >
> > BTW: test.php is <? phpinfo(); ?>.......
>
> i've seen the same problem - this "leak" only happens when
> calling phpinfo() -
And only with the Apache SAPI. There were no relevant changes to session.c
during the last weeks, but I remember Shane hacking on the Apache
SAPI. Perhaps some change(s) there cause the problems. I'll have time to
look into this in a few hours.
- Sascha