Re: [PHP-DEV] PHP 4.0 Bug #2430: memory leaks in zend From: Andi Gutmans (andi <email protected>)
Date: 10/03/99

I've just commited a patch to libzend. Can you please update your CVS tree,
make clean, rebuild PHP 4.0 and see if it fixes any of those leaks. If not,
please post the smallest possible test case which reproduces those leaks.

Thanks,

Andi

At 01:31 PM 10/3/99 +0000, Danny.Heijl <email protected> wrote:
>From: Danny.Heijl <email protected>
>Operating system: Linux RH 6.0
>PHP version: 4.0 Latest CVS (03/10/1999)
>PHP Bug Type: Scripting Engine problem
>Bug description: memory leaks in zend
>
>Just back from a 3 week holiday.
>Checked out and built latest CVS.
>I ported the PHP3 "make test" to my php4 directory, and all tests run fine
>with php4 except one :
>
>classes/class_example.php3t: Classes general test
>
>zend_hash.c(190) : Freeing 0x08230378 (4 bytes), script=./php.in
>Last leak repeated 3 times
>zend_hash.c(180) : Freeing 0x08230318 (45 bytes), script=./php.in
>Last leak repeated 3 times
>zend_hash.c(100) : Freeing 0x08230108 (20 bytes), script=./php.in
>zend_execute.c(1492) : Freeing 0x082300A8 (44 bytes), script=./php.in
>zend_variables.c(142) : Actual location (location was relayed)
>zend_execute.c(1490) : Freeing 0x08230068 (12 bytes), script=./php.in
>
>....passed
>
>This script ran fine 3 weeks ago with the then current CVS .
>
>Also, the Informix driver now dumps core but I see that there have been
>al lot of changes in zend, I will have a look at them first.
>
>Danny.
>---
>
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>