ID:               38469
 Updated by:       [EMAIL PROTECTED]
 Reported By:      judas dot iscariote at gmail dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Scripting Engine problem
 Operating System: linux 64 bit
 PHP Version:      5.2.0RC1
-Assigned To:      
+Assigned To:      dmitry


Previous Comments:
------------------------------------------------------------------------

[2006-08-16 05:27:56] judas dot iscariote at gmail dot com

Description:
------------
Hi: the json extension test suite fails, because PHP leaks memory in

ext/json/tests/003.php
ext/json/tests/005.php

ps: ext/pdo/tests/bug_38394.phpt also fails.



Reproduce code:
---------------
tests json 003 and 005.

Expected result:
----------------
no memory leaks

Actual result:
--------------
013+ /local/local/bodegon/php-debug/Zend/zend_execute.c(838) :  Freeing
0x2B57DCDB9C18 (24 bytes), script=/local/local/bo   
degon/php-debug/ext/json/tests/005.php^M
147 014+ [Wed Aug 16 01:23:03 2006]  Script: 
'/local/local/bodegon/php-debug/ext/json/tests/005.php'^M
148 015+ /local/local/bodegon/php-debug/Zend/zend_vm_execute.h(18188) :
 Freeing 0x2B57DCDBB168 (72 bytes), script=/local/loc
    al/bodegon/php-debug/ext/json/tests/005.php^M
149 016+ /local/local/bodegon/php-debug/Zend/zend_API.c(819) : Actual
location (location was relayed)^M                      150 017+ Last
leak repeated 1 time^M
151 018+ [Wed Aug 16 01:23:03 2006]  Script: 
'/local/local/bodegon/php-debug/ext/json/tests/005.php'^M
152 019+ /local/local/bodegon/php-debug/Zend/zend_execute.c(1079) : 
Freeing 0x2B57DCDBB318 (71 bytes), script=/local/local/b
    odegon/php-debug/ext/json/tests/005.php^M
153 020+ /local/local/bodegon/php-debug/Zend/zend_hash.c(383) : Actual
location (location was relayed)^M                     154 021+ ===
Total 4 memory leaks detected ===


------------------------------------------------------------------------


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

Reply via email to