php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37765 Parent: child process exited with status 3221225477 -- Restarting.
Submitted: 2006-06-09 14:16 UTC Modified: 2006-11-01 10:18 UTC
Votes:14
Avg. Score:4.6 ± 0.8
Reproduced:14 of 14 (100.0%)
Same Version:4 (28.6%)
Same OS:10 (71.4%)
From: wangjianjin at hotmail dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 5CVS-2006-06-09 (snap) OS: Windows 2003 Server
Private report: No CVE-ID: None
 [2006-06-09 14:16 UTC] wangjianjin at hotmail dot com
Description:
------------
Environment: Apache 2.2.2+PHP5.cvs snap+MySQL 5.0.21+windows 2003 server the application is Tikiwiki. (tikiwiki.org)
  the PHP.ini 
     mysql.allow_persistent = On, 
     mysql.max_persistent = -1,
     mysql.connect_timeout = -1
When I do some operations editing page, and want to save it to mySQL database. after saving operations to database, in PHP script, I will send this to display the edited page.  
    header("location: tiki-index.php?page=$page");
Then errors ocurr.the browser( whatever IE,netscape, firefox) will crash. IE -page can not be displayed, netscape-get no data, firefox--connection is reset. 
   Before i send Function 'header', i checked the connection status with MySQL, it is normal. although only I am connecting to this WEB server, but it still displayed three processes connecting with MySQL. 
   After I send Function 'header', All the processes connecting to the MySQL are broken.  Apache error.log

Parent: child process exited with status 3221225477 -- Restarting.
Apache/2.2.2 (Win32) PHP/5.2.0-dev configured -- resuming normal operations
Server built: Apr 29 2006 18:32:31
Parent: Created child process 4728
Child 4728: Child process is running
Child 4728: Acquired the start mutex.
Child 4728: Starting 250 worker threads.
Child 4728: Starting thread to listen on port 8089.
Child 4728: Starting thread to listen on port 8080.
Child 4728: Starting thread to listen on port 80.

if I change to google.com--header("location: http://www.google.com/"), it is no problem. just header("location: tiki-index.php?page=$page"); have some actions with MySQL. 
   I do not know who causes who? SQL operations cause the Apache child process exit, or child process exit cause the broken SQL connection?
   what situation will the apache produce "Parent: child process exited with status 3221225477 "?  
  


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-14 16:53 UTC] sniper@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.


 [2006-06-15 16:40 UTC] wangjianjin at hotmail dot com
I have tried use the EasyPHP. the Apache do not report this kind of errors
 [2006-06-16 09:59 UTC] mike@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2006-06-22 16:55 UTC] jwisnewski at sensable dot com
Here is a minimalish testcase that causes the error on my system (Use text between $$)


$ ))Cohen-Steiner((  ?Restricted delauney triangulations and normal 

cycles?.   are estimates of 

the principle curvature directions at the vertex.  Once we have computed principle curvatures for every isosurface 

vertex, we can use the jack triangle floodfiller to flood-follow lines of curvature. The complexity here is how to 

sample the curvature fields to produce curves.

*) $
 [2006-06-24 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-11-01 10:14 UTC] wangjianjin at hotmail dot com
At last, I find the cause. PHP+APACHE must be compatible.
it is not Tikiwiki problem. 

Please try the different (stable version) combo of PHP+APACHE on Windows 2003 server platform. then you would get what you want.
 [2006-11-01 10:18 UTC] wangjianjin at hotmail dot com
BTW, I GOT IT in June. I forgot to share with you. Sorry.
so you might try the stable version in May or June of 2006. not CVS versions.
 [2010-12-09 09:49 UTC] zoltan dot ackermann at freemail dot hu
Solution:
1. Open php.ini
2. Locate and comment out "error_log =" lines

Description:
In my environment php pages on my root page stopped working when I set the 
location of the error log file in the php.ini. I got the error message about 
Apache restarting as described in this topic. Once I have commented out the 
mentioned line php pages started to work again.
Note: I have tried to put the log file among other html and php files within the 
public area of Apache htdocs.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC