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/phpdbg/tests/run_002.phpt ('Stdin and escaped args being passed to run command')

Script

1: <?php
2:
3: var_dump
($argv);
4:
var_dump(stream_get_contents(STDIN));
5:
6: echo 
"ok\n";
7:

Report

==5674== Invalid read of size 1
==5674==    at 0x10BBC71: zend_string_release (zend_string.h:289)
==5674==    by 0x10BBC71: destroy_op_array (zend_opcode.c:399)
==5674==    by 0x1341CCB: php_phpdbg_destroy_file_source (phpdbg.c:131)
==5674==    by 0x11171DA: zend_hash_destroy (zend_hash.c:1245)
==5674==    by 0x134AE52: main (phpdbg.c:2154)
==5674==  Address 0x14f1a9f5 is 5 bytes inside a block of size 32 free'd
==5674==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==5674==    by 0x138E8E9: phpdbg_watch_efree (phpdbg_watch.c:1169)
==5674==    by 0x107A00D: _efree (zend_alloc.c:2444)
==5674==    by 0x115F8EB: _str_dtor (zend_string.c:50)
==5674==    by 0x11170F1: zend_hash_destroy (zend_hash.c:1234)
==5674==    by 0x1160AC4: zend_interned_strings_deactivate (zend_string.c:205)
==5674==    by 0xFD2EC9: php_request_shutdown (main.c:1925)
==5674==    by 0x134A801: main (phpdbg.c:2093)
==5674==  Block was alloc'd at
==5674==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==5674==    by 0x107B5EF: __zend_malloc (zend_alloc.c:2829)
==5674==    by 0x1079CEA: _emalloc (zend_alloc.c:2429)
==5674==    by 0x10416D2: zend_string_alloc (zend_string.h:134)
==5674==    by 0x10416D2: zend_string_init (zend_string.h:170)
==5674==    by 0x10416D2: lex_scan (zend_language_scanner.l:1869)
==5674==    by 0x10837E6: zendlex (zend_compile.c:1721)
==5674==    by 0x1027AEF: zendparse (zend_language_parser.c:4914)
==5674==    by 0x10338F0: zend_compile (zend_language_scanner.l:585)
==5674==    by 0x1033CCC: compile_file (zend_language_scanner.l:635)
==5674==    by 0xB78FFE: phar_compile_file (phar.c:3320)
==5674==    by 0x1373C21: phpdbg_compile_file (phpdbg_list.c:274)
==5674==    by 0x1374136: phpdbg_init_compile_file (phpdbg_list.c:317)
==5674==    by 0x13579D5: phpdbg_compile (phpdbg_prompt.c:600)
==5674== 
==5674== Invalid read of size 4
==5674==    at 0xA0EA562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xA0F0952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0x9FBA5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xAE7728: zm_shutdown_pdo_oci (pdo_oci.c:140)
==5674==    by 0x10F680E: module_destructor (zend_API.c:2564)
==5674==    by 0x10E0791: module_destructor_zval (zend.c:690)
==5674==    by 0x1119A38: _zend_hash_del_el_ex (zend_hash.c:996)
==5674==    by 0x1119A38: _zend_hash_del_el (zend_hash.c:1019)
==5674==    by 0x1119A38: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==5674==    by 0x10F1D33: zend_destroy_modules (zend_API.c:2008)
==5674==    by 0x10E0F80: zend_shutdown (zend.c:905)
==5674==    by 0xFD4831: php_module_shutdown (main.c:2453)
==5674==    by 0x134AECA: main (phpdbg.c:2157)
==5674==  Address 0x14ec8e70 is 0 bytes inside a block of size 43,632 free'd
==5674==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==5674==    by 0xA3E0CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xA4A6ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xAE36F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xA0F06E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xA0F0952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0x9FBA5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xAE7728: zm_shutdown_pdo_oci (pdo_oci.c:140)
==5674==    by 0x10F680E: module_destructor (zend_API.c:2564)
==5674==    by 0x10E0791: module_destructor_zval (zend.c:690)
==5674==    by 0x1119A38: _zend_hash_del_el_ex (zend_hash.c:996)
==5674==    by 0x1119A38: _zend_hash_del_el (zend_hash.c:1019)
==5674==    by 0x1119A38: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==5674==    by 0x10F1D33: zend_destroy_modules (zend_API.c:2008)
==5674==  Block was alloc'd at
==5674==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==5674==    by 0xA3E0CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xA4A6EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xAE36EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xA0FA030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xA0F82FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0x9FBA4E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==5674==    by 0xAE769C: zm_activate_pdo_oci (pdo_oci.c:118)
==5674==    by 0x10F69CB: zend_activate_modules (zend_API.c:2600)
==5674==    by 0xFD2103: php_request_startup (main.c:1694)
==5674==    by 0x1349478: main (phpdbg.c:1806)
==5674== 
==5674== Invalid read of size 1
==5674==    at 0x10BBC71: zend_string_release (zend_string.h:289)
==5674==    by 0x10BBC71: destroy_op_array (zend_opcode.c:399)
==5674==    by 0x134272F: zm_shutdown_phpdbg (phpdbg.c:268)
==5674==    by 0x10F680E: module_destructor (zend_API.c:2564)
==5674==    by 0x10E0791: module_destructor_zval (zend.c:690)
==5674==    by 0x1119A38: _zend_hash_del_el_ex (zend_hash.c:996)
==5674==    by 0x1119A38: _zend_hash_del_el (zend_hash.c:1019)
==5674==    by 0x1119A38: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==5674==    by 0x10F1D33: zend_destroy_modules (zend_API.c:2008)
==5674==    by 0x10E0F80: zend_shutdown (zend.c:905)
==5674==    by 0xFD4831: php_module_shutdown (main.c:2453)
==5674==    by 0x134AECA: main (phpdbg.c:2157)
==5674==  Address 0x163e5445 is 5 bytes inside a block of size 32 free'd
==5674==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==5674==    by 0x138E8E9: phpdbg_watch_efree (phpdbg_watch.c:1169)
==5674==    by 0x107A00D: _efree (zend_alloc.c:2444)
==5674==    by 0x115F8EB: _str_dtor (zend_string.c:50)
==5674==    by 0x11170F1: zend_hash_destroy (zend_hash.c:1234)
==5674==    by 0x1160AC4: zend_interned_strings_deactivate (zend_string.c:205)
==5674==    by 0xFD2EC9: php_request_shutdown (main.c:1925)
==5674==    by 0x134A801: main (phpdbg.c:2093)
==5674==  Block was alloc'd at
==5674==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==5674==    by 0x107B5EF: __zend_malloc (zend_alloc.c:2829)
==5674==    by 0x1079CEA: _emalloc (zend_alloc.c:2429)
==5674==    by 0x10416D2: zend_string_alloc (zend_string.h:134)
==5674==    by 0x10416D2: zend_string_init (zend_string.h:170)
==5674==    by 0x10416D2: lex_scan (zend_language_scanner.l:1869)
==5674==    by 0x10837E6: zendlex (zend_compile.c:1721)
==5674==    by 0x1027AEF: zendparse (zend_language_parser.c:4914)
==5674==    by 0x10338F0: zend_compile (zend_language_scanner.l:585)
==5674==    by 0x1033CCC: compile_file (zend_language_scanner.l:635)
==5674==    by 0xB78FFE: phar_compile_file (phar.c:3320)
==5674==    by 0x1373C21: phpdbg_compile_file (phpdbg_list.c:274)
==5674==    by 0x1374136: phpdbg_init_compile_file (phpdbg_list.c:317)
==5674==    by 0x13579D5: phpdbg_compile (phpdbg_prompt.c:600)
==5674== 

 

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

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