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

==24069== Invalid read of size 1
==24069==    at 0x10F967B: zend_string_release (zend_string.h:289)
==24069==    by 0x10F967B: destroy_op_array (zend_opcode.c:399)
==24069==    by 0x13A1116: php_phpdbg_destroy_file_source (phpdbg.c:131)
==24069==    by 0x11552BC: zend_hash_destroy (zend_hash.c:1247)
==24069==    by 0x13AA1F1: main (phpdbg.c:2159)
==24069==  Address 0x15b41fd5 is 5 bytes inside a block of size 32 free'd
==24069==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==24069==    by 0x13EEFAF: phpdbg_watch_efree (phpdbg_watch.c:1169)
==24069==    by 0x10B4821: _efree (zend_alloc.c:2451)
==24069==    by 0x119EB59: _str_dtor (zend_string.c:50)
==24069==    by 0x11551D3: zend_hash_destroy (zend_hash.c:1236)
==24069==    by 0x119FCCF: zend_interned_strings_deactivate (zend_string.c:205)
==24069==    by 0x100F3B4: php_request_shutdown (main.c:1925)
==24069==    by 0x13A9AE4: main (phpdbg.c:2098)
==24069==  Block was alloc'd at
==24069==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==24069==    by 0x10B5D87: __zend_malloc (zend_alloc.c:2835)
==24069==    by 0x10B4507: _emalloc (zend_alloc.c:2436)
==24069==    by 0x107675A: zend_string_alloc (zend_string.h:134)
==24069==    by 0x107675A: zend_string_init (zend_string.h:170)
==24069==    by 0x107675A: lex_scan (zend_language_scanner.l:1870)
==24069==    by 0x10BE38B: zendlex (zend_compile.c:1728)
==24069==    by 0x10639F6: zendparse (zend_language_parser.c:4222)
==24069==    by 0x106F2C5: zend_compile (zend_language_scanner.l:586)
==24069==    by 0x106F6A9: compile_file (zend_language_scanner.l:636)
==24069==    by 0xBA64BB: phar_compile_file (phar.c:3333)
==24069==    by 0x13D3A3A: phpdbg_compile_file (phpdbg_list.c:257)
==24069==    by 0x13D4072: phpdbg_init_compile_file (phpdbg_list.c:305)
==24069==    by 0x13B6D75: phpdbg_compile (phpdbg_prompt.c:600)
==24069== 
==24069== Invalid read of size 4
==24069==    at 0xA493562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA499952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA3635C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xB13B94: zm_shutdown_pdo_oci (pdo_oci.c:145)
==24069==    by 0x1134A50: module_destructor (zend_API.c:2564)
==24069==    by 0x111EB6A: module_destructor_zval (zend.c:690)
==24069==    by 0x1157AC9: _zend_hash_del_el_ex (zend_hash.c:998)
==24069==    by 0x1157AC9: _zend_hash_del_el (zend_hash.c:1021)
==24069==    by 0x1157AC9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==24069==    by 0x112FFD0: zend_destroy_modules (zend_API.c:2008)
==24069==    by 0x111F368: zend_shutdown (zend.c:905)
==24069==    by 0x1010D92: php_module_shutdown (main.c:2458)
==24069==    by 0x13AA26B: main (phpdbg.c:2162)
==24069==  Address 0x15af06e0 is 0 bytes inside a block of size 43,632 free'd
==24069==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==24069==    by 0xA789CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA84FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xB1DFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA4996E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA499952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA3635C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xB13B94: zm_shutdown_pdo_oci (pdo_oci.c:145)
==24069==    by 0x1134A50: module_destructor (zend_API.c:2564)
==24069==    by 0x111EB6A: module_destructor_zval (zend.c:690)
==24069==    by 0x1157AC9: _zend_hash_del_el_ex (zend_hash.c:998)
==24069==    by 0x1157AC9: _zend_hash_del_el (zend_hash.c:1021)
==24069==    by 0x1157AC9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==24069==    by 0x112FFD0: zend_destroy_modules (zend_API.c:2008)
==24069==  Block was alloc'd at
==24069==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==24069==    by 0xA789CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA84FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xB1DFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA4A3030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA4A12FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xA3634E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==24069==    by 0xB13B02: zm_activate_pdo_oci (pdo_oci.c:123)
==24069==    by 0x1134C11: zend_activate_modules (zend_API.c:2600)
==24069==    by 0x100E5D7: php_request_startup (main.c:1694)
==24069==    by 0x13A872E: main (phpdbg.c:1806)
==24069== 
==24069== Invalid read of size 1
==24069==    at 0x10F967B: zend_string_release (zend_string.h:289)
==24069==    by 0x10F967B: destroy_op_array (zend_opcode.c:399)
==24069==    by 0x13A1B7D: zm_shutdown_phpdbg (phpdbg.c:268)
==24069==    by 0x1134A50: module_destructor (zend_API.c:2564)
==24069==    by 0x111EB6A: module_destructor_zval (zend.c:690)
==24069==    by 0x1157AC9: _zend_hash_del_el_ex (zend_hash.c:998)
==24069==    by 0x1157AC9: _zend_hash_del_el (zend_hash.c:1021)
==24069==    by 0x1157AC9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==24069==    by 0x112FFD0: zend_destroy_modules (zend_API.c:2008)
==24069==    by 0x111F368: zend_shutdown (zend.c:905)
==24069==    by 0x1010D92: php_module_shutdown (main.c:2458)
==24069==    by 0x13AA26B: main (phpdbg.c:2162)
==24069==  Address 0x1702a845 is 5 bytes inside a block of size 32 free'd
==24069==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==24069==    by 0x13EEFAF: phpdbg_watch_efree (phpdbg_watch.c:1169)
==24069==    by 0x10B4821: _efree (zend_alloc.c:2451)
==24069==    by 0x119EB59: _str_dtor (zend_string.c:50)
==24069==    by 0x11551D3: zend_hash_destroy (zend_hash.c:1236)
==24069==    by 0x119FCCF: zend_interned_strings_deactivate (zend_string.c:205)
==24069==    by 0x100F3B4: php_request_shutdown (main.c:1925)
==24069==    by 0x13A9AE4: main (phpdbg.c:2098)
==24069==  Block was alloc'd at
==24069==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==24069==    by 0x10B5D87: __zend_malloc (zend_alloc.c:2835)
==24069==    by 0x10B4507: _emalloc (zend_alloc.c:2436)
==24069==    by 0x107675A: zend_string_alloc (zend_string.h:134)
==24069==    by 0x107675A: zend_string_init (zend_string.h:170)
==24069==    by 0x107675A: lex_scan (zend_language_scanner.l:1870)
==24069==    by 0x10BE38B: zendlex (zend_compile.c:1728)
==24069==    by 0x10639F6: zendparse (zend_language_parser.c:4222)
==24069==    by 0x106F2C5: zend_compile (zend_language_scanner.l:586)
==24069==    by 0x106F6A9: compile_file (zend_language_scanner.l:636)
==24069==    by 0xBA64BB: phar_compile_file (phar.c:3333)
==24069==    by 0x13D3A3A: phpdbg_compile_file (phpdbg_list.c:257)
==24069==    by 0x13D4072: phpdbg_init_compile_file (phpdbg_list.c:305)
==24069==    by 0x13B6D75: phpdbg_compile (phpdbg_prompt.c:600)
==24069== 

 

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

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