#26771 [Com]: register_tick_funtions crashes apache2 child process
From: cpuidle at gmx dot de Date: Sun, 18 Apr 2004 11:07:24 +0000 Subject: #26771 [Com]: register_tick_funtions crashes apache2 child process References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-58327@lists.php.net to get a copy of this message
ID: 26771 Comment by: cpuidle at gmx dot de 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: 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... Previous Comments: ------------------------------------------------------------------------ [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
Thread (31 messages)
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Opn->Fbk]: register_tick_funtions crashes apache2 child process
- #26771 [Fbk->Opn]: register_tick_funtions crashes apache2 child process
- #26771 [Opn->Ver]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Com]: register_tick_funtions crashes apache2 child process
- #26771 [Ver->Sus]: register_tick_funtions crashes apache2 child process
- #26771 [Sus]: register_tick_funtions crash under threaded webservers
- #26771 [Com]: register_tick_funtions crash under threaded webservers
- #26771 [Com]: register_tick_funtions crash under threaded webservers
- #26771 [Com]: register_tick_funtions crash under threaded webservers
- #26771 [Com]: register_tick_funtions crash under threaded webservers
- #26771 [Sus->Fbk]: register_tick_funtions crash under threaded webservers
| « previous | php.bugs (#58327) | next » |
|---|