ID: 40474 Updated by: [EMAIL PROTECTED] Reported By: zesigur at free dot fr -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Redhat 7.3 (2.4.29) PHP Version: 5.2.1 New Comment:
This trace ain't useful, you need to type "bt" on the GDB prompt before you quit. Previous Comments: ------------------------------------------------------------------------ [2007-02-14 08:28:17] zesigur at free dot fr If this can Help, I've used GDB, here is the trace : GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) /var/tmp/apache_1.3.34/php-5.2.1/pear/install-pear-nozlib.phar Undefined command: "". Try "help". (gdb) run /var/tmp/apache_1.3.34/php-5.2.1/pear/install-pear-nozlib.phar Starting program: /var/tmp/apache_1.3.34/php-5.2.1/sapi/cli/php /var/tmp/apache_1.3.34/php-5.2.1/pear/install-pear-nozlib.phar [New Thread 1024 (LWP 24857)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 24857)] 0x082c9e0a in _zval_ptr_dtor () (gdb) quit ------------------------------------------------------------------------ [2007-02-14 08:10:41] zesigur at free dot fr 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 this bug report at http://bugs.php.net/?id=40474&edit=1