Bug #72112 [Fbk->NoF]: Opcache corruption after opcache_reset()

From: Date: Sun, 15 May 2016 04:22:26 +0000
Subject: Bug #72112 [Fbk->NoF]: Opcache corruption after opcache_reset()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201101@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72112&edit=1 ID: 72112 Updated by: php-bugs@lists.php.net Reported by: thomas dot colomb at dailymotion dot com Summary: Opcache corruption after opcache_reset() -Status: Feedback +Status: No Feedback Type: Bug Package: opcache Operating System: Ubuntu 14.04 PHP Version: 7.0.5 Assigned To: laruence Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2016-05-06 10:06:28] laruence@php.net it will be great if you could find a way to reproduce it... otherwise, I can't do much things here to help :< sorry & thanks ------------------------------------------------------------------------ [2016-04-27 09:51:39] thomas dot colomb at dailymotion dot com opcache ini configuration : opcache.enable=1 opcache.memory_consumption=512 opcache.max_accelerated_files=7000 opcache.enable_cli=1 opcache.interned_strings_buffer=8 ------------------------------------------------------------------------ [2016-04-27 09:40:52] thomas dot colomb at dailymotion dot com Description: ------------ After calling opcache_reset() function we encounter some weird errors. It happens randomly on servers (10 of 400 servers production) Some letter a replaced by others, Class seems to be already declared.. etc Example of errors triggered after opcache_reset(): * Unknown column 'saken' in 'field list' => in this example t is replaced by s in the sql query. This can be really a big problem if in example on an update query a w of where is replaced by a ; and this will update whole table * PHP Fatal error: Cannot declare class ZZZZZ, because the name is already in use in /dir/dir/z.php on line 0 * PHP Fatal error: Class XXX contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (YYY::funczzz) in /dir/dir/x.php on line 20 * PHP Fatal error: Uncaught Error: Call to undefined method XXX::func1() in /dir/dir/x.php:218 It seems related to #71574 but it's still not corrected. php -v PHP 7.0.5-2+deb.sury.org~trusty+1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies x@server:~# lsb_release --id Distributor ID: Ubuntu x@server:~# lsb_release -r Release: 14.04 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72112&edit=1

« previous php.bugs (#201101) next »