Bug #75621 [NEW]: Opcache crashes Apache possible with bad chars

From: Date: Mon, 04 Dec 2017 10:55:55 +0000
Subject: Bug #75621 [NEW]: Opcache crashes Apache possible with bad chars
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212891@lists.php.net to get a copy of this message
From: pascal dot nobus at webservice dot be Operating system: Slackware 14.1 PHP version: 7.1.12 Package: opcache Bug Type: Bug Bug description:Opcache crashes Apache possible with bad chars 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 bug report at https://bugs.php.net/bug.php?id=75621&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75621&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75621&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75621&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75621&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75621&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75621&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75621&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75621&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75621&r=support Expected behavior: https://bugs.php.net/fix.php?id=75621&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75621&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75621&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75621&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75621&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75621&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75621&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75621&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75621&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75621&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75621&r=mysqlcfg

« previous php.bugs (#212891) next »