php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46107 make test fails with a segmentation fault
Submitted: 2008-09-17 16:29 UTC Modified: 2008-10-24 15:46 UTC
From: Barry dot Latham at hp dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2CVS-2008-09-17 (CVS) OS: Linux 2.6.9-34.7hp.XCsm
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Barry dot Latham at hp dot com
New email:
PHP Version: OS:

 

 [2008-09-17 16:29 UTC] 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)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-17 17:04 UTC] Barry dot Latham at hp dot com
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)
 [2008-10-24 15:46 UTC] jani@php.net
Update your compiler.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 23:01:33 2025 UTC