From:             zippel at linux-m68k dot org
Operating system: linux-m68k
PHP version:      5.2.0
PHP Bug Type:     Reproducible crash
Bug description:  php crashes in the allocator

Description:
------------
Hi,

php currently crashes everytime it does something nontrivial.
I debugged the problem a bit and the problem is in the Zend allocator. The
configure script produces a ZEND_MM_ALIGNMENT value of 2, but this is not
enough for the allocator as it needs two bits for type information.
Increasing the alignment fixes the problem.
I reported this problem also in the Debian BTS, where I also included a
possible patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401129


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

Reply via email to