#46107 [Com]: make test fails with a segmentation fault

2008-09-17 Thread Barry dot Latham at hp dot com
 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



#46107 [NEW]: make test fails with a segmentation fault

2008-09-17 Thread Barry dot Latham at hp dot com
From: Barry dot Latham at hp dot com
Operating system: Linux 2.6.9-34.7hp.XCsm
PHP version:  5.2CVS-2008-09-17 (CVS)
PHP Bug Type: Reproducible crash
Bug description:  make test fails with a segmentation fault

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 bug report at http://bugs.php.net/?id=46107&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=46107&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=46107&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=46107&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46107&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=46107&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=46107&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=46107&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=46107&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=46107&r=support
Expected behavior:http://bugs.php.net/fix.php?id=46107&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=46107&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=46107&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46107&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=46107&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46107&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=46107&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=46107&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=46107&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=46107&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=46107&r=mysqlcfg