From: charlesg at unixrealm dot com Operating system: Solaris 10 PHP version: 5.2.5 PHP Bug Type: *Compile Issues Bug description: make works, 'make test' core dumps
Description: ------------ Ran config like this: ./configure --with-mysql=/usr/local/mysql --with-oci8=/usr/pkgs/oracle/product/10.2.0/Db_1 --with-openssl=/usr/local/ssl --with-apxs2=/usr/pkgs/apache/2.2.8/mendel/bin/apxs Same synthax was used on a Solaris 10 SPARC. This is a Solaris 10 x86 platform: SunOS mendel 5.10 Generic_127112-07 i86pc i386 i86pc <[EMAIL PROTECTED]> isainfo amd64 i386 Here is the output of 'make test': <[EMAIL PROTECTED]> make test Build complete. Don't forget to run 'make test'. Segmentation Fault - core dumped *** Error code 139 (ignored) The following command caused the error: if test ! -z "" && test -x ""; then \ TEST_PHP_EXECUTABLE= \ TEST_PHP_SRCDIR=/usr/local/src/apache/php-5.2.5 \ CC="gcc" \ -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /usr/local/src/apache/php-5.2.5/run-tests.php -U -d extension_dir=modules/ ` if test "x" != "x"; then for i in ""; do . $i; /usr/local/src/apache/php-5.2.5/build/shtool echo -n -- " -d extension=$dlname"; done; fi` tests/; \ elif test ! -z "sapi/cli/php" && test -x "sapi/cli/php"; then \ INI_FILE=`/usr/local/src/apache/php-5.2.5/sapi/cli/php -r 'echo php_ini_loaded_file();'`; \ if test "$INI_FILE"; then \ egrep -v '^extension[\t\ ]*=' "$INI_FILE" > /usr/local/src/apache/php-5.2.5/tmp-php.ini; \ else \ echo > /usr/local/src/apache/php-5.2.5/tmp-php.ini; \ fi; \ TEST_PHP_EXECUTABLE=/usr/local/src/apache/php-5.2.5/sapi/cli/php \ TEST_PHP_SRCDIR=/usr/local/src/apache/php-5.2.5 \ CC="gcc" \ /usr/local/src/apache/php-5.2.5/sapi/cli/php -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /usr/local/src/apache/php-5.2.5/run-tests.php -c /usr/local/src/apache/php-5.2.5/tmp-php.ini -U -d extension_dir=/usr/local/src/apache/php-5.2.5/modules/ ` if test "x" != "x"; then for i in ""; do . $i; /usr/local/src/apache/php-5.2.5/build/shtool echo -n -- " -d extension=$dlname"; done; fi` ; \ else \ echo "ERROR: Cannot run tests without CLI sapi."; \ fi I tried to troubleshoot using dbx: <[EMAIL PROTECTED]> dbx sapi/cli/php core For information about new features see `help changes' To remove this message, put `dbxenv suppress_startup_message 7.5' in your .dbxrc Reading php core file header read successfully Reading ld.so.1 Reading librt.so.1 Reading libmysqlclient.so.15.0.0 Reading libsocket.so.1 Reading libnsl.so.1 Reading libm.so.2 Reading libintl.so.8.0.2 Reading libsec.so.1 Reading libc.so.1 Reading libz.so Reading libssl.so.0.9.8 Reading libcrypto.so.0.9.8 Reading libresolv.so.2 Reading libkstat.so.1 Reading libgen.so.1 Reading libdl.so.1 Reading libsched.so.1 Reading libclntsh.so.10.1 dbx: internal warning: "(null)"::srcname(InfoOrigin_CMDLINE): value "ntcontab.c" being set to "nt.c" Reading libxml2.so.2 Reading libpthread.so.1 Reading libiconv.so.2.4.0 Reading libaio.so.1 Reading libmd.so.1 Reading libgcc_s.so.1 Reading libavl.so.1 Reading libnnz10.so Reading libz.so.1 Reading iso_8859_1.so.3 [EMAIL PROTECTED] ([EMAIL PROTECTED]) program terminated by signal SEGV (no mapping at the fault address) 0xfecd515f: _memcpy+0x012f: movups 0x00000020(%esi),%xmm2 Current function is php_date_parse_tzfile 550 tzi = timelib_parse_tzfile(formal_tzname, tzdb); (dbx) where [1] _memcpy(0x8047cc1, 0x8400fe0, 0xb, 0x8043368), at 0xfecd515f =>[2] php_date_parse_tzfile(formal_tzname = (nil), tzdb = 0x8400fe0), line 550 in "php_date.c" [3] get_timezone_info(), line 650 in "php_date.c" [4] php_format_date(format = 0x8430cf4 "Ymd_Hi", format_len = 6, ts = 0, localtime = 1), line 879 in "php_date.c" [5] php_date(ht = 0, return_value = (nil), return_value_ptr = (nil), this_ptr = (nil), return_value_used = 1, localtime = 1), line 864 in "php_date.c" [6] zend_do_fcall_common_helper_SPEC(execute_data = 0x80463a0), line 200 in "zend_vm_execute.h" [7] execute(op_array = (nil)), line 92 in "zend_vm_execute.h" [8] zend_execute_scripts(type = 8, retval = (nil), file_count = 3, ...), line 1134 in "zend.c" [9] php_execute_script(primary_file = 0x8046b54), line 2004 in "main.c" [10] main(argc = 13, argv = 0x8046bc4), line 1140 in "php_cli.c" (dbx) Reproduce code: --------------- Run: ./configure --with-mysql=/usr/local/mysql --with-oci8=/usr/pkgs/oracle/product/10.2.0/Db_1 --with-openssl=/usr/local/ssl --with-apxs2=/usr/pkgs/apache/2.2.8/mendel/bin/apxs make make test on a Solaris 10 i386 machine. -- Edit bug report at http://bugs.php.net/?id=44408&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44408&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44408&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44408&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44408&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44408&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44408&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44408&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44408&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44408&r=support Expected behavior: http://bugs.php.net/fix.php?id=44408&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44408&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44408&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44408&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44408&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44408&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44408&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44408&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44408&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44408&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44408&r=mysqlcfg