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

Valgrind Report for sapi/cli/tests/php_cli_server_003.phpt ('Bug #55726 (Changing the working directory makes router script inaccessible)')

Script

1: <?php
2:
include "php_cli_server.inc";
3:
php_cli_server_start('chdir(__DIR__); echo "okey";');
4:
var_dump(file_get_contents("http://" PHP_CLI_SERVER_ADDRESS));
5:
var_dump(file_get_contents("http://" PHP_CLI_SERVER_ADDRESS));
6:
?>
7:

Report

==5355== Jump to the invalid address stated on the next line
==5355==    at 0x4FE: ???
==5355==    by 0x1EFFFFFFFF: ???
==5355==    by 0x4010485: _dl_check_all_versions (in /lib64/ld-2.12.so)
==5355==    by 0x40025A7: version_check_doit (in /lib64/ld-2.12.so)
==5355==    by 0x400E550: _dl_receive_error (in /lib64/ld-2.12.so)
==5355==    by 0x400373F: dl_main (in /lib64/ld-2.12.so)
==5355==    by 0x401640D: _dl_sysdep_start (in /lib64/ld-2.12.so)
==5355==    by 0x40014D3: _dl_start (in /lib64/ld-2.12.so)
==5355==    by 0x4000B37: ??? (in /lib64/ld-2.12.so)
==5355==    by 0x6: ???
==5355==    by 0x1FFF000762: ???
==5355==    by 0x1FFF000785: ???
==5355==  Address 0x4fe is not stack'd, malloc'd or (recently) free'd
==5355== 
==5355== 
==5355== Process terminating with default action of signal 11 (SIGSEGV)
==5355==  Bad permissions for mapped region at address 0x4FE
==5355==    at 0x4FE: ???
==5355==    by 0x1EFFFFFFFF: ???
==5355==    by 0x4010485: _dl_check_all_versions (in /lib64/ld-2.12.so)
==5355==    by 0x40025A7: version_check_doit (in /lib64/ld-2.12.so)
==5355==    by 0x400E550: _dl_receive_error (in /lib64/ld-2.12.so)
==5355==    by 0x400373F: dl_main (in /lib64/ld-2.12.so)
==5355==    by 0x401640D: _dl_sysdep_start (in /lib64/ld-2.12.so)
==5355==    by 0x40014D3: _dl_start (in /lib64/ld-2.12.so)
==5355==    by 0x4000B37: ??? (in /lib64/ld-2.12.so)
==5355==    by 0x6: ???
==5355==    by 0x1FFF000762: ???
==5355==    by 0x1FFF000785: ???

 

Generated at Sun, 18 Feb 2018 15:10:37 +0000 (22 hours ago)

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