php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66285 OPCache regression
Submitted: 2013-12-13 14:40 UTC Modified: 2014-12-30 10:42 UTC
Votes:5
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:4 (80.0%)
Same OS:2 (40.0%)
From: roctom at gmail dot com Assigned:
Status: No Feedback Package: opcache
PHP Version: 5.5.7 OS: Debian Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: roctom at gmail dot com
New email:
PHP Version: OS:

 

 [2013-12-13 14:40 UTC] 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'


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-12-13 18:12 UTC] krakjoe@php.net
-Status: Open +Status: Feedback
 [2013-12-13 18:12 UTC] 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-14 03:28 UTC] 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!
 [2014-01-07 19:39 UTC] layanto at yahoo dot com
Possibly same bug on opcache?

See http://pyd.io/f/topic/php-clonenode-error/
 [2014-01-15 09:39 UTC] layanto at yahoo dot com
Re-tested pydio on PHP 5.5.8, still crashes fastcgi. Works fine with PHP 5.5.6.
 [2014-02-06 16:16 UTC] mitko at banksoft-bg dot com
try
opcache.optimization_level=0xffffffef
in opcache.ini
 [2014-12-30 10:42 UTC] 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 "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 04:01:29 2024 UTC