Hi there,
Details:
PHP Version: 5.3.0beta 1
OS: zLinux - SLES 10 s390x 64bit
Description:
../configure --disable-all --disable-debug results in a segmentation fault on
'make test':
/bin/sh: line 1: 7788 Segmentation fault
TEST_PHP_EXECUTABLE=/home/php-5.3.0beta1/sapi/cli/php
TEST_PHP_SRCDIR=/home/php-5.3.0beta1 CC="gcc"
/home/php-5.3.0beta1/sapi/cli/php -n -c /home/php-5.3.0beta1/tmp-php.ini -d
'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1'
/home/php-5.3.0beta1/run-tests.php -n -c /home/php-5.3.0beta1/tmp-php.ini -d
extension_dir=/home/php-5.3.0beta1/modules/ ` if test "x" != "x"; then for i
in ""; do . $i; /home/php-5.3.0beta1/build/shtool echo -n -- " -d
extension=$dlname"; done; fi; if test "x" != "x"; then for i in ""; do . $i;
/home/php-5.3.0beta1/build/shtool echo -n -- " -d
zend_extension=/home/php-5.3.0beta1/modules/$dlname"; done; fi`
make: [test] Error 139 (ignored)
Backtrace:
lin003:/ # TEST_PHP_EXECUTABLE=/home/php-5.3.0beta1/sapi/cli gdb
GNU gdb 6.6
Copyright (C) 2006 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 "s390x-suse-linux".
(gdb) target exec /home/php-5.3.0beta1/sapi/cli/php
(gdb) run /home/php-5.3.0beta1/run-tests.php
Starting program: /home/php-5.3.0beta1/sapi/cli/php
/home/php-5.3.0beta1/run-tests.php
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGSEGV, Segmentation fault.
0x000000008014f986 in ?? ()
(gdb)
However ./configure --disable-all --enable-debug results in an OK 'make
test' and 'make install'.
Can anyone help me figure out why PHP is giving the segmentation error when
I use the --disable-debug option?
I require PHP to be configured with the --disable-debug option.
Any help is much appreciated.
kind regards.
J
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]