php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27736 Make test hangs after 'PASS Simple Math Tests'
Submitted: 2004-03-27 14:08 UTC Modified: 2004-03-29 09:52 UTC
From: php at hottub dot ca Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.5 OS: AIX 5.1 ML4
Private report: No CVE-ID: None
 [2004-03-27 14:08 UTC] php at hottub dot ca
Description:
------------
While testing php 4.3.5 on AIX 5.1 ML4 (on a 43p-150) 
with Visual Age for C v6, the test script appears to 
hang after passing the 'Simple Math Tests'.  CPU is 
pegged at 100% during the hang.  This bug is similar, 
but not identical to http://bugs.php.net/
bug.php?id=27370 .

No options were used.  Configure and make runs without 
errors, but includes many warnings, as below:

cc -I/build/php-4.3.5/ext/mysql/libmysql -Iext/mysql/ -
I/build/php-4.3.5/ext/mysql/ -DPHP_ATOM_INC -I/build/
php-4.3.5/include -I/build/php-4.3.5/main -I/build/php-
4.3.5 -I/build/php-4.3.5/Zend -I/build/php-4.3.5/ext/
xml/expat  -I/build/php-4.3.5/TSRM  -g  -c /build/php-
4.3.5/ext/mysql/libmysql/libmysql.c -o ext/mysql/
libmysql/libmysql.o  && echo > ext/mysql/libmysql/
libmysql.lo
"/build/php-4.3.5/ext/mysql/libmysql/mysql.h", line 
181.14: 1506-731 (W) The '_Export' keyword is not 
supported on the target platform.  The keyword is 
ignored.

(The warning above occurs several hundred times in 
relation to mysql.)

cc  -Iext/standard/ -I/build/php-4.3.5/ext/standard/ -
DPHP_ATOM_INC -I/build/php-4.3.5/include -I/build/php-
4.3.5/main -I/build/php-4.3.5 -I/build/php-4.3.5/Zend -
I/build/php-4.3.5/ext/xml/expat  -I/build/php-4.3.5/
TSRM  -g  -c /build/php-4.3.5/ext/standard/array.c -o 
ext/standard/array.o  && echo > ext/standard/array.lo
"/build/php-4.3.5/ext/standard/array.c", line 1723.64: 
1506-280 (W) Function argument assignment between types 
"unsigned int*" and "int*" is not allowed.

This warning and others very similar to it occur 
infrequently throughout the remainder of the code.

The last line before I interrupted the test is:
PASS Simple math tests [ext/standard/tests/math/
abs.phpt]
^Cmake: *** [test] Interrupt

The process remained 'stuck' for approximately two 
hours before I interrupted it.



Reproduce code:
---------------
Full configure, make, and make test output can be seen here:  http://www.hottub.ca/php435testhang.txt

Detail of specific test result:

# make test TESTS=ext/standard/tests/math

=====================================================================
CWD         : /build/php-4.3.5
PHP         : /build/php-4.3.5/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 4.3.5
ZEND_VERSION: 1.3.0
PHP_OS      : AIX - AIX new 1 5 000682BF4C00
INI actual  : /usr/local/lib/php.ini
More .INIs  : 
Extra dirs  : 
=====================================================================
Running selected tests.
PASS Simple math tests [ext/standard/tests/math/abs.phpt]


It passes, yet again, hangs with 100% CPU utilization, as per iostat:
tty:      tin         tout   avg-cpu:  % user    % sys     % idle    % iowait
          0.0         83.2              95.8      4.2        0.0       0.0     



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-29 09:52 UTC] php at hottub dot ca
CVS Snapshot shows that the initial problem is fixed, 
but some tests fail -- the failed results have been 
forwarded to the PHP QA team.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 04 00:01:30 2024 UTC