Bug #74663 [Com]: Segfault with opcache.memory_protect and validate_timestamp

From: Date: Sat, 27 May 2017 14:42:44 +0000
Subject: Bug #74663 [Com]: Segfault with opcache.memory_protect and validate_timestamp
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209279@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74663&edit=1 ID: 74663 Comment by: ekin at coproductivity dot com Reported by: laruence@php.net Summary: Segfault with opcache.memory_protect and validate_timestamp Status: Open Type: Bug Package: opcache PHP Version: 7.0.19 Block user comment: N Private report: N New Comment: Segfault also on 7.1.3 https://gist.github.com/ekinhbayar/409229701ed30befe94c8d5c86b66806 Previous Comments: ------------------------------------------------------------------------ [2017-05-27 13:44:21] laruence@php.net Description: ------------ sapi/cli/php -d opcache.protect_memory=1 -d opcache.enable_file_override=1 -dopcache.validate_timestamps=1 -d opcache.file_update_protection=0 -d opcache.revalidate_freq=0 test.php Test script: --------------- <?php file_put_contents(__DIR__ . "/bug.php", ""); include __DIR__ . "/bug.php"; //file_put_contents(__DIR__ . "/bug.php", "<?php "); var_dump(is_file(__DIR__ . "/bug.php")); Expected result: ---------------- non segfault Actual result: -------------- segfault ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74663&edit=1

« previous php.bugs (#209279) next »