PHP  
 PHP_7_2
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/opcache/tests/bug78185.phpt ('Bug #78185: file cache only no longer works')

Script

1: <?php
2:
if (substr(PHP_OS03) !== 'WIN') {
3:     
$pattern __DIR__ '/*/' __DIR__ '/*78185.php.bin';
4: } else {
5:     
$pattern __DIR__ '/*/*/' str_replace(':'''__DIR__) . '/*78185.php.bin';
6: }
7: foreach (
glob($pattern) as $p) {
8:     
var_dump($p);
9: }
10:
?>
11:

Report

==9025== Syscall param writev(vector[...]) points to uninitialised byte(s)
==9025==    at 0xD15FCDB: writev (in /lib64/libc-2.12.so)
==9025==    by 0x14D0BF4E: zend_file_cache_script_store (zend_file_cache.c:881)
==9025==    by 0x14CE59C6: store_script_in_file_cache (ZendAccelerator.c:1327)
==9025==    by 0x14CE5A9E: cache_script_in_file_cache (ZendAccelerator.c:1344)
==9025==    by 0x14CE7BE7: file_cache_compile_file (ZendAccelerator.c:1759)
==9025==    by 0x14CE7ECA: persistent_compile_file (ZendAccelerator.c:1806)
==9025==    by 0x1120509: zend_execute_scripts (zend.c:1492)
==9025==    by 0x1010252: php_execute_script (main.c:2599)
==9025==    by 0x13A26F1: do_cli (php_cli.c:1011)
==9025==    by 0x13A417B: main (php_cli.c:1403)
==9025==  Address 0x1ffeffb9c8 is on thread 1's stack
==9025==  in frame #1, created by zend_file_cache_script_store (zend_file_cache.c:814)
==9025== 

 

Generated at Fri, 22 May 2020 15:51:44 +0000 (2 days ago)

Copyright © 2005-2020 The PHP Group
All rights reserved.