PHP  
 PHP_7_3
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

==495== Syscall param writev(vector[...]) points to uninitialised byte(s)
==495==    at 0xD586CDB: writev (in /lib64/libc-2.12.so)
==495==    by 0x14F325C7: zend_file_cache_script_store (zend_file_cache.c:880)
==495==    by 0x14F09F2A: store_script_in_file_cache (ZendAccelerator.c:1421)
==495==    by 0x14F0A051: cache_script_in_file_cache (ZendAccelerator.c:1444)
==495==    by 0x14F0C2B7: file_cache_compile_file (ZendAccelerator.c:1905)
==495==    by 0x14F0C59A: persistent_compile_file (ZendAccelerator.c:1952)
==495==    by 0x1190308: zend_execute_scripts (zend.c:1562)
==495==    by 0x107C733: php_execute_script (main.c:2637)
==495==    by 0x13DD66B: do_cli (php_cli.c:1000)
==495==    by 0x13DF1BD: main (php_cli.c:1396)
==495==  Address 0x1ffeffb948 is on thread 1's stack
==495==  in frame #1, created by zend_file_cache_script_store (zend_file_cache.c:817)
==495== 

 

Generated at Fri, 03 Dec 2021 18:13:45 +0000 (3 days ago)

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