From:             tbp at poly dot polytechnique dot fr
Operating system: Compaq Tru64 UNIX v5.1
PHP version:      4CVS-2004-06-01 (stable)
PHP Bug Type:     Strings related
Bug description:  bug21523.phpt test never end

Description:
------------
I was upgrading my apache/mod-ssl/php to latest version and I have now
trouble to do �make test�:
I expect �make test� to give me some results in minute or some, but it
continue running for hours.
But I could stop it with CTRL-C

Same results for php 4.3.6/4.3.7RC1/php4-STABLE-200406011430
php 4.3.4 works fine.

My tests shows that php go in to some kind of loop while it try to execute
number_format(-2000, 2768):
[EMAIL PROTECTED]:/Admin/SRC/Apache/php-4.3.4]# ps auxwwa | grep php
root     468861 97.9  0.0 6.38M 1.1M pts/5    R  + 22:04:31     0:08.71
sapi/cli/php bug21523.phpt


Configure:
./configure --with-apache=../apache_1.3.31 --with-ssl=/Local/ssl
--prefix=/Local/php --enable-memory-limit --with-zlib=/Local
--with-zlib-dir=/Local --with-mysql=/Local/mysql --with-pgsql=/Local/pgsql
--enable-ftp

Problem is irrelevant to php.ini (I have also done all tests without any
php.ini)




Reproduce code:
---------------
make test

Expected result:
----------------
with php-4.3.4 I have somesing like:
�
PASS GetImageSize() for compressed swf files
[ext/standard/tests/image/getimagesize_swc.phpt]
PASS image_type_to_mime_type()
[ext/standard/tests/image/image_type_to_mime_type.phpt]
FAIL Simple math tests [ext/standard/tests/math/abs.phpt]
PASS Bug #21523 number_format tries to allocate negative amount of memory
[ext/standard/tests/math/bug21523.phpt]
PASS Bug #24142 (round() problems)
[ext/standard/tests/math/bug24142.phpt]
�


Actual result:
--------------
make test on php 4.3.6/4.3.7RC1/php4-STABLE-200406011430:

�
PASS image_type_to_mime_type()
[ext/standard/tests/image/image_type_to_mime_type.phpt]
PASS Simple math tests [ext/standard/tests/math/abs.phpt]
make: *** [test] Interrupt
(By CTRL-C) <- it was me who stop it


-- 
Edit bug report at http://bugs.php.net/?id=28605&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28605&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28605&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28605&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28605&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28605&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28605&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28605&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28605&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28605&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28605&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28605&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28605&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28605&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28605&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28605&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28605&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28605&r=float

Reply via email to