ID: 42491
Updated by: jani@php.net
Reported By: bernard dot prevosto at ifremer dot fr
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: solaris 5.8
PHP Version: 5.2.4
New Comment:
The same way you get it with it:
# wget http://pear.php.net/install-pear-nozlib.phar
-nd -P pear/
# gdb --arg sapi/cli/php \
-n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= \
-derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0 \
pear/install-pear-nozlib.phar
(gdb) run
<crash>
(gdb) bt
Previous Comments:
------------------------------------------------------------------------
[2007-09-06 07:08:45] bernard dot prevosto at ifremer dot fr
without --enable-debug I've:
louet>45% make install
Installing PHP SAPI module: cgi
Installing PHP CGI binary:
/home/services/logiciels/compilateurs/php-5.2.4/bin/
Installing PHP CLI binary:
/home/services/logiciels/compilateurs/php-5.2.4/bin/
Installing PHP CLI man page:
/home/services/logiciels/compilateurs/php-5.2.4/man/man1/
Installing build environment:
/home/services/logiciels/compilateurs/php-5.2.4/lib/php/build/
Installing header files:
/home/services/logiciels/compilateurs/php-5.2.4/include/php/
Installing helper programs:
/home/services/logiciels/compilateurs/php-5.2.4/bin/
program: phpize
program: php-config
Installing man pages:
/home/services/logiciels/compilateurs/php-5.2.4/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment:
/home/services/logiciels/compilateurs/php-5.2.4/lib/php/
Segmentation Fault
gmake[1]: *** [install-pear-installer] Error 139
gmake: *** [install-pear] Error 2
louet>46%
or, also :
louet>46% sapi/cli/php pear/install-pear-nozlib.phar
Segmentation Fault
louet>47%
how can I get you backtrace without using --enable-debug ?
------------------------------------------------------------------------
[2007-09-05 13:46:04] jani@php.net
Then can you try getting some kind of backtrace without using
--enable-debug ? That's better than nothing.
------------------------------------------------------------------------
[2007-09-05 13:31:38] jani@php.net
I can not reproduce this on linux (32bit).
------------------------------------------------------------------------
[2007-09-05 11:05:01] bernard dot prevosto at ifremer dot fr
but with the PEAR generated with --enble-debug I've:
louet>74% pear install HTTP_Request
downloading HTTP_Request-1.4.1.tgz ...
Starting to download HTTP_Request-1.4.1.tgz (15,927 bytes)
......done: 15,927 bytes
Fatal error: Allowed memory size of 8388608 bytes exhausted at
/home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/Zend/zend_opcode.c:48
(tried to allocate 98304 bytes) in
/home/services/logiciels/compilateurs/php-5.2.4/lib/php/PEAR/PackageFile/v2/Validator.php
on line 908
/home/services/logiciels/compilateurs/php-5.2.4/lib/php/PEAR/PackageFile/v2/Validator.php(908)
: Fatal error - Allowed memory size of 8388608 bytes exhausted at
/home1/balanec/perso/bpre/anonymous/apache/php-5.2.4/Zend/zend_opcode.c:48
(tried to allocate 98304 bytes)
louet>
------------------------------------------------------------------------
[2007-09-05 09:44:21] bernard dot prevosto at ifremer dot fr
it's OK whith --enable-debug
??????
louet>50% make install
Installing PHP SAPI module: cgi
Installing PHP CGI binary:
/home/services/logiciels/compilateurs/php-5.2.4/bin/
Installing PHP CLI binary:
/home/services/logiciels/compilateurs/php-5.2.4/bin/
Installing PHP CLI man page:
/home/services/logiciels/compilateurs/php-5.2.4/man/man1/
Installing build environment:
/home/services/logiciels/compilateurs/php-5.2.4/lib/php/build/
Installing header files:
/home/services/logiciels/compilateurs/php-5.2.4/include/php/
Installing helper programs:
/home/services/logiciels/compilateurs/php-5.2.4/bin/
program: phpize
program: php-config
Installing man pages:
/home/services/logiciels/compilateurs/php-5.2.4/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment:
/home/services/logiciels/compilateurs/php-5.2.4/lib/php/
[PEAR] Console_Getopt - installed: 1.2.3
[PEAR] Archive_Tar - installed: 1.3.2
[PEAR] Structures_Graph- installed: 1.0.2
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
[PEAR] PEAR - installed: 1.6.1
Wrote PEAR system config file at:
/home/services/logiciels/compilateurs/php-5.2.4/etc/pear.conf
You may want to add:
/home/services/logiciels/compilateurs/php-5.2.4/lib/php to your php.ini
include_path
louet>51%
------------------------------------------------------------------------
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/42491--
Edit this bug report at http://bugs.php.net/?id=42491&edit=1