ID:               36455
 Updated by:       [EMAIL PROTECTED]
 Reported By:      haleden at colorado dot edu
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache related
 Operating System: redhat 7
 PHP Version:      5.1.2
 New Comment:

Since I am (and everyone else is) unable to reproduce it, we need
additional information for you, which you don't want to provide. So
yes, bogus. 


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

[2006-02-22 18:59:01] haleden at colorado dot edu

calling something bogus just because i won't upgrade a 
productions server that i do not have the rights to upgrade 
seems to be a very limiting approach.

look at the code!

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

[2006-02-22 18:45:49] [EMAIL PROTECTED]

>in what universe is it okay to have an unchecked recursive
> call to yourself and expect reasonable behavior?

In my universe this problem is not reproducible with any Apache & PHP
version I have.
Since you don't want to try to upgrade Apache -> bogus.

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

[2006-02-22 17:53:15] haleden at colorado dot edu

maybe they never stop their server or later version of 
apache don't properly call shutdown--i don't know. 

i don't need to upgrade my server because fixing the obvious 
bug gets rid of the problem. (in what universe is it okay to 
have an unchecked recursive call to yourself and expect 
reasonable behavior?)

to reproduce the problem:

apachectl stop
apachectl start
ps -auxwww|grep httpd --> no httpd processes
httpd -X
(segment violation, core dumped)

gdb httpd core
...
where
php_apache_shutdown_wrapper()
php_apache_shutdown_wrapper()
php_apache_shutdown_wrapper()
php_apache_shutdown_wrapper()
php_apache_shutdown_wrapper()
php_apache_shutdown_wrapper()
php_apache_shutdown_wrapper()
...

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

[2006-02-22 08:46:22] [EMAIL PROTECTED]

Works perfectly fine for me and N millions of PHP users.
Apache 1.3.27 is very old, try to upgrade it first.
And decribe in details what exactly did you do to reproduce it.

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

[2006-02-19 21:03:48] haleden at colorado dot edu

oops, forgot to say that the changes go in:

sapi/apache/mod_php5.c

...
int php_apache_shutdown_wrapper(void)
{
    apache_php_initialized = 0;
    /*  apache_sapi_module.shutdown(&apache_sapi_module);*/
    php_apache_request_shutdown(&apache_sapi_module);
...

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/36455

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

Reply via email to