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

==23437== Invalid read of size 1
==23437==    at 0x10DE93A: zend_string_release (zend_string.h:289)
==23437==    by 0x10DE93A: destroy_op_array (zend_opcode.c:399)
==23437==    by 0x1385F80: php_phpdbg_destroy_file_source (phpdbg.c:131)
==23437==    by 0x113A69C: zend_hash_destroy (zend_hash.c:1247)
==23437==    by 0x138F137: main (phpdbg.c:2159)
==23437==  Address 0x15b1ac05 is 5 bytes inside a block of size 32 free'd
==23437==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==23437==    by 0x13D420A: phpdbg_watch_efree (phpdbg_watch.c:1169)
==23437==    by 0x1099DDC: _efree (zend_alloc.c:2444)
==23437==    by 0x118391D: _str_dtor (zend_string.c:50)
==23437==    by 0x113A5B3: zend_hash_destroy (zend_hash.c:1236)
==23437==    by 0x1184A93: zend_interned_strings_deactivate (zend_string.c:205)
==23437==    by 0xFF5334: php_request_shutdown (main.c:1925)
==23437==    by 0x138EA2A: main (phpdbg.c:2098)
==23437==  Block was alloc'd at
==23437==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==23437==    by 0x109B342: __zend_malloc (zend_alloc.c:2829)
==23437==    by 0x1099AC2: _emalloc (zend_alloc.c:2429)
==23437==    by 0x1062A41: zend_string_alloc (zend_string.h:134)
==23437==    by 0x1062A41: zend_string_init (zend_string.h:170)
==23437==    by 0x1062A41: lex_scan (zend_language_scanner.l:1869)
==23437==    by 0x10A3952: zendlex (zend_compile.c:1728)
==23437==    by 0x104961E: zendparse (zend_language_parser.c:4914)
==23437==    by 0x1054EC2: zend_compile (zend_language_scanner.l:585)
==23437==    by 0x10552A6: compile_file (zend_language_scanner.l:635)
==23437==    by 0xB8CEF6: phar_compile_file (phar.c:3329)
==23437==    by 0x13B8894: phpdbg_compile_file (phpdbg_list.c:274)
==23437==    by 0x13B8DD4: phpdbg_init_compile_file (phpdbg_list.c:317)
==23437==    by 0x139BCBB: phpdbg_compile (phpdbg_prompt.c:600)
==23437== 
==23437== Invalid read of size 4
==23437==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xAFB312: zm_shutdown_pdo_oci (pdo_oci.c:140)
==23437==    by 0x1119D41: module_destructor (zend_API.c:2564)
==23437==    by 0x1103E05: module_destructor_zval (zend.c:690)
==23437==    by 0x113CEA9: _zend_hash_del_el_ex (zend_hash.c:998)
==23437==    by 0x113CEA9: _zend_hash_del_el (zend_hash.c:1021)
==23437==    by 0x113CEA9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==23437==    by 0x11152C1: zend_destroy_modules (zend_API.c:2008)
==23437==    by 0x1104603: zend_shutdown (zend.c:905)
==23437==    by 0xFF6D17: php_module_shutdown (main.c:2453)
==23437==    by 0x138F1B1: main (phpdbg.c:2162)
==23437==  Address 0x15ac9080 is 0 bytes inside a block of size 43,632 free'd
==23437==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==23437==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xAFB312: zm_shutdown_pdo_oci (pdo_oci.c:140)
==23437==    by 0x1119D41: module_destructor (zend_API.c:2564)
==23437==    by 0x1103E05: module_destructor_zval (zend.c:690)
==23437==    by 0x113CEA9: _zend_hash_del_el_ex (zend_hash.c:998)
==23437==    by 0x113CEA9: _zend_hash_del_el (zend_hash.c:1021)
==23437==    by 0x113CEA9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==23437==    by 0x11152C1: zend_destroy_modules (zend_API.c:2008)
==23437==  Block was alloc'd at
==23437==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==23437==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23437==    by 0xAFB280: zm_activate_pdo_oci (pdo_oci.c:118)
==23437==    by 0x1119F02: zend_activate_modules (zend_API.c:2600)
==23437==    by 0xFF4557: php_request_startup (main.c:1694)
==23437==    by 0x138D674: main (phpdbg.c:1806)
==23437== 
==23437== Invalid read of size 1
==23437==    at 0x10DE93A: zend_string_release (zend_string.h:289)
==23437==    by 0x10DE93A: destroy_op_array (zend_opcode.c:399)
==23437==    by 0x13869E7: zm_shutdown_phpdbg (phpdbg.c:268)
==23437==    by 0x1119D41: module_destructor (zend_API.c:2564)
==23437==    by 0x1103E05: module_destructor_zval (zend.c:690)
==23437==    by 0x113CEA9: _zend_hash_del_el_ex (zend_hash.c:998)
==23437==    by 0x113CEA9: _zend_hash_del_el (zend_hash.c:1021)
==23437==    by 0x113CEA9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==23437==    by 0x11152C1: zend_destroy_modules (zend_API.c:2008)
==23437==    by 0x1104603: zend_shutdown (zend.c:905)
==23437==    by 0xFF6D17: php_module_shutdown (main.c:2453)
==23437==    by 0x138F1B1: main (phpdbg.c:2162)
==23437==  Address 0x17002835 is 5 bytes inside a block of size 32 free'd
==23437==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==23437==    by 0x13D420A: phpdbg_watch_efree (phpdbg_watch.c:1169)
==23437==    by 0x1099DDC: _efree (zend_alloc.c:2444)
==23437==    by 0x118391D: _str_dtor (zend_string.c:50)
==23437==    by 0x113A5B3: zend_hash_destroy (zend_hash.c:1236)
==23437==    by 0x1184A93: zend_interned_strings_deactivate (zend_string.c:205)
==23437==    by 0xFF5334: php_request_shutdown (main.c:1925)
==23437==    by 0x138EA2A: main (phpdbg.c:2098)
==23437==  Block was alloc'd at
==23437==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==23437==    by 0x109B342: __zend_malloc (zend_alloc.c:2829)
==23437==    by 0x1099AC2: _emalloc (zend_alloc.c:2429)
==23437==    by 0x1062A41: zend_string_alloc (zend_string.h:134)
==23437==    by 0x1062A41: zend_string_init (zend_string.h:170)
==23437==    by 0x1062A41: lex_scan (zend_language_scanner.l:1869)
==23437==    by 0x10A3952: zendlex (zend_compile.c:1728)
==23437==    by 0x104961E: zendparse (zend_language_parser.c:4914)
==23437==    by 0x1054EC2: zend_compile (zend_language_scanner.l:585)
==23437==    by 0x10552A6: compile_file (zend_language_scanner.l:635)
==23437==    by 0xB8CEF6: phar_compile_file (phar.c:3329)
==23437==    by 0x13B8894: phpdbg_compile_file (phpdbg_list.c:274)
==23437==    by 0x13B8DD4: phpdbg_init_compile_file (phpdbg_list.c:317)
==23437==    by 0x139BCBB: phpdbg_compile (phpdbg_prompt.c:600)
==23437== 

 

Generated at Sun, 10 Feb 2019 05:24:25 +0000 (10 days ago)

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