Opened 13 years ago

Last modified 11 years ago

#31590 closed defect

Segmentation fault while installing php5-pear on os x lion — at Initial Version

Reported by: mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion clang Cc:
Port: php5, php5-devel, php54

Description

When trying to install php5-pear i get a segmentation fault.

uname -a Darwin Karstens-MacBook-Pro.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64

Last part of logfile (tell me if you need whole logfile):

:info:fetch ---> install-pear-nozlib.phar doesn't seem to exist in /opt/local/var/macports/distfiles/php5-pear-20110901 :debug:fetch Pinging pear.php.net... :debug:fetch Pinging distfiles.macports.org... :debug:fetch Pinging aarnet.au.distfiles.macports.org... :debug:fetch Pinging her.gr.distfiles.macports.org... :debug:fetch Pinging lil.fr.distfiles.macports.org... :debug:fetch Pinging sea.us.distfiles.macports.org... :debug:fetch Pinging ykf.ca.distfiles.macports.org... :debug:fetch pear.php.net ping time is 30.179 :debug:fetch distfiles.macports.org ping time is 176.918 :debug:fetch aarnet.au.distfiles.macports.org ping time is 322.165 :debug:fetch her.gr.distfiles.macports.org ping time is 65.920 :debug:fetch lil.fr.distfiles.macports.org ping time is 20.239 :debug:fetch sea.us.distfiles.macports.org ping time is 10000 :debug:fetch ykf.ca.distfiles.macports.org ping time is 389.311 :notice:fetch ---> Attempting to fetch install-pear-nozlib.phar from http://lil.fr.distfiles.macports.org/php5-pear-20110901 :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Fri Oct 14 02:06:16 CEST 2011 :notice:checksum ---> Verifying checksum(s) for php5-pear :debug:checksum Executing org.macports.checksum (php5-pear) :info:checksum ---> Checksumming install-pear-nozlib.phar :debug:checksum Correct (rmd160) checksum for install-pear-nozlib.phar :debug:checksum Correct (sha256) checksum for install-pear-nozlib.phar :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Fri Oct 14 02:06:16 CEST 2011 :notice:extract ---> Extracting php5-pear :debug:extract Extracting to subdirectory worksrcdir :debug:extract Executing org.macports.extract (php5-pear) :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Fri Oct 14 02:06:16 CEST 2011 :debug:patch Executing org.macports.patch (php5-pear) :debug:patch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Fri Oct 14 02:06:16 CEST 2011 :notice:configure ---> Configuring php5-pear :debug:configure Using compiler 'Mac OS X clang' :debug:configure Executing org.macports.configure (php5-pear) :info:configure sh: line 1: 85534 Segmentation fault: 11 PHP_PEAR_INSTALL_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear PHP_PEAR_BIN_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/bin PHP_PEAR_PHP_BIN=/opt/local/bin/php PHP_PEAR_CFG_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/cfg PHP_PEAR_DOC_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/docs PHP_PEAR_DATA_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/data PHP_PEAR_WWW_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/www PHP_PEAR_TEST_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/tests PHP_PEAR_SYSCONF_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/etc /opt/local/bin/php install-pear-nozlib.phar :info:configure shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901 && PHP_PEAR_INSTALL_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear PHP_PEAR_BIN_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/bin PHP_PEAR_PHP_BIN=/opt/local/bin/php PHP_PEAR_CFG_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/cfg PHP_PEAR_DOC_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/docs PHP_PEAR_DATA_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/data PHP_PEAR_WWW_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/www PHP_PEAR_TEST_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/pear/tests PHP_PEAR_SYSCONF_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/work/php5-pear-20110901/build/libexec/php/etc /opt/local/bin/php install-pear-nozlib.phar " returned error 139 :error:configure Target org.macports.configure returned: shell command failed (see log for details) :debug:configure Backtrace: shell command failed (see log for details)

while executing

"$procedure $targetname" :info:configure Warning: the following items did not execute (for php5-pear): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for php5-pear is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-pear/php5-pear/main.log

Executing the last command manually results in immediate segmentation fault without further error messages.

The debug log from os x about the crashed process is attached.

I tried to manually add --encable-cli to port file of main php5 port, however that did not help as well.

Change History (1)

Changed 13 years ago by mail@…

OS X Diagnostic report about segfaulted php process

Note: See TracTickets for help on using tickets.