Bug #46025 [Com]: zend_bailout can deadlock APC

2013-03-13 Thread hardos at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=46025edit=1

 ID: 46025
 Comment by: hardos at gmail dot com
 Reported by:askalski at gmail dot com
 Summary:zend_bailout can deadlock APC
 Status: No 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:

Any updates on this bug?. We faced a similar issue in production with php 
5.3.10 
and different versions of APC (3.0.19 and 3.1.9). We could take in and try out 
the 
patches provided, but a  review of the patches / feedback to the bug would be 
great. Any reason they haven't been taken in ?


Previous Comments:

[2013-02-18 00:33:55] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.


[2012-07-03 18:09:33] askalski at gmail dot com

Recent versions of APC will also require the patch from bug #59281 in 
conjunction with the PHP-side patch on this ticket.


[2012-05-18 14:55:44] zhangjiayin99 at gmail dot com

This issue is still reproducable using php-fpm and PHP 5.3.10 with APC 3.1.9


[2011-08-17 21:57:09] pierre at archlinux dot de

This issue is still reproducable using php-fpm and PHP 5.3.6 with APC 3.1.9


[2010-11-07 21:08:38] fel...@php.net

Gopal, this issue has been already fixed?




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=46025edit=1


Bug #46025 [Com]: zend_bailout can deadlock APC

2013-03-13 Thread askalski at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=46025edit=1

 ID: 46025
 Comment by: askalski at gmail dot com
 Reported by:askalski at gmail dot com
 Summary:zend_bailout can deadlock APC
 Status: No 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:

I haven't tested against PHP 5.4 yet; I wonder if some of the lack of attention 
can be attributed to the planned bundling of Zend Optimizer+ with 5.5.  The 
patch works (at least on the versions I've tested), but one drawback of the 
patch as written is that it breaks API compatibility.  Modules need to be 
rebuilt against the updated Zend/zend.h header file to honor the new 
HANDLE_BLOCK_INTERRUPTIONS behavior.


Previous Comments:

[2013-03-14 02:13:21] hardos at gmail dot com

Any updates on this bug?. We faced a similar issue in production with php 
5.3.10 
and different versions of APC (3.0.19 and 3.1.9). We could take in and try out 
the 
patches provided, but a  review of the patches / feedback to the bug would be 
great. Any reason they haven't been taken in ?


[2013-02-18 00:33:55] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.


[2012-07-03 18:09:33] askalski at gmail dot com

Recent versions of APC will also require the patch from bug #59281 in 
conjunction with the PHP-side patch on this ticket.


[2012-05-18 14:55:44] zhangjiayin99 at gmail dot com

This issue is still reproducable using php-fpm and PHP 5.3.10 with APC 3.1.9


[2011-08-17 21:57:09] pierre at archlinux dot de

This issue is still reproducable using php-fpm and PHP 5.3.6 with APC 3.1.9




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=46025edit=1


Bug #46025 [Com]: zend_bailout can deadlock APC

2012-07-03 Thread askalski at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=46025edit=1

 ID: 46025
 Comment by: askalski at gmail dot com
 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:

Recent versions of APC will also require the patch from bug #59281 in 
conjunction with the PHP-side patch on this ticket.


Previous Comments:

[2012-05-18 14:55:44] zhangjiayin99 at gmail dot com

This issue is still reproducable using php-fpm and PHP 5.3.10 with APC 3.1.9


[2011-08-17 21:57:09] pierre at archlinux dot de

This issue is still reproducable using php-fpm and PHP 5.3.6 with APC 3.1.9


[2010-11-07 21:08:38] fel...@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.




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=46025edit=1


Bug #46025 [Com]: zend_bailout can deadlock APC

2012-05-18 Thread zhangjiayin99 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=46025edit=1

 ID: 46025
 Comment by: zhangjiayin99 at gmail dot com
 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.10 with APC 3.1.9


Previous Comments:

[2011-08-17 21:57:09] pierre at archlinux dot de

This issue is still reproducable using php-fpm and PHP 5.3.6 with APC 3.1.9


[2010-11-07 21:08:38] fel...@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




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=46025edit=1


Bug #46025 [Com]: zend_bailout can deadlock APC

2011-08-17 Thread pierre at archlinux dot de
Edit report at https://bugs.php.net/bug.php?id=46025edit=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] fel...@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] sh...@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=46025edit=1


Bug #46025 [Com]: zend_bailout can deadlock APC

2010-06-24 Thread askalski at gmail dot com
Edit report at http://bugs.php.net/bug.php?id=46025edit=1

 ID:   46025
 Comment by:   askalski at gmail dot com
 Reported by:  askalski at gmail dot com
 Summary:  zend_bailout can deadlock APC
 Status:   Suspended
 Type: Bug
 Package:  Reproducible crash
 Operating System: redhat
 PHP Version:  5.2.6

 New Comment:

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.


Previous Comments:

[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] sh...@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.


[2009-02-27 20:09:27] pierre at archlinux dot de

This problem is still reproducable with version 5.2.9. The cgi version
is affected, too (as expected).


[2009-02-15 00:01:20] dan at archlinux dot org

Any progress here? This is definitely reproducible and we have seen it
on archlinux.org about once every 3 or 4 days- it kind of stinks. Is
there any current workaround besides increasing the timeout value and
hoping for the best?



Running:

Apache 2.2.11

PHP 5.2.8

APC 3.0.19




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/bug.php?id=46025


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