ID: 28803
User updated by: Bjorn dot Wiberg at its dot uu dot se
Reported By: Bjorn dot Wiberg at its dot uu dot se
Status: Open
Bug Type: PHP options/info functions
Operating System: IBM AIX 5.2.0.0 ML4
-PHP Version: 5 snapshot 2005-01-10 15:30
+PHP Version: 5.0.4-dev snapshot 2005-01-10 15:30
New Comment:
It also seems that the tests caused a couple of core dumps this time,
something that I've never experienced before:
[EMAIL PROTECTED]:/usr/local/src/php5-STABLE-200501101530# gdb sapi/cli/php
core
GNU gdb 5.0-aix51-020209
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-ibm-aix5.2.0.0"...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
#0 0x1023a2a8 in zif_stream_socket_accept (ht=1,
return_value=0x2016c4cc, this_ptr=0x0, return_value_used=1) at
/usr/local/src/php5-STABLE-200501101530/ext/standard/streamsfuncs.c:230
230
/usr/local/src/php5-STABLE-200501101530/ext/standard/streamsfuncs.c: No
such file or directory.
(gdb) bt
#0 0x1023a2a8 in zif_stream_socket_accept (ht=1,
return_value=0x2016c4cc, this_ptr=0x0, return_value_used=1) at
/usr/local/src/php5-STABLE-200501101530/ext/standard/streamsfuncs.c:230
#1 0x100781d4 in zend_do_fcall_common_helper (execute_data=0x2ff208a0,
opline=0x20180204, op_array=0x2017ca9c) at
/usr/local/src/php5-STABLE-200501101530/Zend/zend_execute.c:2711
#2 0x10078b5c in zend_do_fcall_handler (execute_data=0x2ff208a0,
opline=0x20180204, op_array=0x2017ca9c) at
/usr/local/src/php5-STABLE-200501101530/Zend/zend_execute.c:2843
#3 0x100720e4 in execute (op_array=0x2017ca9c) at
/usr/local/src/php5-STABLE-200501101530/Zend/zend_execute.c:1400
#4 0x10017cec in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at
/usr/local/src/php5-STABLE-200501101530/Zend/zend.c:1068
#5 0x100080f0 in php_execute_script (primary_file=0x2ff220d8) at
/usr/local/src/php5-STABLE-200501101530/main/main.c:1630
#6 0x100029ec in main (argc=47, argv=0x2ff22400) at
/usr/local/src/php5-STABLE-200501101530/sapi/cli/php_cli.c:943
#7 0x10000204 in __start ()
(gdb)
Here is the corresponding output from the AIX error log:
SUMMARY
=======
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
B6048838 0110182805 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY
TERMINATED
B6048838 0110182805 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY
TERMINATED
B6048838 0110182705 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY
TERMINATED
DETAILS
=======
---------------------------------------------------------------------------
LABEL: CORE_DUMP
IDENTIFIER: B6048838
Date/Time: m�n jan 10 18.28.28 2005
Sequence Number: 1192
Machine Id: 0058180C4C00
Node Id: spinus
Class: S
Type: PERM
Resource Name: SYSPROC
Description
SOFTWARE PROGRAM ABNORMALLY TERMINATED
Probable Causes
SOFTWARE PROGRAM
User Causes
USER GENERATED SIGNAL
Recommended Actions
CORRECT THEN RETRY
Failure Causes
SOFTWARE PROGRAM
Recommended Actions
RERUN THE APPLICATION PROGRAM
IF PROBLEM PERSISTS THEN DO THE FOLLOWING
CONTACT APPROPRIATE SERVICE REPRESENTATIVE
Detail Data
SIGNAL NUMBER
11
USER'S PROCESS ID:
626726
FILE SYSTEM SERIAL NUMBER
11
INODE NUMBER
303104
PROCESSOR ID
1
CORE FILE NAME
/usr/local/src/php5-STABLE-200501101530/core
PROGRAM NAME
php
ADDITIONAL INFORMATION
zif_strea 27C
zif_strea 258
Unable to generate symptom string.
---------------------------------------------------------------------------
LABEL: CORE_DUMP
IDENTIFIER: B6048838
Date/Time: m�n jan 10 18.28.27 2005
Sequence Number: 1191
Machine Id: 0058180C4C00
Node Id: spinus
Class: S
Type: PERM
Resource Name: SYSPROC
Description
SOFTWARE PROGRAM ABNORMALLY TERMINATED
Probable Causes
SOFTWARE PROGRAM
User Causes
USER GENERATED SIGNAL
Recommended Actions
CORRECT THEN RETRY
Failure Causes
SOFTWARE PROGRAM
Recommended Actions
RERUN THE APPLICATION PROGRAM
IF PROBLEM PERSISTS THEN DO THE FOLLOWING
CONTACT APPROPRIATE SERVICE REPRESENTATIVE
Detail Data
SIGNAL NUMBER
11
USER'S PROCESS ID:
626722
FILE SYSTEM SERIAL NUMBER
11
INODE NUMBER
303104
PROCESSOR ID
1
CORE FILE NAME
/usr/local/src/php5-STABLE-200501101530/core
PROGRAM NAME
php
ADDITIONAL INFORMATION
zif_strea 27C
zif_strea 258
Unable to generate symptom string.
---------------------------------------------------------------------------
LABEL: CORE_DUMP
IDENTIFIER: B6048838
Date/Time: m�n jan 10 18.27.02 2005
Sequence Number: 1190
Machine Id: 0058180C4C00
Node Id: spinus
Class: S
Type: PERM
Resource Name: SYSPROC
Description
SOFTWARE PROGRAM ABNORMALLY TERMINATED
Probable Causes
SOFTWARE PROGRAM
User Causes
USER GENERATED SIGNAL
Recommended Actions
CORRECT THEN RETRY
Failure Causes
SOFTWARE PROGRAM
Recommended Actions
RERUN THE APPLICATION PROGRAM
IF PROBLEM PERSISTS THEN DO THE FOLLOWING
CONTACT APPROPRIATE SERVICE REPRESENTATIVE
Detail Data
SIGNAL NUMBER
11
USER'S PROCESS ID:
786450
FILE SYSTEM SERIAL NUMBER
11
INODE NUMBER
303104
PROCESSOR ID
1
CORE FILE NAME
/usr/local/src/php5-STABLE-200501101530/core
PROGRAM NAME
php
ADDITIONAL INFORMATION
_zval_ptr 38
zend_swit A8
Symptom Data
REPORTABLE
1
INTERNAL ERROR
0
SYMPTOM CODE
PCSS/SPI2 FLDS/php SIG/11 FLDS/_zval_ptr VALU/38 FLDS/zend_swit
Previous Comments:
------------------------------------------------------------------------
[2005-01-11 08:52:08] Bjorn dot Wiberg at its dot uu dot se
Hi!
Sorry, a vast majority of the tests still fail, so it seems that the
snapshot made no difference in that regard. Also notice the strange
exit code 255, which PHP 5 seems to exhibit under AIX for some reason
(that one has been there for a while now)...
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 53
Exts tested : 30
---------------------------------------------------------------------
Number of tests : 1296 731
Tests skipped : 565 (43.6%) --------
Tests warned : 1 (0.1%) (0.1%)
Tests failed : 723 (55.8%) (98.9%)
Tests passed : 7 (0.5%) (1.0%)
---------------------------------------------------------------------
Time taken : 147 seconds
=====================================================================
/../
[EMAIL PROTECTED]:/usr/local/src/php5-STABLE-200501101530#
/usr/local/src/php5-STABLE-200501101530/main/main.c(1697) : Bailed out
without a
-bash: syntax error near unexpected token `1697'
[EMAIL PROTECTED]:/usr/local/src/php5-STABLE-200501101530# bailout address!
-bash: bailout: command not found
[EMAIL PROTECTED]:/usr/local/src/php5-STABLE-200501101530# make: [test] Error
255 (ignored)
-bash: syntax error near unexpected token `('
[EMAIL PROTECTED]:/usr/local/src/php5-STABLE-200501101530#
I'd be happy to try more snapshots whenever you want me to, though!
Best regards,
Bj�rn
------------------------------------------------------------------------
[2005-01-07 09:19:29] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
------------------------------------------------------------------------
[2004-08-03 08:34:52] Bjorn dot Wiberg at its dot uu dot se
It turned out that this only occurs when PHP 5 is compiled with
--enable-debug; most tests work fine when --enable-debug is left out.
Should I worry about the debug error message? PHP 4.3.8 works fine with
--enable-debug, and the bailout error message looks a little worrying to
me. The simple scripts I've tried so far seem to be working, though.
I'd be very thankful for any input regarding this!
Best regards,
Bj�rn
------------------------------------------------------------------------
[2004-07-15 19:42:45] Bjorn dot Wiberg at its dot uu dot se
The error still occurs with PHP 5.0.0 (release version).
------------------------------------------------------------------------
[2004-06-16 12:45:41] Bjorn dot Wiberg at its dot uu dot se
Description:
------------
Compilation works fine, but 'make test' fails on almost all tests with
the error message:
/usr/local/src/php-5.0.0RC3/main/main.c(1694) : Bailed out without a
bailout address!
Reproduce code:
---------------
Configured PHP with:
CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/lib
-L/opt/freeware/lib -L/usr/local/lib" ./configure
...followed by these directives:
--enable-dba --enable-debug --enable-memory-limit
--enable-short-tags --enable-versioning --prefix=/apache/php
--with-apxs2=/apache/bin/apxs
--with-apxs2filter=/apache/bin/apxs
--with-freetype-dir
--with-gd --with-gdbm --with-gettext
--with-jpeg-dir
--with-ldap
--with-mysql=/usr/local/mysql --with-openssl=/opt/freeware
--with-png-dir --with-tiff-dir
--with-ttf
--with-zlib --with-zlib-dir
--with-mnogosearch
--with-xpm-dir
--enable-bcmath
--enable-calendar
--enable-exif
--enable-embedded-mysqli
--enable-filepro
--enable-gd-jis-conv
--enable-gd-native-ttf
--enable-mbstring
--enable-zend-multibyte
--with-inifile
--with-libxml-dir
--with-mime-magic
Changed GDLIB_CFLAGS in the Makefile to start with:
-I/usr/include/freetype2 <the rest goes here>
...as I have both GD1 and GD2 installed on the system, and need to make
sure that it uses FreeType 2's
/usr/include/freetype2/freetype/freetype.h instead of FreeType 1's
/opt/freeware/include/freetype/freetype.h as the IBM OpenSSL 0.9.6m-1
installation causes -I/opt/freeware/include to appear before
-I/usr/include/freetype2 (hence it picking up the wrong
<freetype/freetype.h>). (Maybe this also is a bug which should be
corrected...)
I'm using GCC 3.3.2 from Bull (http://www.bullfreeware.com/main.html)
and GNU make 3.80 from IBM's AIX Toolbox for Linux Applications
(http://www-1.ibm.com/servers/aix/products/aixos/linux/date.html).
Compiled PHP with '/opt/freeware/bin/make'.
Ran the tests with '/opt/freeware/bin/make test'.
Expected result:
----------------
That all or at least a vast majority of the tests pass.
Actual result:
--------------
Most of the tests fail (rendering a huge test report which is too big
to submit, either packed or unpacked) to the QA mailing list (I've
tried).
>From the 'make test' php_test_results_20040616_1120.txt file:
/.../
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 56
Exts tested : 27
---------------------------------------------------------------------
Number of tests : 1211 679
Tests skipped : 532 (43.9%) --------
Tests warned : 1 ( 0.1%) ( 0.1%)
Tests failed : 672 (55.5%) (99.0%)
Tests passed : 6 ( 0.5%) ( 0.9%)
---------------------------------------------------------------------
Time taken : 179 seconds
=====================================================================
/.../
================================================================================
/usr/local/src/php-5.0.0RC3/tests/run-test/test001.phpt
================================================================================
---- EXPECTED OUTPUT
abc
---- ACTUAL OUTPUT
abc
/usr/local/src/php-5.0.0RC3/main/main.c(1694) : Bailed out without a
bailout address!
---- FAILED
================================================================================
002+ /usr/local/src/php-5.0.0RC3/main/main.c(1694) : Bailed out without
a bailout address!
================================================================================
================================================================================
/usr/local/src/php-5.0.0RC3/tests/run-test/test002.phpt
================================================================================
---- EXPECTED OUTPUT
%d
%i
%i
%f
%s
%x
%c
---- ACTUAL OUTPUT
123
-123
+123
+1.1
abc
0abc
x
/usr/local/src/php-5.0.0RC3/main/main.c(1694) : Bailed out without a
bailout address!
---- FAILED
================================================================================
008+ /usr/local/src/php-5.0.0RC3/main/main.c(1694) : Bailed out without
a bailout address!
================================================================================
/.../
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28803&edit=1