#46107 [Com]: make test fails with a segmentation fault
| From: | Barry dot Latham at hp dot com | Date: | Wed, 17 Sep 2008 17:04:30 +0000 |
| Subject: | #46107 [Com]: make test fails with a segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129063@lists.php.net to get a copy of this message | ||
ID: 46107
Comment by: Barry dot Latham at hp dot com
Reported By: Barry dot Latham at hp dot com
Status: Open
Bug Type: Reproducible crash
Operating System: Linux 2.6.9-34.7hp.XCsm
PHP Version: 5.2CVS-2008-09-17 (CVS)
New Comment:
Actually, after ./configure --enable-debug to get a stack trace,
the make test works fine.
$ gcc -v
Reading specs from /usr/lib/gcc/ia64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=ia64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
Previous Comments:
------------------------------------------------------------------------
[2008-09-17 16:29:54] Barry dot Latham at hp dot com
Description:
------------
Installed the latest version as instructed in reporting bugs on the
page http://bugs.php.net/how-to-report.php under
the section "Try a CVS
snapshot" Did a simple build and ran make test. Got a segmentation
fault.
Reproduce code:
---------------
$ uname -a
Linux devnode6 2.6.9-34.7hp.XCsmp #1 SMP Sun Oct 22 12:44:14 EDT 2006
ia64 ia64 ia64 GNU/Linux
$ tar -xvf php5.2-latest.tar
$ cd php5.2-200809171430
$ ./configure
$ ./make
$ ./make test
Expected result:
----------------
no segmentation fault and tests being run
Actual result:
--------------
$ tar -xvf php5.2-latest.tar
$ cd php5.2-200809171430
$ ./configure
expected results
$ ./make
expected results
$ ./make test
Build complete.
Don't forget to run 'make test'.
/bin/sh: line 1: 19861 Segmentation fault
TEST_PHP_EXECUTABLE=/users/user1\
/php/php5.2-200809171430/sapi/cli/php
TEST_PHP_SRCDIR=/users/user1/php/php5.2-2\
00809171430 CC="gcc" /users/user1/php/php5.2-200809171430/sapi/cli/php
-n -c /u\
sers/user1/php/php5.2-200809171430/tmp-php.ini -d 'open_basedir=' -d
'output_bu\
ffering=0' -d 'memory_limit=-1'
/users/user1/php/php5.2-200809171430/run-tests.\
php -n -c /users/user1/php/php5.2-200809171430/tmp-php.ini -d
extension_dir=/us\
ers/user1/php/php5.2-200809171430/modules/ ` if test "x" != "x"; then
for i in \
""; do . $i; /users/user1/php/php5.2-200809171430/build/shtool echo -n
-- " -d \
extension=$dlname"; done; fi; if test "x" != "x"; then for i in
""; do
. $i; /u\
sers/user1/php/php5.2-200809171430/build/shtool echo -n -- " -d
zend_extension=\
/users/user1/php/php5.2-200809171430/modules/$dlname"; done; fi`
make: [test] Error 139 (ignored)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46107&edit=1