ID: 26286 Comment by: foxinforestfire at yahoo dot com Reported By: igg10 at alu dot ua dot es Status: No Feedback Bug Type: Apache2 related Operating System: Windows 2000 PHP Version: 4.3.4 New Comment:
I've found that the error seems to occur with a high usage of references. I've had it occur to me twice under different conditions. Situation A: I have class A which accepts a pointer to class B and calls functions recursively down the class B and any classes it has pointers to. The error occured when I made a minor programming mistake and added a class to itself throwing PHP into a recursive infinite loop. Situation B(as of yet unresolved): I have several classes which require pointers to one another to function. During a class's construction, it uses several global functions that I have which check to see if a specific instance of a class exits(they all have IDs) and if so it returns a reference to the existing class. If not, it creates a new instance, saves it, and returns a reference. I'm not sure what is going on, but I'm relatively sure it is another recursive error, because I could potentially step through the classes infinitively. But, I had hoped this wouldn't be a problem seeing as I am using pointers/references, and not continuously creating new copies of objects. Yet, the problem persists and I'm still having issues with apache being killed off by windows. Previous Comments: ------------------------------------------------------------------------ [2004-11-17 20:42:41] pascal dot court at bluewin dot ch I have exactly the same problem. I use Windows XP French SP2 Apache 2.0.52 PHP 4.3.9 ------------------------------------------------------------------------ [2004-11-16 12:38:10] php_bug at cklowe dot com There is a syndrome of bugs here. http://www.google.com/search?q=+site:bugs.php.net+3221225477 reports 47 hits. 3221225477 equates to 0xC0000005 . Could this be Zend bailing out? ------------------------------------------------------------------------ [2004-11-08 17:22:27] cpuidle at gmx dot de Same issue for me, happend when running Mantis 0.19.0 against PHP 5.0.1: [Mon Nov 08 17:18:56 2004] [notice] Parent: Created child process 3080 [Mon Nov 08 17:18:58 2004] [notice] Child 3080: Child process is running [Mon Nov 08 17:18:58 2004] [notice] Child 3080: Acquired the start mutex. [Mon Nov 08 17:18:58 2004] [notice] Child 3080: Starting 20 worker threads. [Mon Nov 08 17:19:07 2004] [notice] Parent: child process exited with status 3221225477 -- Restarting. ------------------------------------------------------------------------ [2004-10-15 14:52:00] jonathan at schwarzelan dot de As said for bug 25570, to me it seems they are kind of related - having a large 2d-array, just filling it with data (140x4 each about 100chars) results to Apache2.0.50 to crash (php 5.0.2, aswell as 5.1.0-dev) on W2k and WXP Trying outputting the generated Data leads to bug 25570 - ------------------------------------------------------------------------ [2004-10-06 20:29:54] daukan at thelastgate dot com winxp pro sp2 apache 2 php 5.0.0 After I change all the bcpow() functions to pow() it hasn't crashed. example: if(rand(1,10)+bcpow($pstat,2) > rand(1,8)+bpow($estat,2)) to if(rand(1,10)+pow($pstat,2) > rand(1,8)+pow($estat,2)) ------------------------------------------------------------------------ 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/26286 -- Edit this bug report at http://bugs.php.net/?id=26286&edit=1