ID:               48374
 User updated by:  z...@php.net
 Reported By:      z...@php.net
 Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Ubuntu Linux
 PHP Version:      5.3CVS-2009-05-24 (CVS)
 New Comment:

Sorry - a bit more information. I only see this with

configure  --enable-sockets.


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

[2009-05-24 15:58:52] z...@php.net

Description:
------------
run-tests.php reports a memory leak on a simple test case

Checked the PHP 5.2 development stream with the same test and get the
expected result(PASS)

Reproduce code:
---------------
export TEST_PHP_EXECUTABLE=/mnt/workspace/PHP/php53/sapi/cli/php
$TEST_PHP_EXECUTABLE /mnt/workspace/PHP/php53/run-tests.php -m hw.phpt

where hw.phpt is :

--TEST--
hw
--FILE--
<?php
  echo "hello world\n";
?>
--EXPECT--
hello world


Expected result:
----------------
PASS

Actual result:
--------------
PHP         : /mnt/workspace/PHP/php53/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 5.3.0RC3-dev
ZEND_VERSION: 2.3.0
PHP_OS      : Linux - Linux zoe-laptop 2.6.27-11-generic #1 SMP Thu Jan
29 19:24:39 UTC 2009 i686
INI actual  : /home/zoe/TESTS/simple
More .INIs  :  
CWD         : /home/zoe/TESTS/simple
Extra dirs  : 
VALGRIND    : valgrind-3.3.1-Debian
=====================================================================
Running selected tests.
LEAK hw [hw.phpt] 
=====================================================================
Number of tests :    1                 1
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests leaked    :    1 (100.0%) (100.0%)
Tests passed    :    0 (  0.0%) (  0.0%)
---------------------------------------------------------------------
Time taken      :    4 seconds
=====================================================================

=====================================================================
LEAKED TEST SUMMARY
---------------------------------------------------------------------
hw [hw.phpt]
=====================================================================


the hw.mem file is here: http://pastebin.ca/1433064


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


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

Reply via email to