#25570 [Com]: Some requests cause Apache to crash/restart
| From: | joel at preacherboy dot net | Date: | Thu, 21 Oct 2004 14:35:28 +0000 |
| Subject: | #25570 [Com]: Some requests cause Apache to crash/restart | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67898@lists.php.net to get a copy of this message | ||
ID: 25570
Comment by: joel at preacherboy dot net
Reported By: robert at profundis dot se
Status: Feedback
Bug Type: Apache2 related
Operating System: WinXP SP1
PHP Version: 5CVS-2004-04-22 (dev)
Assigned To: jorton
New Comment:
So what version of 5.x will have this fix? The latest public release is
5.0.2, which is affected by this problem.
Previous Comments:
------------------------------------------------------------------------
[2004-10-21 11:31:50] jorton@php.net
If you test the patch (it should apply to 4.3.x just the same) and tell
me it works, yes!
------------------------------------------------------------------------
[2004-10-21 11:00:05] robert at profundis dot se
Will the fix be applied to 4.x.x as well? I'm not really ready for the
leap to v5 for production just yet.
------------------------------------------------------------------------
[2004-10-21 10:48:20] jorton@php.net
Fixing Version/OS/Summary...
------------------------------------------------------------------------
[2004-10-21 10:28:17] jorton@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
I've committed a possible fix for this to 5.0 and 5.1, please apply:
http://cvs.apache.org/~jorton/php_abort.diff
or wait for a 5.0-dev or 5.1-dev snapshot to show up with this applied.
------------------------------------------------------------------------
[2004-10-20 10:47:31] jorton@php.net
Ah, good call. The interesting exit(-1) call is in Zend: _zend_bailout
to be specific.
And in fact zend_bailout is called from php_handle_aborted_connection,
which can be called outside the zend_first_try/zend_end_try block in
the 2.0 SAPI, so that looks like the bug.
------------------------------------------------------------------------
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/25570
--
Edit this bug report at http://bugs.php.net/?id=25570&edit=1