#36205 [Opn-Fbk]: Memory leaks with 5.1.2

2006-02-02 Thread tony2001
 ID:   36205
 Updated by:   [EMAIL PROTECTED]
 Reported By:  alain dot russell at blackpepper dot co dot nz
-Status:   Open
+Status:   Feedback
 Bug Type: Unknown/Other Function
 Operating System: Mac OSX Server
 PHP Version:  5.1.2
 New Comment:

No, the files listed do not help to track it down.
You can try to compile PHP with --disable-zend-memory-manager and see
if valgrind can add some more info, but I suspect that there are no
valgrind for your platform.
Try to reproduce it on an Intel-based server and see if you can get
more info with valgrind. 
But still a short reproduce code would be even more appreciated. 


Previous Comments:


[2006-02-02 11:04:29] alain dot russell at blackpepper dot co dot nz

Ok .. I've spent a couple of hours summarising the page to 
see if I can supply code for you here and havent had much 
luck.

Any idea what I should be looking for in the code ?
Do the files listed help track down what I should be looking 
for ?

/php-5.1.2/ext/standard/string.c(3006)
/php-5.1.2/Zend/zend_alloc.c(237)
/php-5.1.2/main/php_variables.c(186)

Thanks
Alain



[2006-01-30 11:30:39] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ?php and ends with ?,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.



[2006-01-30 11:23:51] alain dot russell at blackpepper dot co dot nz

Description:

Since upgrading to 5.1.2 I am seeing a lot of memory leak 
errors.

Reproduce code:
---
n/a ?

Expected result:

No memory leak warnings.

Actual result:
--
Example errors as follows:
[Mon Jan 30 22:22:16 2006]  Script:  '/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) :  
Freeing 0x005F6548 (16 bytes), script=/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php
Last leak repeated 2 times
[Mon Jan 30 22:22:16 2006]  Script:  '/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) :  
Freeing 0x005B1E28 (5 bytes), script=/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php
/Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : 
Actual location (location was relayed)
Last leak repeated 2 times
=== Total 6 memory leaks detected ===
[Mon Jan 30 22:43:49 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) :  
Freeing 0x005D5448 (9 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
/Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : 
Actual location (location was relayed)
[Mon Jan 30 22:43:49 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) :  
Freeing 0x005F4798 (16 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
=== Total 2 memory leaks detected ===
[Mon Jan 30 22:44:07 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) :  
Freeing 0x005B1E28 (9 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
/Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : 
Actual location (location was relayed)
[Mon Jan 30 22:44:07 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) :  
Freeing 0x005EED98 (16 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
=== Total 2 memory leaks detected ===





-- 
Edit this bug report at http://bugs.php.net/?id=36205edit=1


#36205 [Opn-Fbk]: Memory leaks with 5.1.2

2006-01-30 Thread derick
 ID:   36205
 Updated by:   [EMAIL PROTECTED]
 Reported By:  alain dot russell at blackpepper dot co dot nz
-Status:   Open
+Status:   Feedback
 Bug Type: Unknown/Other Function
 Operating System: Mac OSX Server
 PHP Version:  5.1.2
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ?php and ends with ?,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.


Previous Comments:


[2006-01-30 11:23:51] alain dot russell at blackpepper dot co dot nz

Description:

Since upgrading to 5.1.2 I am seeing a lot of memory leak 
errors.

Reproduce code:
---
n/a ?

Expected result:

No memory leak warnings.

Actual result:
--
Example errors as follows:
[Mon Jan 30 22:22:16 2006]  Script:  '/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) :  
Freeing 0x005F6548 (16 bytes), script=/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php
Last leak repeated 2 times
[Mon Jan 30 22:22:16 2006]  Script:  '/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) :  
Freeing 0x005B1E28 (5 bytes), script=/Library/WebServer/
Documents/cohesion/itcintl.co.nz/index.php
/Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : 
Actual location (location was relayed)
Last leak repeated 2 times
=== Total 6 memory leaks detected ===
[Mon Jan 30 22:43:49 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) :  
Freeing 0x005D5448 (9 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
/Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : 
Actual location (location was relayed)
[Mon Jan 30 22:43:49 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) :  
Freeing 0x005F4798 (16 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
=== Total 2 memory leaks detected ===
[Mon Jan 30 22:44:07 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/ext/standard/string.c(3006) :  
Freeing 0x005B1E28 (9 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
/Users/admin/Desktop/php-5.1.2/Zend/zend_alloc.c(237) : 
Actual location (location was relayed)
[Mon Jan 30 22:44:07 2006]  Script:  '/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php'
/Users/admin/Desktop/php-5.1.2/main/php_variables.c(186) :  
Freeing 0x005EED98 (16 bytes), script=/Library/WebServer/
Documents/blackpepper/sportzone.co.nz/index.php
=== Total 2 memory leaks detected ===





-- 
Edit this bug report at http://bugs.php.net/?id=36205edit=1