php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36893 Apache or PHP Crash ?
Submitted: 2006-03-28 15:52 UTC Modified: 2006-04-06 01:00 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:3 (100.0%)
From: pigo at mail dot pigo dot idv dot tw Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.1.2 OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pigo at mail dot pigo dot idv dot tw
New email:
PHP Version: OS:

 

 [2006-03-28 15:52 UTC] pigo at mail dot pigo dot idv dot tw
Description:
------------
Apache or PHP Crash ?
I am testing Zend Framework.
When I give $this->view->setScriptPath( ) a error path like "c:\\wwwrootabc\www2.pigo\\www\application\"
My browser will waiting for response ...
My CPU Loading is lower , apache is still running .
Ok . I try to open my brower to view a script info.php( <?php info(); ?>
The browser is also wating ..... ha
But apache's cpu loading still lower and not die ...
Anyone help me ?

Reproduce code:
---------------
class IndexController extends Zend_Controller_Action 
{
    /**
     * Enter description here...
     *
     * @var Zend_View
     */
    protected $view;
    public function __construct() {
	    $this->view = new Zend_View();
	    $this->view->setScriptPath("c:\\wwwroot\\www2.pigo\\www\\application\\views");
    }

Expected result:
----------------
I am testing Zend Framework.
When I give $this->view->setScriptPath( ) a error path like "c:\\wwwrootabc\www2.pigo\\www\application\"
My browser will waiting for response ...
My CPU Loading is lower , apache is still running .
Ok . I try to open my brower to view a script info.php( <?php info(); ?>
The browser is also wating ..... ha
But apache's cpu loading still lower and not die ...
Anyone help me ?

Actual result:
--------------
When I run the error code . no php error . no apache error ...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-28 16:03 UTC] pigo at mail dot pigo dot idv dot tw
If I stop apache and start apache.
Than I open browser to view info.php , it can run.
But I view the test.php it is still waiting apache response ...
 [2006-03-28 16:06 UTC] tony2001@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-03-28 17:01 UTC] pigo at mail dot pigo dot idv dot tw
My apache version is 2.0.55
I changed the apache setting to php cgi mode
I got the error log

Premature end of script headers: php-cgi.exe
 [2006-03-28 17:21 UTC] tony2001@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-03-29 16:17 UTC] pigo at mail dot pigo dot idv dot tw
I test the site example also happed eroor
http://wiki.cc/php/Zend_Controller


In the application.php line 22 code is 
$this->view->setScriptPath( PATH );
if the PATH is a wrong path , it also waiting response.
I think this is not a zend framework bug , because I got new apache error log :

[Wed Mar 29 22:10:30 2006] [debug] child.c(758): Child 360: Worker thread 0 exiting.
[Wed Mar 29 22:10:31 2006] [notice] Child 360: Waiting for 250 worker threads to exit.
[Wed Mar 29 22:10:31 2006] [notice] Child 360: All worker threads have exited.
[Wed Mar 29 22:10:31 2006] [notice] Child 360: Child process is exiting
[Wed Mar 29 22:10:32 2006] [notice] Parent: Child process exited successfully.
[Wed Mar 29 22:10:32 2006] [info] removed PID file C:/Program Files/Apache Group/Apache2/logs/httpd.pid (pid=3884)
[Wed Mar 29 22:10:34 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.3RC2-dev configured -- resuming normal operations
[Wed Mar 29 22:10:34 2006] [notice] Server built: Oct  9 2005 19:16:56
[Wed Mar 29 22:10:34 2006] [notice] Parent: Created child process 3052
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(480): Parent: Sent the scoreboard to the child
[Wed Mar 29 22:10:34 2006] [notice] Child 3052: Child process is running
[Wed Mar 29 22:10:34 2006] [info] Parent: Duplicating socket 280 and sending it to child process 3052
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(401): Child 3052: Retrieved our scoreboard from the parent.
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(598): Parent: Sent 1 listeners to child 3052
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(557): Child 3052: retrieved 1 listeners from parent
[Wed Mar 29 22:10:34 2006] [notice] Child 3052: Acquired the start mutex.
[Wed Mar 29 22:10:34 2006] [notice] Child 3052: Starting 250 worker threads.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker thread 0 starting.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker thread 1 starting.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker thread 2 starting.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker thread 3 starting.

Apache restart by itself , than apache will not response any data ... and no any access log
 [2006-03-29 16:21 UTC] pigo at mail dot pigo dot idv dot tw
Sorry ... the correctly log here :
Look : "[Wed Mar 29 22:03:59 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting."


[Wed Mar 29 22:03:53 2006] [debug] child.c(697): Child 2720: Worker thread 248 starting.
[Wed Mar 29 22:03:53 2006] [debug] child.c(697): Child 2720: Worker thread 249 starting.
[Wed Mar 29 22:03:59 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Wed Mar 29 22:03:59 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.3RC2-dev configured -- resuming normal operations
[Wed Mar 29 22:03:59 2006] [notice] Server built: Oct  9 2005 19:16:56
[Wed Mar 29 22:03:59 2006] [notice] Parent: Created child process 2476
[Wed Mar 29 22:03:59 2006] [debug] mpm_winnt.c(480): Parent: Sent the scoreboard to the child
[Wed Mar 29 22:03:59 2006] [notice] Child 2476: Child process is running
[Wed Mar 29 22:03:59 2006] [info] Parent: Duplicating socket 280 and sending it to child process 2476
[Wed Mar 29 22:03:59 2006] [debug] mpm_winnt.c(401): Child 2476: Retrieved our scoreboard from the parent.
[Wed Mar 29 22:03:59 2006] [debug] mpm_winnt.c(598): Parent: Sent 1 listeners to child 2476
[Wed Mar 29 22:03:59 2006] [debug] mpm_winnt.c(557): Child 2476: retrieved 1 listeners from parent
[Wed Mar 29 22:03:59 2006] [notice] Child 2476: Acquired the start mutex.
[Wed Mar 29 22:03:59 2006] [notice] Child 2476: Starting 250 worker threads.
[Wed Mar 29 22:03:59 2006] [debug] child.c(697): Child 2476: Worker thread 0 starting.
[Wed Mar 29 22:03:59 2006] [debug] child.c(697): Child 2476: Worker thread 1 starting.
[Wed Mar 29 22:03:59 2006] [debug] child.c(697): Child 2476: Worker thread 2 starting.
[Wed Mar 29 22:03:59 2006] [debug] child.c(697): Child 2476: Worker thread 3 starting.
[Wed Mar 29 22:03:59 2006] [debug] child.c(697): Child 2476: Worker thread 4 starting.
[Wed Mar 29 22:03:59 2006] [debug] child.c(697): Child 2476: Worker thread 5 starting.
 [2006-03-29 16:58 UTC] derick@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-04-06 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 12:01:33 2024 UTC