Memory leaks : how should we report them ?

From: Date: Tue, 28 Dec 1999 21:45:20 +0000
Subject: Memory leaks : how should we report them ?
Groups: php.version4 
Request: Send a blank email to php-version4+get-8622@lists.php.net to get a copy of this message
Hi, I have upgraded a test system from php3.0.11 to php4 beta 3 and get many memory leaks in the error log (see below). The test system I have upgraded has several hundreds of php lines built on top of phplib... Should I really worry about these leaks since they are detected and do you have any hints and tips on how to analyze, isolate and report such errors ? Thanks Eric --------------------- ./zend-scanner.l(1090) : Freeing 0x082124D8 (5 bytes), script=/home/apache/html/sites/ducotede/dupleix/allier-voyages/index.php3 Last leak repeated 4 times ./zend-scanner.l(1082) : Freeing 0x08212498 (9 bytes), script=/home/apache/html/sites/ducotede/dupleix/allier-voyages/index.php3 Last leak repeated 32 times ./zend-scanner.l(726) : Freeing 0x082125D8 (10 bytes), script=/home/apache/html/sites/ducotede/dupleix/allier-voyages/index.php3 Last leak repeated 3 times zend_compile.c(1788) : Freeing 0x082123E0 (9 bytes), script=/home/apache/html/sites/ducotede/dupleix/allier-voyages/index.php3 zend_variables.c(128) : Actual location (location was relayed) Last leak repeated 3 times zend_opcode.c(58) : Freeing 0x0836F240 (4096 bytes), script=/home/apache/html/sites/ducotede/dupleix/allier-voyages/index.php3 Last leak repeated 3 times zend_opcode.c(81) : Freeing 0x0828D370 (4 bytes), script=/home/apache/html/sites/ducotede/dupleix/allier-voyages/index.php3 Last leak repeated 3 times ./zend-scanner.l(1167) : Freeing 0x0828D2C0 (6 bytes), script=/home/apache/html/sites/ducotede/dupleix/allier-voyages/index.php3 Last leak repeated 1 time zend_execute_API.c(474) : Freeing 0x081FBCB8 (12 bytes), script=/home/apache/html/sites/ducotede/dupleix/cartes/cartes.php3 Last leak repeated 2 times zend_hash.c(99) : Freeing 0x0827CC40 (20 bytes), script=/home/apache/html/sites/ducotede/dupleix/cartes/cartes.php3 zend_execute.c(460) : Freeing 0x0827CBE0 (44 bytes), script=/home/apache/html/sites/ducotede/dupleix/cartes/cartes.php3 basic_functions.c(664) : Freeing 0x08250740 (7 bytes), script=/home/apache/html/sites/ducotede/dupleix/cartes/cartes.php3 zend_hash.c(179) : Freeing 0x083243A0 (37 bytes), script=/home/apache/html/sites/ducotede/dupleix/cartes/cartes.php3 Last leak repeated 2 times -- ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://www.dyomedea.com http://www.ducotede.com ------------------------------------------------------------------------

« previous php.version4 (#8622) next »