ID:               26771
 Updated by:       [EMAIL PROTECTED]
 Reported By:      info at tphnet dot com
-Status:           Open
+Status:           Verified
 Bug Type:         Apache2 related
-Operating System: Windows XP SP1
+Operating System: * (ZTS only!)
-PHP Version:      4.3.4
+PHP Version:      4CVS, 5CVS


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

[2004-01-21 06:05:02] info at tphnet dot com

I've tried the latest win32 stable and the problem has not been fixed.
Apache still crashes.
The Apache status code remains the same and commenting out the
'register_tick_function' line prevents the crash.

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

[2004-01-18 23:01:53] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



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

[2004-01-18 05:52:15] blaufalke at yahoo dot de

The error occurs also in this environment:
Windows XP SP 1
PHP 4.3.4
Apache 1.3.29

Apaches error.log (LogLevel debug) says:

[Sun Jan 18 11:53:59 2004] [info] Parent: Created child process 444
[Sun Jan 18 11:53:59 2004] [info] Parent: Duplicating socket 408 and
sending it to child process 444
[Sun Jan 18 11:54:00 2004] [info] BytesRead = 372 WSAProtocolInfo =
2006620
[Sun Jan 18 11:54:38 2004] [info] master_main: Child processed exited
prematurely. Restarting the child process.
[Sun Jan 18 11:54:38 2004] [info] Parent: Created child process 2952
[Sun Jan 18 11:54:38 2004] [info] Parent: Duplicating socket 408 and
sending it to child process 2952
[Sun Jan 18 11:54:38 2004] [info] BytesRead = 372 WSAProtocolInfo =
2006620
[Sun Jan 18 11:54:43 2004] [info] master_main: Child processed exited
prematurely. Restarting the child process.
[Sun Jan 18 11:54:43 2004] [info] Parent: Created child process 3824
[Sun Jan 18 11:54:43 2004] [info] Parent: Duplicating socket 408 and
sending it to child process 3824
[Sun Jan 18 11:54:43 2004] [info] BytesRead = 372 WSAProtocolInfo =
2006620
[Sun Jan 18 11:54:48 2004] [info] master_main: Child processed exited
prematurely. Restarting the child process.
[Sun Jan 18 11:54:48 2004] [info] Parent: Created child process 2992
[Sun Jan 18 11:54:48 2004] [info] Parent: Duplicating socket 408 and
sending it to child process 2992
[Sun Jan 18 11:54:48 2004] [info] BytesRead = 372 WSAProtocolInfo =
2006620

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

[2004-01-02 20:45:05] elite_eagle67 at hotmail dot com

I'd like to add that I am experiencing this issue as well. And for the
devs, this seems to be a windows only issue so you won't be reproducing
it on Linux :)

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

[2004-01-02 19:23:33] info at tphnet dot com

Description:
------------
While searching the bug database I found some similar problems, but all
were suspended. I wasn't sure if it was useful to reply to one of those
(Most recent one: http://bugs.php.net/bug.php?id=26286). Well anyways,
here goes:

The problem is very simple. I just copy and paste the 'tick' example
from the php manual into a new php file an try to execute it on my
apache2 server.
The apache child process crashes, restarts, crashes, restarts and
eventually just stops restarting. When I comment out the line
'register_tick_function', everyting works just fine.
Also, when I start the file from the CLI version of PHP it is executed
without any problems.

I'm using PHP 4.3.4 and Apache 2.0.48 (in conjunction with
php4apache2.dll).

Reproduce code:
---------------
http://nl.php.net/manual/en/control-structures.declare.php

See Example 11-1

Actual result:
--------------
[Sat Jan 03 01:11:04 2004] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Sat Jan 03 01:11:04 2004] [notice] Parent: Created child process 3036
[Sat Jan 03 01:11:04 2004] [notice] Child 3036: Child process is
running
[Sat Jan 03 01:11:04 2004] [notice] Child 3036: Acquired the start
mutex.
[Sat Jan 03 01:11:04 2004] [notice] Child 3036: Starting 250 worker
threads.

Small snippit from my apache2 error.log. It's filled with the above
lines, the status code is the same for every restart.


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


-- 
Edit this bug report at http://bugs.php.net/?id=26771&edit=1

Reply via email to