[php-src] Issue #8193: opcache crashes on Ubuntu 21.10 - php 8.0.8 (segfault) both within apache2 and cli
| From: | pk-fr | Date: | Sat, 12 Mar 2022 17:19:44 +0000 |
| Subject: | [php-src] Issue #8193: opcache crashes on Ubuntu 21.10 - php 8.0.8 (segfault) both within apache2 and cli | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240315@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8193
Author: pk-fr
### Description
The following code:
```php
<?php
echo "before<br>";
include "obfuscated.php";
echo "after<br>";
?>
```
**obfuscated.php** file is here : https://3v4l.org/EUeM7
Normal output with opcache disabled is :
```
before
after
```
with opcache enabled and cli:
```
php test.php
before<br>Segfault (core dumped)
```
with opcache enabled and apache : connexion reset within the browser...
[core:notice] [pid 374147] AH00051: child pid 374181 exit signal Segmentation fault (11),
possible coredump in /etc/apache2
### PHP Version
PHP 8.0.8
### Operating System
Ubuntu 21.10