From: shannon at handshigh dot com Operating system: Mac OS X 10.4.5 Intel PHP version: 5.1.2 PHP Bug Type: Compile Failure Bug description: Build fails with Segmentation Fault during Pear install
Description: ------------ Using new MacBook Pro, Mac OS 10.4.5, Dev Tools 2.2.1, I can't build pear because of install failure. Have tried doing a direct install of pear with same result. Same configuration works fine with a PowerPC Mac using same OS, dev tools and build script. Reproduce code: --------------- Run the following build script from within the php source directory as root: #! /bin/bash #install script for php make clean ./configure \ --prefix=/usr \ --with-xml \ --with-zlib \ --with-apxs \ --enable-debug make make install Expected result: ---------------- Build to work. Actual result: -------------- Shannons-MacBook:/src/php-5.1.2 root# make install Installing PHP SAPI module: apache [activating module `php5' in /private/etc/httpd/httpd.conf] cp libs/libphp5.so /usr/libexec/httpd/libphp5.so chmod 755 /usr/libexec/httpd/libphp5.so cp /private/etc/httpd/httpd.conf /private/etc/httpd/ httpd.conf.bak cp /private/etc/httpd/httpd.conf.new /private/etc/httpd/ httpd.conf rm /private/etc/httpd/httpd.conf.new Installing PHP CLI binary: /usr/bin/ Installing PHP CLI man page: /usr/man/man1/ Installing build environment: /usr/lib/php/build/ Installing header files: /usr/include/php/ Installing helper programs: /usr/bin/ program: phpize program: php-config Installing man pages: /usr/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/lib/php/ [PEAR] Archive_Tar - already installed: 1.3.1 [PEAR] Console_Getopt - already installed: 1.2 php(5795) malloc: *** vm_allocate(size=3825205248) failed (error code=3) php(5795) malloc: *** error: can't allocate region php(5795) malloc: *** set a breakpoint in szone_error to debug make[1]: *** [install-pear-installer] Segmentation fault make: *** [install-pear] Error 2 I tried to get a core dump, but was not able to. No core was produced. -- Edit bug report at http://bugs.php.net/?id=36761&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36761&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36761&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36761&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36761&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36761&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36761&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36761&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36761&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36761&r=support Expected behavior: http://bugs.php.net/fix.php?id=36761&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36761&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36761&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36761&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36761&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36761&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36761&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36761&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36761&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36761&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36761&r=mysqlcfg