Bug #46025 [Com]: zend_bailout can deadlock APC
| From: | pierre at archlinux dot de | Date: | Wed, 17 Aug 2011 21:57:09 +0000 |
| Subject: | Bug #46025 [Com]: zend_bailout can deadlock APC | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162637@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=46025&edit=1
ID: 46025
Comment by: pierre at archlinux dot de
Reported by: askalski at gmail dot com
Summary: zend_bailout can deadlock APC
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: redhat
PHP Version: 5.2.6
Assigned To: gopalv
Block user comment: N
Private report: N
New Comment:
This issue is still reproducable using php-fpm and PHP 5.3.6 with APC 3.1.9
Previous Comments:
------------------------------------------------------------------------
[2010-11-07 21:08:38] felipe@php.net
Gopal, this issue has been already fixed?
------------------------------------------------------------------------
[2010-06-24 18:52:07] askalski at gmail dot com
A note about the above patches: They work with the stable 3.0.19 release of APC, but not the beta
3.1.3p1. In the beta version, compilation was moved inside a
HANDLE_BLOCK_INTERRUPTIONS/HANDLE_UNBLOCK_INTERRUPTIONS block, so the zend_bailout deferral is no
longer safe. For example, a syntax error in the script will result in a partially compiled opcode
array to be cached in APC. I don't yet have an alternate solution.
------------------------------------------------------------------------
[2010-05-31 06:54:14] askalski at gmail dot com
I uploaded patches against the latest 5.1, 5.2, and 5.3 versions of PHP, for sites with production
issues that can't afford to wait years for an upstream fix.
------------------------------------------------------------------------
[2009-10-21 18:42:04] askalski at gmail dot com
We are using a modified 5.2 in production, so a patch against 5.2.11 (the latest release in that
series) would be good.
Thanks,
Andy
------------------------------------------------------------------------
[2009-10-21 18:01:00] shire@php.net
Lucas Nealan and I are working on fixing some items in the signals patch, and would like to push
forward on this getting integrated in core. Would you be willing to try the patch for PHP to see if
it corrects your problem? It would be of great use to know that it fixes your specific issue. If
so let me know which specific version of PHP you want a patch against and I'll make sure we get
you the latest one that cleanly patches against it.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=46025
--
Edit this bug report at https://bugs.php.net/bug.php?id=46025&edit=1