Bug #73619 [NEW]: Crash or zend_mm_heap_corrupted error in opcache with OwnCloud 7 update
| From: | adamw at happyassassin dot net | Date: | Mon, 28 Nov 2016 21:14:51 +0000 |
| Subject: | Bug #73619 [NEW]: Crash or zend_mm_heap_corrupted error in opcache with OwnCloud 7 update | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-205678@lists.php.net to get a copy of this message | ||
From: adamw at happyassassin dot net
Operating system: Fedora 20
PHP version: 7.0.13
Package: opcache
Bug Type: Bug
Bug description:Crash or zend_mm_heap_corrupted error in opcache with OwnCloud 7 update
Description:
------------
See downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1398474
SELinux blocks web servers from what it calls 'execmem' actions by
default; as I understand it, this means execution of writeable memory,
which is considered a potential avenue for exploitation and not to be
necessary for well-written code.
With PHP 7.0.13's default configuration, where just-in-time compilation
of PCREs is enabled, Fedora 25 systems see a flood of these 'execmem'
denials. Disabling the PCRE JIT feature with
pcre.jit=0 makes them go
away.
There is some more discussion of this at
https://unix.stackexchange.com/questions/287831/how-to-work-out-why-apache-is-attempting-execmem
, where several people traced this problem to the PCRE JIT code using
gdb and backtraces are available. These seem to run through
_pcre_jit_compile / pcre_study / pcre_get_compiled_regex_cache /
php_do_pcre_match .
--
Edit bug report at https://bugs.php.net/bug.php?id=73619&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73619&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73619&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73619&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73619&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73619&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73619&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73619&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73619&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73619&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73619&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73619&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73619&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73619&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73619&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73619&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73619&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73619&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73619&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73619&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73619&r=mysqlcfg