ID:               42975
 Updated by:       [EMAIL PROTECTED]
 Reported By:      shany at zend dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Date/time related
 Operating System: PPC Darwin 8.9.0
 PHP Version:      5.2.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

And please also make sure you'Re having no Zend Extension enabled
(/usr/local/Zend/Core let's me think there might be the Zend Optimizer
enabled...) and please test at least without
--enable-inline-optimization, and, if it still fails then, also with a
minimal configure line.


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

[2007-10-15 14:42:20] shany at zend dot com

Description:
------------
When running the script below I received error message:
PHP Fatal error:  Balloc() allocation exceeds list boundary in
/usr/local/Zend/apache2/htdocs/date_test.php on line 2

This error was reproduced using php-cgi and php-cli scripts.
The error was not reproduced on iMac with Darwin 8.10.1, or on Linux
RHEL5, Windows (XP, VISTA 64bit and Server03).

I'm using ZendCore 2.5.0 with bundled appache (2.2.4)
Build configuration: ./configure' '--prefix=/usr/local/Zend/Core'
'--with-config-file-path=/etc' '--enable-force-cgi-redirect'
'--enable-fastcgi' '--disable-debug' '--enable-inline-optimization'
'--enable-memory-limit' '--disable-all' '--enable-ctype' '--enable-dom'
'--enable-libxml' '--with-libxml-dir=/usr/local/Zend/Core'
'--with-openssl=/usr/local/Zend/Core' '--with-pcre-regex'
'--enable-session' '--enable-simplexml' '--enable-spl' '--enable-wddx'
'--enable-xml' '--enable-hash' '--enable-reflection'
'--with-zlib=/usr/local/Zend/Core' '--with-pear'
'--with-apxs2=/usr/local/Zend/apache2/bin/apxs' '--with-layout=GNU'
'--enable-json' '--enable-filter' '--enable-pdo' 

Changes in php.ini: 
short_open_tag = On
max_execution_time = 3000    
max_input_time = 600 
register_argc_argv = On
<auto_globals_jit = On> (missing)
<allow_url_include = Off> (missing)
<session.cookie_httponly = >(missing)
ingres.allow_persistent = On
ingres.max_persistent = -1
ingres.max_links = -1
pfpro.defaulthost = "test-payflow.verisign.com"
pfpro.defaultport = 443
pfpro.defaulttimeout = 30
sockets.use_system_read = On
extension_dir="/usr/local/Zend/Core/lib/php/20060613"
include_path=".:/usr/local/Zend/Core/share/pear"



Reproduce code:
---------------
Script sample: 
<?php
 $d = date("l");
 echo "d is: $d\n";
?>
(I also tried other possible strings as date() input)


Expected result:
----------------
d is: Monday

Actual result:
--------------
PHP Fatal error:  Balloc() allocation exceeds list boundary in
/usr/local/Zend/apache2/htdocs/date_test.php on line 2



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


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

Reply via email to