Bug #75621 [Com]: Opcache crashes Apache possible with bad chars
| From: | post at minhost dot no | Date: | Tue, 05 Dec 2017 09:05:59 +0000 |
| Subject: | Bug #75621 [Com]: Opcache crashes Apache possible with bad chars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-212930@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75621&edit=1
ID: 75621
Comment by: post at minhost dot no
Reported by: pascal dot nobus at webservice dot be
Summary: Opcache crashes Apache possible with bad chars
Status: Open
Type: Bug
Package: opcache
Operating System: Slackware 14.1
PHP Version: 7.1.12
Block user comment: N
Private report: N
New Comment:
Are you sure it is Apache that crashes and not only PHP pages? If it is only PHP pages that crashes,
then it could be related to Bug #75579
Previous Comments:
------------------------------------------------------------------------
[2017-12-04 10:55:51] pascal dot nobus at webservice dot be
Description:
------------
On POSTs from IP's mostly located in Russia/Ukrain, we see apache is crashing:
[Mon Dec 04 10:30:40.665477 2017] [core:notice] [pid 9797:tid 140551095412608] AH00051: child pid
16751 exit signal Segmentation fault (11)
Back tracing the core-dumps is always one of these:
#0 0x0000000000000000 in ?? ()
#1 0x00007fd4936272d3 in execute_ex (ex=<optimized out>) at
/usr/local/src/php-7.1.12/Zend/zend_vm_execute.h:429
#0 execute_ex (ex=<optimized out>) at /usr/local/src/php-7.1.12/Zend/zend_vm_execute.h:429
#1 0x00007fd49368367b in zend_execute (op_array=<optimized out>, return_value=<optimized
out>) at /usr/local/src/php-7.1.12/Zend/zend_vm_execute.h:474
Apache-version httpd-2.4.29 (MPM-event)
php compiled as module.
There is only one php-extension on the server: opcache.
Uncommented opcache-settings in php.ini:
opcache.memory_consumption=128
opcache.validate_timestamps=1
opcache.memory_consumption=128
opcache.fast_shutdown=0
I changed output_buffering to 8192 (no effect)
I changed opcache.log_verbosity_level to 4, but no strange things in the logs.
I have also seen:
[Sun Dec 03 15:21:44.025975 2017] [core:notice] [pid 29980:tid 140454601000832] AH00052: child pid
4005 exit signal Segmentation fault (11)
And even a couple of times this one (less then the segmenation faults):
zend_mm_heap corrupted
Any ideas
Test script:
---------------
up-to-date pages of wordpress (index.php wp-login.php), on different sites.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75621&edit=1