From:             sebastian dot harnau at gmx dot de
Operating system: SuSE Linux 9.2
PHP version:      5.1.3
PHP Bug Type:     Reproducible crash
Bug description:  segmentation fault in PEAR-environment

Description:
------------
After compiling PHP 5.1.3 or PHP 5.2.0dev without any 
problems there is a problem with "make install" concerning 
the part of PEAR Installation.
I don't know, if this problem is caused by PHP >5.1.2 or by 
PEAR, but PEAR does not to know the newest version in the 
bug tracking tool. And of course the problem is caused by 
PHP Installation.

The configure-string:

'./configure' '--prefix=/usr/share' '--datadir=/usr/share/
php' '--bindir=/usr/bin' '--libdir=/usr/share' '--
includedir=/usr/include' '--sysconfdir=/etc' '--with-
_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/
usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--
enable-calendar' '--enable-ctype' '--enable-dbase' '--
enable-discard-path' '--enable-exif' '--enable-filepro' '--
enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-
imgstrttf' '--enable-gd-native-ttf' '--enable-inline-
optimization' '--enable-magic-quotes' '--enable-mbstr-enc-
trans' '--enable-mbstring' '--enable-mbregex' '--enable-
memory-limit' '--enable-safe-mode' '--enable-shmop' '--
enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--
enable-track-vars' '--enable-trans-sid' '--enable-
versioning' '--enable-wddx' '--enable-yp' '--with-bz2' '--
with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' 
'--with-gettext' '--with-gmp' '--with-imap-dir=/usr/local/
src/imap-2004g/c-client' '--with-jpeg-dir=/usr' '--with-
ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mhash' 
'--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' 
'--with-ndbm' '--with-png-dir=/usr' '--with-snmp' '--with-
t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-
dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-
zlib=yes' '--with-gd' '--with-openssl' '--with-curl' '--
with-imap-ssl' '--enable-xslt' '--with-xslt-sablot' '--with-
iconv' '--with-apxs2=/usr/sbin/apxs2-worker' 'i586-suse-
linux' '--enable-sockets'

phpinfo.php:
http://alster080.server4you.de/phpinfo.php

Reproduce code:
---------------
alster:/usr/local/src/php5.1-200605031830 # make install
Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la
/usr/lib/apache2-worker
/usr/share/apache2/build/libtool --mode=install cp libphp5.la
/usr/lib/apache2-worker/
cp .libs/libphp5.so /usr/lib/apache2-worker/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2-worker/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php5.1-200605031830/libs'
chmod 755 /usr/lib/apache2-worker/libphp5.so
[activating module `php5' in /etc/apache2/httpd2-worker.conf]
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/share/man/man1/
Installing build environment:     /usr/share/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/share/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/share/php/
--22:14:11--  http://pear.php.net/install-pear-nozlib.phar
           => `pear/install-pear-nozlib.phar'
Resolving pear.php.net... 216.92.131.66
Connecting to pear.php.net|216.92.131.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,167,908 (3.0M) [text/plain]

100%[============================================================================>]
3,167,908    303.55K/s    ETA 00:00

22:14:22 (294.21 KB/s) - `pear/install-pear-nozlib.phar' saved
[3167908/3167908]

make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2


Actual result:
--------------
result of "make install -p --debug": http://publ-iz-ity.de/
install.log

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

Reply via email to