ID:               42491
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bernard dot prevosto at ifremer dot fr
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: solaris 5.8
 PHP Version:      5.2.4
 New Comment:

I can not reproduce this on linux (32bit).


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

[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%

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

[2007-08-31 11:22:45] [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 for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

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.



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

[2007-08-31 10:56:22] bernard dot prevosto at ifremer dot fr

Description:
------------
Make install of  php-5.2.4 seems not to work  our
servers. Configure goes
well, make seems to work also, but we've got a segmentation fault
during
make install. 
Everything was OK  with PHP 5.1.6 .

(it's the sams problem that Bug #40474)

Reproduce code:
---------------
./configure  --prefix=/home/services/logiciels/compilateurs/php-5.2.4
--with-ldap=/home/services/bibli/openldap
--with-mysql=/home/services/bibli/mysql
--with-pgsql=/home/services/logiciels/compilateurs/php-5.2.4/bases/pgsql
--with-oci8=/home/services/logiciels/compilateurs/php-5.2.4/bases/ora920
--with-gd --with-zlib-dir=/home/services/bibli/zlib --enable-zip
--with-jpeg-dir=/home/services/bibli/jpeglib
--with-png-dir=/home/services/bibli/pnglib
--with-gettext=/home/services/logiciels/gettext
--with-libxml-dir=/home/services/bibli/xml2lib --with-iconv
--enable-calendar --enable-mbstring=all --enable-exif --disable-pdo
--with-config-file-path=/home/services/logiciels/compilateurs/php-5.2.4
#(it's OK)

make   (it's OK)
make install  (segmentation fault)

Expected result:
----------------
no segmentation fault

Actual result:
--------------
louet>47% 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

---------

I have the same problem whith:

louet>138% sapi/cli/php pear/install-pear-nozlib.phar
Segmentation Fault



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


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

Reply via email to