PHP 4.0 Bug #7199 Updated: Memmory leak when calling x-httpd-php-source

From: Date: Sat, 14 Oct 2000 02:20:43 +0000
Subject: PHP 4.0 Bug #7199 Updated: Memmory leak when calling x-httpd-php-source
Groups: php.dev 
Request: Send a blank email to php-dev+get-34975@lists.php.net to get a copy of this message
ID: 7199 User Update by: jason@inetgurus.net Status: Open Bug Type: Apache related Description: Memmory leak when calling x-httpd-php-source bug still exists in latest cvs Previous Comments: --------------------------------------------------------------------------- [2000-10-13 20:53:29] andi@php.net Can you please try the latest CVS. A memory leak was fixed. --------------------------------------------------------------------------- [2000-10-13 20:41:17] jason@inetgurus.net I am currently debugging php trying to find the leak. So far it appears that the memmory segment is allocated by the function open_file_for_scanning, and that it is never cleared. I will post more as I find more. -Jason --------------------------------------------------------------------------- [2000-10-13 17:28:02] jason@inetgurus.net Verified bug on php 4.0.3/Apache 1.3.12/Redhat Linux 6.2 Intel/DSO, with the exception of memmory growing in 4K increments.(Arch difference from sparc) --------------------------------------------------------------------------- [2000-10-13 16:58:24] jason@inetgurus.net There is a memmory leak somewhere when requesting a phps file. Apache in single process mode (httpd -X) will grow exactly 16K each time. I have tested the highlight_file functions and they appear to be fine. This leads me to believe that the leak is apache specific. I have been tracing through trying to find the cause and so far have had no luck Jason --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7199

« previous php.dev (#34975) next »