ID:               26771
 Comment by:       joker at localfoo dot info
 Reported By:      info at tphnet dot com
 Status:           Verified
 Bug Type:         Apache2 related
 Operating System: * (ZTS only!)
 PHP Version:      4CVS, 5CVS (2004-02-25)
 New Comment:

This script crashes (every environment I gave a try) under WinXP/SP1
with the following packages:

Apache 2.0.49
PHP 4.3.7
(with or without ZendOptimizer 2.5.1)
PHP 4.3.8-dev (win32-STABLE-200406272030)
PHP 5.0.0-dev (win32-200406271830)
(hope this information is somewhat new here)

The crash never occurs in CGI mode, only using the module


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

[2004-04-19 23:41:51] banterbubba at yahoo dot com

Any resolution? I was thinking that it might be Apache/PHP on Windows.
I have another developer who runs the same config as I do, but on Linux
and has no problems. Is is a Windows conflict? We may just switch the
OS...

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

[2004-04-18 13:07:22] cpuidle at gmx dot de

Similiar Issue, but not register_ticks-related:
[Sun Apr 18 12:56:48 2004] [notice] Parent: child process exited with
status 128 -- Restarting.
[Sun Apr 18 12:56:49 2004] [notice] Parent: Created child process 3824
[Sun Apr 18 12:56:49 2004] [notice] Child 3824: Child process is
running
[Sun Apr 18 12:56:49 2004] [notice] Child 3824: Acquired the start
mutex.
[Sun Apr 18 12:56:49 2004] [notice] Child 3824: Starting 64 worker
threads.

Happening e.h. with osCommerce and custom apps. Not always
reproducible...

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

[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