Bug #77048 [Fbk->NoF]: opcache segfault when enabled

From: Date: Sun, 11 Nov 2018 12:45:36 +0000
Subject: Bug #77048 [Fbk->NoF]: opcache segfault when enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217899@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77048&edit=1 ID: 77048 Updated by: cmb@php.net Reported by: chris at policyreporter dot com Summary: opcache segfault when enabled -Status: Feedback +Status: No Feedback Type: Bug Package: opcache Operating System: Ubuntu 18.04 LTS PHP Version: 7.2.11 Assigned To: cmb Block user comment: N 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: ------------------------------------------------------------------------ [2018-10-23 09:32:28] nikic@php.net To rule out one particular cause, you can try setting opcache.optimization_level=0 and see if this avoids the segfaults. ------------------------------------------------------------------------ [2018-10-23 09:23:41] cmb@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php We either need a reproduce script, or at least a backtrace. ------------------------------------------------------------------------ [2018-10-22 22:41:16] chris at policyreporter dot com Description: ------------ I set up a new server on Ubuntu 18.04 w/ Apache 2.4 and PHP 7.2.11. When attempting to access a Zend Framework site, I noted endless "no response received" errors. When I looked at Apache's error log, I saw a string of seg fault errors: [Mon Oct 22 20:31:13.154847 2018] [core:notice] [pid 22532] AH00051: child pid 23483 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Mon Oct 22 20:31:13.157075 2018] [core:notice] [pid 22532] AH00051: child pid 23494 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Mon Oct 22 20:31:21.168845 2018] [core:notice] [pid 22532] AH00051: child pid 23497 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Mon Oct 22 20:31:21.168980 2018] [core:notice] [pid 22532] AH00051: child pid 23498 exit signal Segmentation fault (11), possible coredump in /etc/apache2``` After much debugging and troubleshooting, I narrowed the issue down to opcache. If I comment out zend_extension=opcache.so and instead put opcache.enable=0 in /etc/php/7.2/apache2/conf.d/10-opcache.ini and restart apache2, the segfaults cease. Additionally, if opcache is enabled but the xdebug extension is also enabled, there are no segfaults. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77048&edit=1

« previous php.bugs (#217899) next »