ID: 34978 User updated by: cdc at ccicon dot com Reported By: cdc at ccicon dot com Status: Closed Bug Type: Scripting Engine problem Operating System: linux i386 PHP Version: 5.0.5 Assigned To: dmitry New Comment:
Awesome! I just checked out and built the latest php-5.0 cvs tree and the backport of the fix does indeed fix the ze1_compatibility_mode problems with sugar! Thanks! I'll pass the word along to the Sugar folks. Previous Comments: ------------------------------------------------------------------------ [2005-11-02 10:15:49] [EMAIL PROTECTED] As I expected, the bag was already fixed in CVS HEAD and PHP_5_1 togehter with bug #34712. Now I backported the fix to PHP_5_0 too. ------------------------------------------------------------------------ [2005-11-01 13:52:28] cdc at ccicon dot com I have tried to locate the exact code triggering the bug but have so far been unsuccessfull. So, I have been unable to come up with a simple test case. The bug is easily reproducible by trying to load and run the Sugar code available here http://www.sugarforge.org/frs/download.php/466/SugarSuite-3.5.1a.zip I can tell you that the bug still existed in the following CVS snapshot. php5-200510251830 If you believe that it might have been fixed in a newer snapshot, I would be happy to test it. Just point me at it. TTYL CDC ------------------------------------------------------------------------ [2005-11-01 13:40:27] [EMAIL PROTECTED] Can anybody provide a test case? May be this bug already fixed in HEAD and PHP_5_1. ------------------------------------------------------------------------ [2005-11-01 11:41:27] [EMAIL PROTECTED] This is really critical issue. Obviously that stupid "compatibility" mode misbehaves still? ------------------------------------------------------------------------ [2005-10-27 19:10:23] cdc at ccicon dot com The zend.ze_compatiblity_mode is set to 1 in the index.php file and several other files using the following test for php version number if (substr(phpversion(), 0, 1) == "5") { ini_set("zend.ze1_compatibility_mode", "1"); } Disabling this option (ie zend.ze_compatiblity_mode=0) under php 5.0.5 and under the last cvs snapshot that was recommended seems to solve this race condition. I have not tested the code fully to see that this hasn't introduced other problems. However, it does remove the out of memory and segfault problems. Were there changes made in php 5.0.5 and later that make this option obsolete. Or, will disabling this condition lead to other compatility issues? TTYL CDC ------------------------------------------------------------------------ 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/34978 -- Edit this bug report at http://bugs.php.net/?id=34978&edit=1
