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

==18011== Invalid read of size 1
==18011==    at 0x10CF521: zend_string_release (zend_string.h:289)
==18011==    by 0x10CF521: destroy_op_array (zend_opcode.c:399)
==18011==    by 0x1376B03: php_phpdbg_destroy_file_source (phpdbg.c:131)
==18011==    by 0x112B21F: zend_hash_destroy (zend_hash.c:1247)
==18011==    by 0x137FCBA: main (phpdbg.c:2159)
==18011==  Address 0x15b1a645 is 5 bytes inside a block of size 32 free'd
==18011==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18011==    by 0x13C4D8D: phpdbg_watch_efree (phpdbg_watch.c:1169)
==18011==    by 0x108AC98: _efree (zend_alloc.c:2444)
==18011==    by 0x11744A0: _str_dtor (zend_string.c:50)
==18011==    by 0x112B136: zend_hash_destroy (zend_hash.c:1236)
==18011==    by 0x1175616: zend_interned_strings_deactivate (zend_string.c:205)
==18011==    by 0xFE62D5: php_request_shutdown (main.c:1925)
==18011==    by 0x137F5AD: main (phpdbg.c:2098)
==18011==  Block was alloc'd at
==18011==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18011==    by 0x108C1FE: __zend_malloc (zend_alloc.c:2829)
==18011==    by 0x108A97E: _emalloc (zend_alloc.c:2429)
==18011==    by 0x10538FD: zend_string_alloc (zend_string.h:134)
==18011==    by 0x10538FD: zend_string_init (zend_string.h:170)
==18011==    by 0x10538FD: lex_scan (zend_language_scanner.l:1869)
==18011==    by 0x109482A: zendlex (zend_compile.c:1721)
==18011==    by 0x103A4DA: zendparse (zend_language_parser.c:4914)
==18011==    by 0x1045D7E: zend_compile (zend_language_scanner.l:585)
==18011==    by 0x1046162: compile_file (zend_language_scanner.l:635)
==18011==    by 0xB7E31D: phar_compile_file (phar.c:3317)
==18011==    by 0x13A9417: phpdbg_compile_file (phpdbg_list.c:274)
==18011==    by 0x13A9957: phpdbg_init_compile_file (phpdbg_list.c:317)
==18011==    by 0x138C83E: phpdbg_compile (phpdbg_prompt.c:600)
==18011== 
==18011== Invalid read of size 4
==18011==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xAECF0C: zm_shutdown_pdo_oci (pdo_oci.c:140)
==18011==    by 0x110A93F: module_destructor (zend_API.c:2564)
==18011==    by 0x10F49EC: module_destructor_zval (zend.c:690)
==18011==    by 0x112DA2C: _zend_hash_del_el_ex (zend_hash.c:998)
==18011==    by 0x112DA2C: _zend_hash_del_el (zend_hash.c:1021)
==18011==    by 0x112DA2C: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==18011==    by 0x1105EBF: zend_destroy_modules (zend_API.c:2008)
==18011==    by 0x10F51EA: zend_shutdown (zend.c:905)
==18011==    by 0xFE7CB8: php_module_shutdown (main.c:2453)
==18011==    by 0x137FD34: main (phpdbg.c:2162)
==18011==  Address 0x15ac8ac0 is 0 bytes inside a block of size 43,632 free'd
==18011==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18011==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xAECF0C: zm_shutdown_pdo_oci (pdo_oci.c:140)
==18011==    by 0x110A93F: module_destructor (zend_API.c:2564)
==18011==    by 0x10F49EC: module_destructor_zval (zend.c:690)
==18011==    by 0x112DA2C: _zend_hash_del_el_ex (zend_hash.c:998)
==18011==    by 0x112DA2C: _zend_hash_del_el (zend_hash.c:1021)
==18011==    by 0x112DA2C: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==18011==    by 0x1105EBF: zend_destroy_modules (zend_API.c:2008)
==18011==  Block was alloc'd at
==18011==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18011==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18011==    by 0xAECE7A: zm_activate_pdo_oci (pdo_oci.c:118)
==18011==    by 0x110AB00: zend_activate_modules (zend_API.c:2600)
==18011==    by 0xFE54F8: php_request_startup (main.c:1694)
==18011==    by 0x137E1F7: main (phpdbg.c:1806)
==18011== 
==18011== Invalid read of size 1
==18011==    at 0x10CF521: zend_string_release (zend_string.h:289)
==18011==    by 0x10CF521: destroy_op_array (zend_opcode.c:399)
==18011==    by 0x137756A: zm_shutdown_phpdbg (phpdbg.c:268)
==18011==    by 0x110A93F: module_destructor (zend_API.c:2564)
==18011==    by 0x10F49EC: module_destructor_zval (zend.c:690)
==18011==    by 0x112DA2C: _zend_hash_del_el_ex (zend_hash.c:998)
==18011==    by 0x112DA2C: _zend_hash_del_el (zend_hash.c:1021)
==18011==    by 0x112DA2C: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==18011==    by 0x1105EBF: zend_destroy_modules (zend_API.c:2008)
==18011==    by 0x10F51EA: zend_shutdown (zend.c:905)
==18011==    by 0xFE7CB8: php_module_shutdown (main.c:2453)
==18011==    by 0x137FD34: main (phpdbg.c:2162)
==18011==  Address 0x17001335 is 5 bytes inside a block of size 32 free'd
==18011==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18011==    by 0x13C4D8D: phpdbg_watch_efree (phpdbg_watch.c:1169)
==18011==    by 0x108AC98: _efree (zend_alloc.c:2444)
==18011==    by 0x11744A0: _str_dtor (zend_string.c:50)
==18011==    by 0x112B136: zend_hash_destroy (zend_hash.c:1236)
==18011==    by 0x1175616: zend_interned_strings_deactivate (zend_string.c:205)
==18011==    by 0xFE62D5: php_request_shutdown (main.c:1925)
==18011==    by 0x137F5AD: main (phpdbg.c:2098)
==18011==  Block was alloc'd at
==18011==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18011==    by 0x108C1FE: __zend_malloc (zend_alloc.c:2829)
==18011==    by 0x108A97E: _emalloc (zend_alloc.c:2429)
==18011==    by 0x10538FD: zend_string_alloc (zend_string.h:134)
==18011==    by 0x10538FD: zend_string_init (zend_string.h:170)
==18011==    by 0x10538FD: lex_scan (zend_language_scanner.l:1869)
==18011==    by 0x109482A: zendlex (zend_compile.c:1721)
==18011==    by 0x103A4DA: zendparse (zend_language_parser.c:4914)
==18011==    by 0x1045D7E: zend_compile (zend_language_scanner.l:585)
==18011==    by 0x1046162: compile_file (zend_language_scanner.l:635)
==18011==    by 0xB7E31D: phar_compile_file (phar.c:3317)
==18011==    by 0x13A9417: phpdbg_compile_file (phpdbg_list.c:274)
==18011==    by 0x13A9957: phpdbg_init_compile_file (phpdbg_list.c:317)
==18011==    by 0x138C83E: phpdbg_compile (phpdbg_prompt.c:600)
==18011== 

 

Generated at Sun, 11 Nov 2018 11:52:49 +0000 (2 days ago)

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