This is the simple test script: <?php while (1) { echo "1"; sleep (1); } ?>
Steps to reproduce: 1) Start Apache 2) Access the script and let it run for some seconds 3) Stop the request. 4) Shutdown Apache Maybe these leaks are intentional but thinking that there are so many leaks makes me think there really is some bug somewhere? :) Some of these (bcmath ones) seem to be caused by that fact that RSHUTDOWN is not run at all when you happen to press 'Stop' in your browser. (There's some bug report about this, iirc :) --Jani
/src/php4/Zend/zend_execute.c(1611) : Freeing 0x08260924 (12 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_execute.c(1758) : Freeing 0x082608E4 (12 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_opcode.c(295) : Freeing 0x0826074C (360 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_language_scanner.l(1331) : Freeing 0x0826171C (6 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_language_scanner.l(1436) : Freeing 0x082616E4 (2 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_opcode.c(65) : Freeing 0x08260714 (4 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_hash.c(272) : Freeing 0x082606AC (53 bytes), script=/www/htdocs/t.php Last leak repeated 76 times /src/php4/Zend/zend_compile.c(137) : Freeing 0x0825C65C (18 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_opcode.c(230) : Freeing 0x0825C61C (12 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_language_scanner.l(352) : Freeing 0x0825C40C (84 bytes), script=/www/htdocs/t.php /src/php4/ext/bcmath/libbcmath/src/init.c(69) : Freeing 0x0825C36C (1 bytes), script=/www/htdocs/t.php Last leak repeated 2 times /src/php4/ext/bcmath/libbcmath/src/init.c(54) : Freeing 0x0825C31C (29 bytes), script=/www/htdocs/t.php Last leak repeated 2 times /src/php4/ext/interbase/interbase.c(588) : Freeing 0x0825C1CC (9 bytes), script=/www/htdocs/t.php /src/php4/ext/interbase/interbase.c(583) : Freeing 0x0825C18C (9 bytes), script=/www/htdocs/t.php /src/php4/ext/interbase/interbase.c(578) : Freeing 0x0825C144 (18 bytes), script=/www/htdocs/t.php /src/php4/ext/mbstring/mbstring.c(999) : Freeing 0x0825C10C (8 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_alloc.c(218) : Actual location (location was relayed) /src/php4/Zend/zend_ini.c(203) : Freeing 0x0825C0CC (11 bytes), script=/www/htdocs/t.php Last leak repeated 2 times /src/php4/ext/sockets/sockets.c(485) : Freeing 0x0825809C (16384 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_hash.c(188) : Freeing 0x0825804C (32 bytes), script=/www/htdocs/t.php Last leak repeated 9 times /src/php4/main/main.c(1507) : Freeing 0x08257F3C (44 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_API.c(562) : Actual location (location was relayed) /src/php4/main/main.c(1506) : Freeing 0x08257EFC (12 bytes), script=/www/htdocs/t.php /src/php4/main/main.c(1489) : Freeing 0x082579AC (44 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_API.c(562) : Actual location (location was relayed) /src/php4/main/main.c(1488) : Freeing 0x0825796C (12 bytes), script=/www/htdocs/t.php /src/php4/main/main.c(1607) : Freeing 0x0825787C (12 bytes), script=/www/htdocs/t.php /src/php4/main/main.c(1559) : Freeing 0x082577CC (44 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_API.c(562) : Actual location (location was relayed) /src/php4/main/main.c(1558) : Freeing 0x0825778C (12 bytes), script=/www/htdocs/t.php /src/php4/main/php_variables.c(175) : Freeing 0x082576EC (12 bytes), script=/www/htdocs/t.php Last leak repeated 59 times /src/php4/main/php_variables.c(52) : Freeing 0x082576B4 (7 bytes), script=/www/htdocs/t.php Last leak repeated 59 times /src/php4/Zend/zend_hash.c(450) : Freeing 0x08256DDC (128 bytes), script=/www/htdocs/t.php Last leak repeated 1 time /src/php4/main/main.c(1310) : Freeing 0x08255CE4 (44 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_API.c(562) : Actual location (location was relayed) /src/php4/main/main.c(1309) : Freeing 0x08255CA4 (12 bytes), script=/www/htdocs/t.php /src/php4/main/php_variables.c(234) : Freeing 0x08255BF4 (44 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_API.c(562) : Actual location (location was relayed) Last leak repeated 1 time /src/php4/main/php_variables.c(233) : Freeing 0x08255BB4 (12 bytes), script=/www/htdocs/t.php Last leak repeated 1 time /src/php4/main/main.c(1448) : Freeing 0x08253884 (44 bytes), script=/www/htdocs/t.php /src/php4/Zend/zend_API.c(562) : Actual location (location was relayed) /src/php4/Zend/zend_ptr_stack.c(29) : Freeing 0x08253704 (256 bytes), script=/www/htdocs/t.php Last leak repeated 2 times /src/php4/Zend/zend_stack.c(27) : Freeing 0x08253244 (256 bytes), script=/www/htdocs/t.php Last leak repeated 6 times /src/php4/main/main.c(1447) : Freeing 0x081A7294 (12 bytes), script=/www/htdocs/t.php [Tue Dec 2 10:33:42 2003] [notice] caught SIGTERM, shutting down
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php