From: Bjorn dot Wiberg at its dot uu dot se Operating system: IBM AIX 5.2.0.0 PHP version: 5.0.0RC3 PHP Bug Type: Unknown/Other Function Bug description: Almost all tests fail with "Bailed out without a bailout address!"
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 bug report at http://bugs.php.net/?id=28803&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28803&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28803&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28803&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28803&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28803&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28803&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28803&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28803&r=support Expected behavior: http://bugs.php.net/fix.php?id=28803&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28803&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28803&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28803&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28803&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28803&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28803&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28803&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28803&r=float