#39702 [Fbk->Asn]: php crashes in the allocator
| From: | dmitry@php.net | Date: | Fri, 01 Dec 2006 15:03:44 +0000 |
| Subject: | #39702 [Fbk->Asn]: php crashes in the allocator | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105740@lists.php.net to get a copy of this message | ||
ID: 39702
Updated by: dmitry@php.net
Reported By: zippel at linux-m68k dot org
-Status: Feedback
+Status: Assigned
Bug Type: Reproducible crash
Operating System: linux-m68k
PHP Version: 5.2.0
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2006-12-01 14:00:34] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-12-01 13:51:20] zippel at linux-m68k dot org
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 this bug report at http://bugs.php.net/?id=39702&edit=1