From:             zesigur at free dot fr
Operating system: Redhat 7.3 (2.4.29)
PHP version:      5.2.1
PHP Bug Type:     Compile Failure
Bug description:  Segmentation fault during install-pear-installer

Description:
------------
Make install of php-5.2 and php-5.2.1 seems not to work on all our servers
running redhat 7.3 (gcc 2.96, kernel 2.4.29). Configure goes well, make
seems to work also, but we've got a segmentation fault during make
install. 
Everything was OK on these systems with PHP 5.1.6 for instance.

Reproduce code:
---------------
CFLAGS="-O2 -march=i686 -funroll-loops -fomit-frame-pointer
-I/usr/include/openssl/" ./configure --prefix=/usr
--with-exec-dir=/usr/bin --with-apache=../
--with-config-file-path=/servers/apache/conf --enable-track-vars
--disable-debug --enable-safe-mode --enable-inline-optimization
--with-gd=/usr/local/gd --with-ttf --with-jpeg --with-jpeg-dir --with-png
--with-mm --with-gnu-ld --with-gettext --enable-mbstring
--with-curl=/usr/local/curl --with-zlib --enable-bcmath
--enable-memory-limit --enable-libxml --with-libxml-dir=/usr/local/libxml2
--with-freetype-dir=/usr/local/freetype --with-mysql=/usr/include/mysql
--with-imap --with-kerberos --with-imap-ssl

Actual result:
--------------
make install : 
Installing man pages:             /usr/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/lib/php/
make[1]: *** [install-pear-installer] Erreur de segmentation
make: *** [install-pear] Erreur 2


The issue seems to be with the sapi/cli/php binary, when "make install"
launch this line : 
"/var/tmp/php-5.2.1/sapi/cli/php
/var/tmp/php-5.2.1/pear/install-pear-nozlib.phar"
I've got a segmentation fault.

When I run /var/tmp/php-5.1.6/sapi/cli/php
/var/tmp/php-5.2.1/pear/install-pear-nozlib.phar" I don't have
Segmentation fault. So I think it is because of the php cli.

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

Reply via email to