Bug #71135 [Com]: Random memory corruption with strings

From: Date: Mon, 03 Jul 2017 10:38:41 +0000
Subject: Bug #71135 [Com]: Random memory corruption with strings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209787@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71135&edit=1

 ID:                 71135
 Comment by:         kalyanceg at gmail dot com
 Reported by:        iquito at gmx dot net
 Summary:            Random memory corruption with strings
 Status:             Closed
 Type:               Bug
 Package:            opcache
 Operating System:   Debian Jessie
 PHP Version:        7.0.0
 Assigned To:        laruence
 Block user comment: N
 Private report:     N

 New Comment:

We are facing this issue on debian stretch with php7.0-opcache 7.0.19-1
We see opcache getting corrupted after some days of apache running continuously and gets fixed only
on restart of apache


Previous Comments:
------------------------------------------------------------------------
[2016-08-16 10:19:45] teohhanhui at gmail dot com

We're still running into this problem in production on PHP 7.0.8

It happens every few days or so.

Examples of corruption:

Symfony -> Sylfony
Bundle -> Bumdle

(both cases happen to FQCN stored in variables)

------------------------------------------------------------------------
[2016-03-09 15:11:33] iquito at gmx dot net

I have also been running 7.0.4 in production for 48 hours with a lot of opcache_reset's and
opcache_invalidate's, and there do not seem to be any issues anymore - everything seems to be
working great. Therefore I am closing this issue.

------------------------------------------------------------------------
[2016-03-05 12:06:31] vojtech dot kurka at gmail dot com

We have 7.0.4 in production for 48 hours and it is running without any problems with json_encode() -
seems fixed for us.

Thank you, Dmitri!

------------------------------------------------------------------------
[2016-02-24 21:29:56] vojtech dot kurka at gmail dot com

Dmitry, are all these fixes included in 7.0.4? Thank you

------------------------------------------------------------------------
[2016-02-24 21:03:36] dmitry@php.net

The problem was caused by incorrect synchronization of processes during opcache reload. Some
processes might crash or might not crash because of race-conditions. The commit mentioned above and
a couple of following fixes, should solve the problem.

------------------------------------------------------------------------


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=71135


--
Edit this bug report at https://bugs.php.net/bug.php?id=71135&edit=1


Thread (52 messages)

« previous php.bugs (#209787) next »