Memory leaks in CGI (latest CVS)
| From: | Joey Smith | Date: | Tue, 14 Aug 2001 06:33:37 +0000 |
| Subject: | Memory leaks in CGI (latest CVS) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63127@lists.php.net to get a copy of this message | ||
When you call the CGI against a script that does not exist, it seems to
bail out too soon, or something, becuase an awful lot of stuff never
gets cleaned up...
I snipped the references to script=<non-existant script>...
mbstring.c(457) : Freeing 0x086D0E24 (20 bytes),
zend_hash.c(176) : Freeing 0x086D35A4 (32 bytes),
Last leak repeated 10 times
php_sybase_ct.c(347) : Freeing 0x086D0DE4 (8 bytes),
zend_hash.c(260) : Freeing 0x086D34A4 (44 bytes),
Last leak repeated 117 times
main.c(1157) : Freeing 0x086D33A4 (44 bytes),
zend_API.c(561) : Actual location (location was relayed)
main.c(1156) : Freeing 0x086D0DA4 (12 bytes),
main.c(1139) : Freeing 0x086D1D24 (44 bytes),
zend_API.c(561) : Actual location (location was relayed)
main.c(1138) : Freeing 0x086D0D64 (12 bytes),
main.c(1227) : Freeing 0x086D0D24 (12 bytes),
zend_hash.c(404) : Freeing 0x086D1AA4 (35 bytes),
main.c(1209) : Freeing 0x086D1A24 (29 bytes),
main.c(1206) : Freeing 0x086D0CE4 (12 bytes),
main.c(1194) : Freeing 0x086D1924 (44 bytes),
zend_API.c(561) : Actual location (location was relayed)
main.c(1193) : Freeing 0x086D0CA4 (12 bytes),
php_variables.c(170) : Freeing 0x086D0C64 (12 bytes),
Last leak repeated 66 times
zend_hash.c(438) : Freeing 0x086CBC24 (256 bytes),
Last leak repeated 1 time
string.c(2415) : Freeing 0x086D0BE4 (11 bytes),
Last leak repeated 66 times
main.c(1020) : Freeing 0x086CF124 (44 bytes),
zend_API.c(561) : Actual location (location was relayed)
main.c(1019) : Freeing 0x086CAEA4 (12 bytes),
php_variables.c(230) : Freeing 0x086CF0A4 (44 bytes),
zend_API.c(561) : Actual location (location was relayed)
Last leak repeated 1 time
php_variables.c(229) : Freeing 0x086CAE64 (12 bytes),
Last leak repeated 1 time
main.c(1117) : Freeing 0x086C8824 (44 bytes),
zend_API.c(561) : Actual location (location was relayed)
main.c(1116) : Freeing 0x086CA064 (12 bytes),
SAPI.c(392) : Freeing 0x086C87A4 (28 bytes),
zend_ptr_stack.c(29) : Freeing 0x086CB424 (256 bytes),
Last leak repeated 2 times
zend_stack.c(27) : Freeing 0x083CFC24 (256 bytes),
Last leak repeated 6 times
zend_llist.c(36) : Freeing 0x0839F024 (23 bytes),
Configure line:
./configure \
--with-sybase-ct=/usr/local/sybase \
--enable-dmalloc \
--enable-dbase \
--enable-bcmath \
--enable-calendar \
--with-db3=/usr/local/BerkeleyDB.3.0 \
--enable-ftp \
--with-imap=/usr \
--with-mhash \
--with-mysql \
--with-pdflib \
--enable-shmop \
--with-mm \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-inline-optimization \
--enable-debug \
--with-zlib-dir=/usr \
--with-zlib \
--enable-ctype \
--with-pgsql \
--with-readline \
--enable-xslt --with-xslt-sablot \
--with-mm \
--enable-shmop \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--enable-inline-optimization \
--with-dom \
--with-mod_charset \
--with-openssl=/usr/local/openssl \
--disable-short-tags \
--with-bz2 \
--enable-exif \
--with-ldap \
--enable-mailparse \
--enable-yp