From:             crquan at gmail dot com
Operating system: PowerPC Linux Embedded
PHP version:      5.2.9
PHP Bug Type:     Date/time related
Bug description:  date  Fatal error: Balloc() allocation exceeds list boundary

Description:
------------
I'm not to duplicate bug 42975, I just want to reopen that bug but found I
(non developers) don't have that permission?

http://bugs.php.net/bug.php?id=42975

I also met this problem with php-5.2.9

'./configure' '--host=powerpc-linux' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-cli' '--disable-ipv6'
'--disable-all' '--enable-fastcgi'

the index.php file only contains one phpinfo(), and it tells

...

date

Fatal error: Balloc() allocation exceeds list boundary in
/vra/www/index.php on line 1
date/time support       enabled
"Olson" Timezone Database Version       2009.1
Timezone Database       internal



I have also tried the CVS snapshot today, 2009-04-16

  http://snaps.php.net/php5.2-latest.tar.gz
 
it still have the problem, with the phpinfo() output, the date function
still have the fatal error:

PHP Version 5.2.10-dev

System  Linux canyonlands 2.6.25 #2 Mon Apr 13 11:16:43 CST 2009 ppc
Build Date      Apr 16 2009 12:16:06
Configure Command       './configure' '--host=powerpc-linux' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-cli' '--disable-ipv6'
'--disable-all' '--enable-fastcgi'
Server API      CGI/FastCGI
Virtual Directory Support       disabled 

date

Fatal error: Balloc() allocation exceeds list boundary in
/root/index.php on line 1
date/time support       enabled
"Olson" Timezone Database Version       2009.6
Timezone Database       internal



Reproduce code:
---------------
compile php-5.2.9 or the cvs-snapshot tarball, on powerpc platform, get
the php-cgi and combined it with lighttp, write a phpinfo() test page,

the date will run with fatal error.

Actual result:
--------------
date

Fatal error: Balloc() allocation exceeds list boundary in /root/index.php
on line 1

-- 
Edit bug report at http://bugs.php.net/?id=47980&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=47980&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=47980&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=47980&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=47980&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47980&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=47980&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=47980&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=47980&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=47980&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=47980&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=47980&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=47980&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=47980&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=47980&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47980&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47980&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=47980&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=47980&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=47980&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=47980&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=47980&r=mysqlcfg

Reply via email to