Bug #66285 [Com]: OPCache regression
| From: | mitko at banksoft-bg dot com | Date: | Thu, 06 Feb 2014 16:16:48 +0000 |
| Subject: | Bug #66285 [Com]: OPCache regression | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184187@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66285&edit=1
ID: 66285
Comment by: mitko at banksoft-bg dot com
Reported by: roctom at gmail dot com
Summary: OPCache regression
Status: Feedback
Type: Bug
Package: opcache
Operating System: Debian Linux
PHP Version: 5.5.7
Block user comment: N
Private report: N
New Comment:
try
opcache.optimization_level=0xffffffef
in opcache.ini
Previous Comments:
------------------------------------------------------------------------
[2014-01-15 09:39:09] layanto at yahoo dot com
Re-tested pydio on PHP 5.5.8, still crashes fastcgi. Works fine with PHP 5.5.6.
------------------------------------------------------------------------
[2014-01-07 19:39:12] layanto at yahoo dot com
Possibly same bug on opcache?
See http://pyd.io/f/topic/php-clonenode-error/
------------------------------------------------------------------------
[2013-12-14 03:28:40] roctom at gmail dot com
Hi,
I'm unable to figure out a reproducing script at the moment. On the other hand I was able to
reproduce the issue in the PHP CLI with opcache.enable_cli=1.
When I run it a couple of times, I get those results:
Fatal error: Call to undefined function ÷^() in
/path/wp-content/themes/k2/app/includes/pluggable.php on line 314
Fatal error: Call to undefined function ¨¤Ã() in
/path/wp-content/themes/k2/app/includes/pluggable.php on line 314
Fatal error: Call to undefined function hé() in
/path/wp-content/themes/k2/app/includes/pluggable.php on line 314
Fatal error: Call to undefined function h§¼() in
/path/wp-content/themes/k2/app/includes/pluggable.php on line 314
Fatal error: Call to undefined function hgÃ
() in
/path/wp-content/themes/k2/app/includes/pluggable.php on line 314
Note that the "undefined function" in question is function_exists, which seems to get
stomped by junk. Let me know if there's anything else I could try/run that would help diagnose
this issue.
Thanks!
------------------------------------------------------------------------
[2013-12-13 18:12:04] krakjoe@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 the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2013-12-13 14:40:39] roctom at gmail dot com
Description:
------------
Hi,
I've just upgraded from PHP 5.5.5 to 5.5.7 and for some of my websites using a custom Wordpress
theme I get a fatal error.
I've pinpointed the issue being the opcache module because if I disable it, the problem goes
away.
Furthermore I've also tried to replicate the issue with PHP 5.5.6 (opcache enabled) and was
unable to do so, which seems to point that there was a change to the opcache code between 5.5.6 and
5.5.7.
I am currently running opcache with xdebug.
The error:
Fatal error: in /path/wp-content/themes/k2/app/includes/pluggable.php on line 314
The line:
if ( ! function_exists('k2_ping_start_el') ):
'./configure' '--sysconfdir=/etc' '--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--with-apxs2=/usr/sbin/apxs'
'--with-openssl' '--with-gd'
'--with-curl=/usr/src/curl-7.21.7/include' '--with-zlib'
'--enable-calendar' '--enable-mbstring' '--enable-zip'
'--enable-sockets' '--with-mcrypt' '--with-mysql=mysqlnd'
'--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-kerberos'
'--enable-ftp' '--disable-posix' '--enable-bcmath'
'--enable-gd-native-ttf' '--with-freetype-dir'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--with-xsl=/usr/local/lib' '--enable-exif' '--enable-opcache'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66285&edit=1