Bug #78995 [Com]: opcache.preloading results in zend_mm_heap corrupted

From: Date: Tue, 28 Jan 2020 16:48:21 +0000
Subject: Bug #78995 [Com]: opcache.preloading results in zend_mm_heap corrupted
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225201@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78995&edit=1

 ID:                 78995
 Comment by:         anhchienhoang at gmail dot com
 Reported by:        patrick dot fazzi at ped dot technology
 Summary:            opcache.preloading results in zend_mm_heap corrupted
 Status:             Open
 Type:               Bug
 Package:            opcache
 Operating System:   Ubuntu 18.4
 PHP Version:        7.4.1
 Block user comment: N
 Private report:     N

 New Comment:

@nikic yes! I put www-data. Thanks for your info.


Previous Comments:
------------------------------------------------------------------------
[2020-01-28 16:05:58] nikic@php.net

@anhchienhoang at gmail dot com: Do you use opcache.preload_user? If you do, then the crashes are
due to bug #79128.

------------------------------------------------------------------------
[2020-01-28 15:52:30] anhchienhoang at gmail dot com

@nikic I got crashes afterwards, php-fpm stop working.

------------------------------------------------------------------------
[2020-01-28 13:36:34] nikic@php.net

@anhchienhoang at gmail dot com: These warnings can be ignored. Or do you get a crash afterwards?

------------------------------------------------------------------------
[2020-01-28 13:29:01] anhchienhoang at gmail dot com

I have the same issue:


    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload already declared
class Symfony\Bundle\FrameworkBundle\DependencyInjection\CompatibilityServiceSubscriberInterface in
/project/vendor/symfony/framework-bundle/DependencyInjection/CompatibilityServiceSubscriberInterface.php
on line 28
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload unlinked class
class@anonymous: Unknown interface Psr\Container\ContainerExceptionInterface in
/project/vendor/symfony/service-contracts/ServiceLocatorTrait.php on line 119
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload unlinked class
class@anonymous: Unknown interface Psr\Container\NotFoundExceptionInterface in
/project/vendor/symfony/service-contracts/ServiceLocatorTrait.php on line 113
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload already declared
class Doctrine\Common\Persistence\ObjectManager in
/project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectManager.php on line 13
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload already declared
class Doctrine\Common\Persistence\AbstractManagerRegistry in
/project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php on
line 13
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload already declared
class Doctrine\Common\Persistence\ManagerRegistry in
/project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ManagerRegistry.php on line 13
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload already declared
class Doctrine\Common\Persistence\ConnectionRegistry in
/project/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ConnectionRegistry.php on line
13
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload already declared
class Symfony\Contracts\EventDispatcher\EventDispatcherInterface in
/project/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php on line 41
    [28-Jan-2020 13:21:50] NOTICE: PHP message: PHP Warning:  Can't preload unlinked class
class@anonymous: Unknown parent Symfony\Component\Config\ConfigCache in
/project/vendor/symfony/http-kernel/Kernel.php on line 540


php -v
PHP 7.4.2 (cli) (built: Jan 23 2020 11:21:13) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.2, Copyright (c), by Zend Technologies
    with Xdebug v2.9.1, Copyright (c) 2002-2020, by Derick Rethans

------------------------------------------------------------------------
[2020-01-11 19:49:46] tobias dot nyholm at gmail dot com

Sorry, I was wrong. I was running PHP 7.4.2RC1 with Opcache 7.4.1

➜  7.4.2RC1 ./bin/php -v
PHP 7.4.2RC1 (cli) (built: Jan 11 2020 19:52:52) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.1, Copyright (c), by Zend Technologies

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


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


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


Thread (14 messages)

« previous php.bugs (#225201) next »