Bug #51216 [Fbk->Bgs]: Segmentation fault when compiling PHP with PHAR
| From: | srinatar@php.net | Date: | Wed, 14 Jul 2010 18:08:40 +0000 |
| Subject: | Bug #51216 [Fbk->Bgs]: Segmentation fault when compiling PHP with PHAR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152405@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51216&edit=1
ID: 51216
Updated by: srinatar@php.net
Reported by: dtm2mcs at gmail dot com
Summary: Segmentation fault when compiling PHP with PHAR
-Status: Feedback
+Status: Bogus
Type: Bug
Package: PHAR related
Operating System: Ubuntu 6.04 + CentOS 5.4
PHP Version: 5.3.2
New Comment:
closing it as not reproducible with latest release (5.3.3)
Previous Comments:
------------------------------------------------------------------------
[2010-07-14 04:51:15] ywliu at hotmail dot com
Just tried 5.3.3RC2. This problem on the latest CentOS 5.5 is gone.
------------------------------------------------------------------------
[2010-07-13 23:01:20] srinatar@php.net
please see if this issue can be reproduced with php 5.3.3 (RC2)-
http://qa.php.net/
and if yes, please provide us a stack trace as mentioned here.
http://bugs.php.net/bugs-generating-backtrace.php
------------------------------------------------------------------------
[2010-07-08 17:00:24] bluefox012 at gmail dot com
centos 5.4
have the same problem,
[activating module `php5' in /home/services/web/config/httpd.conf]
Installing PHP CLI binary: /usr/local/php/bin/
Installing PHP CLI man page: /usr/local/php/man/man1/
Installing build environment: /usr/local/php/lib/php/build/
Installing header files: /usr/local/php/include/php/
Installing helper programs: /usr/local/php/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/php/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
------------------------------------------------------------------------
[2010-05-08 00:54:01] leonard dot f dot elia at nasa dot gov
So, I tried compiling without phar:
./configure --prefix=/usr/local/php532-dist \
--with-curl=/usr/local --enable-exif --with-gd \
--with-nsapi=/usr/local/iplanet7 \
--with-mysql=/usr/local/mysql-client/mysql-5.1.40 \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-oci8=instantclient,/usr/local/oracle \
--with-pdo-mysql=/usr/local/mysql-client/mysql-5.1.40 \
--with-pdo-oci=/usr/local/oracle \
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local \
--enable-libgcc \
--disable-phar
The make now completes as expected but make install now throws up:
[root@allegro php5]# make install
Installing PHP SAPI module: nsapi
Installing PHP CLI binary: /usr/local/php532-dist/bin/
Installing PHP CLI man page: /usr/local/php532-dist/man/man1/
Installing build environment: /usr/local/php532-dist/lib/php/build/
Installing header files: /usr/local/php532-dist/include/php/
Installing helper programs: /usr/local/php532-dist/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php532-dist/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/php532-dist/lib/php/
Segmentation Fault
make[1]: *** [install-pear-installer] Error 139
make: *** [install-pear] Error 2
And this bug, my friends, isn't in the bug database (that I have
found).
Any ideas?
My system has a working php in the path (5.3.1) and is up to date on
patches etc.
------------------------------------------------------------------------
[2010-05-07 23:52:55] leonard dot f dot elia at nasa dot gov
Almost forgot, I am building php 5.3.2 as a NSAPI module for iPlanet 7
using mysql 5.1.40
./configure --prefix=/usr/local/php532-dist \
--with-curl=/usr/local --enable-exif --with-gd \
--with-nsapi=/usr/local/iplanet7 \
--with-mysql=/usr/local/mysql-client/mysql-5.1.40 \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-oci8=instantclient,/usr/local/oracle \
--with-pdo-mysql=/usr/local/mysql-client/mysql-5.1.40 \
--with-pdo-oci=/usr/local/oracle \
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local \
--enable-libgcc
thank you
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=51216
--
Edit this bug report at http://bugs.php.net/bug.php?id=51216&edit=1