ID: 40479 Comment by: jesse at eonstreet dot com Reported By: rrossi at maggioli dot it Status: No Feedback Bug Type: Reproducible crash Operating System: Suse Linux 9.0 PHP Version: 5.2.1 New Comment:
Hello, I too have been able to recreate this bug with php 5.2.9 It occurrs when UPGRADING from Mysql 5.0.45 x64 el5 to Mysql 5.1.x x64 el5. (mysql 5.1.25 5.1.30 5.1.33 5.1.34 The error occurrs when I recompile PHP against the new Mysql-devel 5.1.x header files. I've tried compiling against the native PHP mysql libraries and also specifying the mysql libraries in /usr. I believe that the heap error occurrs due to a debug necesity becuase I followed the advice of a previous comment(THANK YOU!!!!) I placed enable-debug in the configure command and IT WORKS! I can't pin it down for sure but there is some incompatibility with mysql 5.1.x and the php-mysql extension that calls a function from the debug extension. I think the solution lies in checking the mysql extension in PHP and finding where the debug function is called and only calling with the debug extension enabled / loaded. Previous Comments: ------------------------------------------------------------------------ [2009-03-20 09:27:23] wilfried dot loche at fr dot adp dot com Hello, This is the first time I see exactly the same message you all have. You may use an accelerator (such as eAccelerator, I saw many results for this error on their forums). Personally, I try to use the Zend Accelerator and Loader provided by the Zend Platform 3.6.2 and it fails (Fatal Error on accessing an object as an array... although it implements the ArrayAccess!). Yesterday evening, I tried to blacklist the supposed 'bad' file and got the famous error 'zend_mm_heap corrupted' :) I soon as I disable the 'Code Acceleration', I got no troubles. It seems it's not due to the PHP Core, but maybe a change on it that has broken the third party accelerators... Voila :), Wilfried Loche ------------------------------------------------------------------------ [2009-03-18 09:25:20] dwdkl dot pub at o2 dot pl Apache 2.0.x - problem does not occur. ------------------------------------------------------------------------ [2009-03-13 10:57:32] dwdkl dot pub at o2 dot pl I have this problem too. Configuration: PHP 5.2.8 (Win32), Apache 2.2.11, MySQL 5.1.31, OS WinXP. I have this bug, when i try run phpmyadmin (all versions). Apache restarted and i found in apache's logs the message "zend_mm_heap corrupted". Sorry, my english is weak ;-) ------------------------------------------------------------------------ [2009-03-12 08:32:43] john dot glazebrook at guava dot com I'm surprised this isn't being talked about more. I see it occasionally, and I am using Zend Framework. Why don't other people using ZF see it? ------------------------------------------------------------------------ [2009-03-12 07:52:07] laurynas dot butkus at gmail dot com Soletan, thanks for advice but it seems that Suhosin is not 100% solution. We are running Ubuntu Hardy (8.04 LTS) server, 32bit. Using standard PHP 5.2.4 Apache2 module package which already includes Suhosin patch. We still experience this bug... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40479 -- Edit this bug report at http://bugs.php.net/?id=40479&edit=1