ID:               28945
 Comment by:       michael dot virnstein at brodos dot de
 Reported By:      erwan dot le-disez at linbox dot com
 Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: IRIX 6.2
 PHP Version:      4.3.7
 New Comment:

This problem also occures randomly when executing php scripts with PHP
4.4.2 and Apache 2.0.54 using mod_php


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

[2004-11-12 16:01:27] dennis at inmarket dot lviv dot ua

I experience this problem NOT during compilation of PHP, but during
EXECUTION of PHP script! It OCASSIONALLY happens, and writes to the
error log even more amazing thing: here is the sample error log entry:

[12-Nov-2004 15:50:52] PHP Fatal error:  Possible integer overflow in
memory allocation (24 * 4294967295 + 0) in /**
   * Returns a SQLDataBase implementation for database $name
   *
   * @param   string $name  database name
   * @return  SQLDataBase   a SQLDataBase implementation for database
$name
   */ on line 11

The inline comment is ripped of the PHP source, whereas it should be
script file name!

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

[2004-07-14 01:00:07] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2004-07-12 13:44:10] erwan dot ledisez at linbox dot com

Hello,

I have tested with the CVS snapshot but there is the same error.

Do you have an idea ?
Thanks.


New results
------------

+ make install
Installing PHP SAPI module:       apache
[activating module `php4' in
/tmp/apache-1.3.31+php200407061630/conf/httpd.conf]
cp libs/libphp4.so
/tmp/apache-1.3.31+php200407061630/libexec/libphp4.so
chmod 755 /tmp/apache-1.3.31+php200407061630/libexec/libphp4.so
cp /tmp/apache-1.3.31+php200407061630/conf/httpd.conf
/tmp/apache-1.3.31+php200407061630/conf/httpd.conf.bak
cp /tmp/apache-1.3.31+php200407061630/conf/httpd.conf.new
/tmp/apache-1.3.31+php200407061630/conf/httpd.conf
rm /tmp/apache-1.3.31+php200407061630/conf/httpd.conf.new
Installing PHP CLI binary:       
/tmp/apache-1.3.31+php200407061630/bin/
Installing PHP CLI man page:     
/tmp/apache-1.3.31+php200407061630/man/man1/
Installing PEAR environment:     
/tmp/apache-1.3.31+php200407061630/lib/php/

Fatal error: Possible integer overflow in memory allocation (4 * 1 + 0)
in /d/Distrib/Compils/apache/php4-STABLE-200407061630/pear/PEAR.php on
line 966
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2

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

[2004-07-06 15:40:32] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



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

[2004-06-28 11:34:37] erwan dot le-disez at linbox dot com

Description:
------------
Hello,

During the compilation of PHP 4.3.7 the make install phase create a
fatal error. The compil process is stoppped.

This seems to be a bug in php.

See bellow for the error.

Thanks
(and sorry, i don't speak english very well).

Reproduce code:
---------------
The instruction which causes the fault is :

register_shutdown_function("_PEAR_call_destructors");

Actual result:
--------------
make install
Installing PHP SAPI module:       apache
[activating module `php4' in
/tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf]
cp libs/libphp4.so /tmp/apache-1.3.31+php-4.3.7/libexec/libphp4.so
chmod 755 /tmp/apache-1.3.31+php-4.3.7/libexec/libphp4.so
cp /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf
/tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.bak
cp /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.new
/tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf
rm /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.new
Installing PHP CLI binary:        /tmp/apache-1.3.31+php-4.3.7/bin/
Installing PHP CLI man page:     
/tmp/apache-1.3.31+php-4.3.7/man/man1/
Installing PEAR environment:     
/tmp/apache-1.3.31+php-4.3.7/lib/php/

Fatal error: Possible integer overflow in memory allocation (4 * 1 + 0)
in /d/Distrib/Compils/apache/php-4.3.7/pear/PEAR.php on line 967
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2


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


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

Reply via email to