ID:               26286
 Comment by:       briankd at sonic dot net
 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:

Not sure I found the cause for the rest of you, but
I can turn this error on and off like a light switch.
Example code is below.

To be brief about it: on a WinXP platform, the Apache 
error:
"Parent: child process exited with status 3221225477"
means:
"Look in the Windows Event Viewer, Application Log,
for more information."

In the event viewer, I found the following application
error entry for each occurrence:
    "Faulting application Apache.exe, version 2.0.55.0, 
     faulting module php5ts.dll, version 5.0.5.5, 
     fault address 0x00007764."  
The module was always php5ts.dll, but the address was
any one of these: 3f530, 3f757, 3e63c, d425, 4ade6, or
7764.  I think the address will move based on the size
of the php source.

Another detail here: Apache would restart automatically
after the error, but it would never respond to me until
I manually stopped and started it.

How I made it fail:

I had one shtml module that included two PHP modules.
I shrunk them down to include only what it takes to
create the failure, then tested them again after
rebooting.  Here are the three modules that create the
failure:

links.shtml:
    <!DOCTYPE html PUBLIC 
         "-//W3C//DTD XHTML 1.0 Transitional//EN"   
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html>
    <body>
      <div id="content">
        <div id="menu">
          <!--#include virtual="lib/linkcats.php" -->
        </div>
        <!--#include virtual="lib/listlinks.php" -->
      </div>
    </body>
    </html>

lib/linkcats.php:
    <?php
      echo "<p>HELLO!</p><br>\n" ;
    ?>


lib/listlinks.php:
    <?php
      echo "<p>HELLOO!</p><br>\n" ;
      /* Comment out next line to make error go away */
      $oldcat = "" ;
    ?>

The Apache / PHP is as installed by the XAMPP environment,
as recommended in the PHPEclipse install docs.  mod_include
has been activated.
    Apache/2.0.55 (Win32)
    PHP/5.0.5

    Eclipse SDK Version: 3.1.1 Build id: M20050929-0840
    PHPEclipse plugin 1.1.7

The problem does not occur on my Debian Server.  I think all
this means that module php5ts.dll, or the module that calls
it, is not managing memory properly.

--Brian


Previous Comments:
------------------------------------------------------------------------

[2005-11-04 18:40:15] adrian dot price at gmail dot com

I'm experiencing the same issue with WinXP SP2, Apache 2.0.54, MySQL
4.1.14 and PHP 5.0.5. I get the same errors in my logfile. It fairly
intermittent so very difficult to track down, but it seems to happen
the first time I try to read a SHMOP block after it's been written,
*sometimes*. Sometimes the first read is just fine. As far as I can
tell, when it does happen, it seems to always be on the first read.
It's definitely somehow related to SHMOP, because if I disable the part
of my app using SHMOP the error stops occurring. This is endlessly
frustrating not because of the times it doesn't work, but because of
all the times it does - I nearly have a working feature that nets a
significant performance boost, but it's too unpredictable for
production use :(

------------------------------------------------------------------------

[2005-10-24 04:34:41] maranax at mail dot ru

Hello, I'v just had this bug and found something interesting. I'm
using:
windows 2000
apache 2.0.55
php 5.0.5
interbase 7.1 SP2
And what I found: if I use keyword BOOLEAN in difinitions of my DB
tables or in the parameters in stored procedures than this bug happens
!
I changed BOOLEN to INTEGER and it disappeared !
Son I'll try to use BOOLEAN again (in another table) and check out
whether it will cause the bug to happen.

------------------------------------------------------------------------

[2005-10-10 07:02:03] Austin519 at aol dot com

Ok...turns out for me at least the problem was Zend.  I uninstalled it
(removed it from php.ini to test first) and it worked fine.  Guess I'll
just have to do without Zend.

Austin519

------------------------------------------------------------------------

[2005-10-10 06:44:59] Austin519 at aol dot com

I'm having this exact same problem running Win XP Pro SP2, Apache
2.0.54, and PHP 5.0.4.  This happens specifically when I'm trying to
use the search function within Gallery2 (menalto.gallery.com).

------------------------------------------------------------------------

[2005-10-03 11:38:52] mark dot pearson at capita dot co dot uk

I forgot to add that the script submitted in my last message:

$excel = new COM('Excel.Application')

works perfectly when run from the command line.

------------------------------------------------------------------------

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

Reply via email to