#44198 [Opn->Csd]: Apache 1.3.41 Child processed exited prematurely.
| From: | jean at upbear dot com | Date: | Sun, 09 Mar 2008 03:21:26 +0000 |
| Subject: | #44198 [Opn->Csd]: Apache 1.3.41 Child processed exited prematurely. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123094@lists.php.net to get a copy of this message | ||
ID: 44198
User updated by: jean at upbear dot com
Reported By: jean at upbear dot com
-Status: Open
+Status: Closed
Bug Type: Reproducible crash
Operating System: win32 FreeBSD
PHP Version: 4.4.8
New Comment:
Strange Strange Strange ...
After refactoring the application and played a bit with class
definition and code weaving, I got execution traces and error message
related to the call of the function preg_match_all. Preg_match_all was
call with a variable non declared as array, I did and things were going
back.
So to "solve" this, I had to rework code and declaration of code, to
get error messages and then fix the code.
Strange indeed !
after fix, code worked in both environment
Previous Comments:
------------------------------------------------------------------------
[2008-02-21 14:25:44] jean at upbear dot com
typo : reproduction were under winxp apache version 1.3.39 (same as
ISP) and apapche 1.3.41 (newess version available in the 1.3 branch).
Note : ISP in under FreeBDS virtual hosting
------------------------------------------------------------------------
[2008-02-21 07:44:17] jean at upbear dot com
Description:
------------
PHP Script crash apache child process
Originaly on FreeBDS virtual hosting and reproductible under winxp with
apache 1.3.30 and 1.3.41 with windows version of PHP 4.4.8
Reproduce code:
---------------
unable to localize code or any specific line of code/instruction - no
win32 backtrace available
Expected result:
----------------
Under FreeBSD PHP 4.4.3 (virtual hosting or not) the script is running
completely and producing web pages.
Actual result:
--------------
web page with Zero byte return from Apache http request
cause :
[Thu Feb 21 02:22:00 2008] [info] master_main: Child processed exited
prematurely. Restarting the child process.
[Thu Feb 21 02:22:00 2008] [info] Parent: Created child process 2176
[Thu Feb 21 02:22:00 2008] [info] Parent: Duplicating socket 156 and
sending it to child process 2176
[Thu Feb 21 02:22:00 2008] [info] BytesRead = 372 WSAProtocolInfo =
2006620
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44198&edit=1