ID:               27629
 User updated by:  sroussey at network54 dot com
 Reported By:      sroussey at network54 dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Linux 2.4.20
 PHP Version:      4.3.5RC3
 New Comment:

The line in the Makefile gets expanded to this:



/root/webserver_software_tmp/php-4.3.5RC3/sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0
/root/webserver_software_tmp/php-4.3.5RC3/pear/install-pear.php -d
"/usr/local/lib/php" -b "/usr/local/bin"
/root/webserver_software_tmp/php-4.3.5RC3/pear/package-*.xml



gdb on the above has a bt of:



Starting program:
/root/webserver_software_tmp/php-4.3.5RC3/sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0
/root/webserver_software_tmp/php-4.3.5RC3/pear/install-pear.php -d
"/usr/local/lib/php" -b "/usr/local/bin"
/root/webserver_software_tmp/php-4.3.5RC3/pear/package-*.xml



Program received signal SIGILL, Illegal instruction.

0x08160493 in sub_function ()

(gdb) bt

#0  0x08160493 in sub_function ()

#1  0x0816e7f2 in execute ()

#2  0x081711be in execute ()

#3  0x081711be in execute ()

#4  0x08164547 in zend_execute_scripts ()

#5  0x0813cf2e in php_execute_script ()

#6  0x08174801 in main ()

#7  0x42015967 in __libc_start_main () from /lib/i686/libc.so.6


Previous Comments:
------------------------------------------------------------------------

[2004-03-17 19:49:32] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

set CFLAGS to -g, add --enable-debug to your configure and 

if it still crashes generate a backtrace. 

------------------------------------------------------------------------

[2004-03-17 19:45:37] sroussey at network54 dot com

Description:
------------
PHP 4.3.5RC3 crashes with illegal instruction

Reproduce code:
---------------
CC=gcc CFLAGS="-O3 -march=$CPU  " CXX=gcc \

./configure \

--with-mysql=/usr \

--with-gd \

--with-dom \

--with-zlib \

--with-xml \

--with-openssl=/usr/local/ssl \

--with-apache=../apache-1.3.29\

--enable-inline-optimization \

--enable-shmop \

--enable-memory-limit

make

make install

Expected result:
----------------
noraml installation...

Actual result:
--------------
Installing PHP SAPI module:       apache

Installing PHP CLI binary:        /usr/local/bin/

Installing PHP CLI man page:      /usr/local/man/man1/

Installing PEAR environment:      /usr/local/lib/php/

make[1]: *** [install-pear-installer] Illegal instruction

make: *** [install-pear] Error 2



I can confirm that php crashes in the make when the php cli is used in
install-pear-installer



Same config on php 4.3.4 has no issues.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27629&edit=1

Reply via email to