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_001.phpt ('Test argv passing')

Script

1: <?php
2:
3: var_dump
($argc$argv);
4:

Report

==19329== Invalid read of size 1
==19329==    at 0x10D00A9: zend_string_release (zend_string.h:289)
==19329==    by 0x10D00A9: destroy_op_array (zend_opcode.c:399)
==19329==    by 0x137768B: php_phpdbg_destroy_file_source (phpdbg.c:131)
==19329==    by 0x112BDA7: zend_hash_destroy (zend_hash.c:1247)
==19329==    by 0x1380842: main (phpdbg.c:2159)
==19329==  Address 0x15b1a9a5 is 5 bytes inside a block of size 32 free'd
==19329==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19329==    by 0x13C5915: phpdbg_watch_efree (phpdbg_watch.c:1169)
==19329==    by 0x108B80A: _efree (zend_alloc.c:2444)
==19329==    by 0x1175028: _str_dtor (zend_string.c:50)
==19329==    by 0x112BCBE: zend_hash_destroy (zend_hash.c:1236)
==19329==    by 0x117619E: zend_interned_strings_deactivate (zend_string.c:205)
==19329==    by 0xFE6E47: php_request_shutdown (main.c:1925)
==19329==    by 0x1380135: main (phpdbg.c:2098)
==19329==  Block was alloc'd at
==19329==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19329==    by 0x108CD70: __zend_malloc (zend_alloc.c:2829)
==19329==    by 0x108B4F0: _emalloc (zend_alloc.c:2429)
==19329==    by 0x105446F: zend_string_alloc (zend_string.h:134)
==19329==    by 0x105446F: zend_string_init (zend_string.h:170)
==19329==    by 0x105446F: lex_scan (zend_language_scanner.l:1869)
==19329==    by 0x109539C: zendlex (zend_compile.c:1721)
==19329==    by 0x103B04C: zendparse (zend_language_parser.c:4914)
==19329==    by 0x10468F0: zend_compile (zend_language_scanner.l:585)
==19329==    by 0x1046CD4: compile_file (zend_language_scanner.l:635)
==19329==    by 0xB7EC05: phar_compile_file (phar.c:3329)
==19329==    by 0x13A9F9F: phpdbg_compile_file (phpdbg_list.c:274)
==19329==    by 0x13AA4DF: phpdbg_init_compile_file (phpdbg_list.c:317)
==19329==    by 0x138D3C6: phpdbg_compile (phpdbg_prompt.c:600)
==19329== 
==19329== Invalid write of size 1
==19329==    at 0x138F629: phpdbg_do_run (phpdbg_prompt.c:904)
==19329==    by 0x13B91ED: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==19329==    by 0x13B960C: phpdbg_stack_execute (phpdbg_cmd.c:733)
==19329==    by 0x1393DDD: phpdbg_interactive (phpdbg_prompt.c:1631)
==19329==    by 0x137FBC5: main (phpdbg.c:2001)
==19329==  Address 0x165847e1 is 0 bytes after a block of size 1 alloc'd
==19329==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19329==    by 0x108CD70: __zend_malloc (zend_alloc.c:2829)
==19329==    by 0x108B4F0: _emalloc (zend_alloc.c:2429)
==19329==    by 0x138EF9B: phpdbg_do_run (phpdbg_prompt.c:841)
==19329==    by 0x13B91ED: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==19329==    by 0x13B960C: phpdbg_stack_execute (phpdbg_cmd.c:733)
==19329==    by 0x1393DDD: phpdbg_interactive (phpdbg_prompt.c:1631)
==19329==    by 0x137FBC5: main (phpdbg.c:2001)
==19329== 
==19329== Conditional jump or move depends on uninitialised value(s)
==19329==    at 0x4C2A868: __strlen_sse42 (vg_replace_strmem.c:462)
==19329==    by 0x1007B8E: php_build_argv (php_variables.c:571)
==19329==    by 0x138F7FD: phpdbg_do_run (phpdbg_prompt.c:921)
==19329==    by 0x13B91ED: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==19329==    by 0x13B960C: phpdbg_stack_execute (phpdbg_cmd.c:733)
==19329==    by 0x1393DDD: phpdbg_interactive (phpdbg_prompt.c:1631)
==19329==    by 0x137FBC5: main (phpdbg.c:2001)
==19329== 
==19329== Invalid read of size 4
==19329==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xAED021: zm_shutdown_pdo_oci (pdo_oci.c:140)
==19329==    by 0x110B4C7: module_destructor (zend_API.c:2564)
==19329==    by 0x10F5574: module_destructor_zval (zend.c:690)
==19329==    by 0x112E5B4: _zend_hash_del_el_ex (zend_hash.c:998)
==19329==    by 0x112E5B4: _zend_hash_del_el (zend_hash.c:1021)
==19329==    by 0x112E5B4: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==19329==    by 0x1106A47: zend_destroy_modules (zend_API.c:2008)
==19329==    by 0x10F5D72: zend_shutdown (zend.c:905)
==19329==    by 0xFE882A: php_module_shutdown (main.c:2453)
==19329==    by 0x13808BC: main (phpdbg.c:2162)
==19329==  Address 0x15ac8ea0 is 0 bytes inside a block of size 43,632 free'd
==19329==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19329==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xAED021: zm_shutdown_pdo_oci (pdo_oci.c:140)
==19329==    by 0x110B4C7: module_destructor (zend_API.c:2564)
==19329==    by 0x10F5574: module_destructor_zval (zend.c:690)
==19329==    by 0x112E5B4: _zend_hash_del_el_ex (zend_hash.c:998)
==19329==    by 0x112E5B4: _zend_hash_del_el (zend_hash.c:1021)
==19329==    by 0x112E5B4: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==19329==    by 0x1106A47: zend_destroy_modules (zend_API.c:2008)
==19329==  Block was alloc'd at
==19329==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19329==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19329==    by 0xAECF8F: zm_activate_pdo_oci (pdo_oci.c:118)
==19329==    by 0x110B688: zend_activate_modules (zend_API.c:2600)
==19329==    by 0xFE606A: php_request_startup (main.c:1694)
==19329==    by 0x137ED7F: main (phpdbg.c:1806)
==19329== 
==19329== Invalid read of size 1
==19329==    at 0x10D00A9: zend_string_release (zend_string.h:289)
==19329==    by 0x10D00A9: destroy_op_array (zend_opcode.c:399)
==19329==    by 0x13780F2: zm_shutdown_phpdbg (phpdbg.c:268)
==19329==    by 0x110B4C7: module_destructor (zend_API.c:2564)
==19329==    by 0x10F5574: module_destructor_zval (zend.c:690)
==19329==    by 0x112E5B4: _zend_hash_del_el_ex (zend_hash.c:998)
==19329==    by 0x112E5B4: _zend_hash_del_el (zend_hash.c:1021)
==19329==    by 0x112E5B4: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==19329==    by 0x1106A47: zend_destroy_modules (zend_API.c:2008)
==19329==    by 0x10F5D72: zend_shutdown (zend.c:905)
==19329==    by 0xFE882A: php_module_shutdown (main.c:2453)
==19329==    by 0x13808BC: main (phpdbg.c:2162)
==19329==  Address 0x148c9bb5 is 5 bytes inside a block of size 32 free'd
==19329==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19329==    by 0x13C5915: phpdbg_watch_efree (phpdbg_watch.c:1169)
==19329==    by 0x108B80A: _efree (zend_alloc.c:2444)
==19329==    by 0x1175028: _str_dtor (zend_string.c:50)
==19329==    by 0x112BCBE: zend_hash_destroy (zend_hash.c:1236)
==19329==    by 0x117619E: zend_interned_strings_deactivate (zend_string.c:205)
==19329==    by 0xFE6E47: php_request_shutdown (main.c:1925)
==19329==    by 0x1380135: main (phpdbg.c:2098)
==19329==  Block was alloc'd at
==19329==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19329==    by 0x108CD70: __zend_malloc (zend_alloc.c:2829)
==19329==    by 0x108B4F0: _emalloc (zend_alloc.c:2429)
==19329==    by 0x105446F: zend_string_alloc (zend_string.h:134)
==19329==    by 0x105446F: zend_string_init (zend_string.h:170)
==19329==    by 0x105446F: lex_scan (zend_language_scanner.l:1869)
==19329==    by 0x109539C: zendlex (zend_compile.c:1721)
==19329==    by 0x103B04C: zendparse (zend_language_parser.c:4914)
==19329==    by 0x10468F0: zend_compile (zend_language_scanner.l:585)
==19329==    by 0x1046CD4: compile_file (zend_language_scanner.l:635)
==19329==    by 0xB7EC05: phar_compile_file (phar.c:3329)
==19329==    by 0x13A9F9F: phpdbg_compile_file (phpdbg_list.c:274)
==19329==    by 0x13AA4DF: phpdbg_init_compile_file (phpdbg_list.c:317)
==19329==    by 0x138D3C6: phpdbg_compile (phpdbg_prompt.c:600)
==19329== 

 

Generated at Thu, 06 Dec 2018 13:01:04 +0000 (4 days ago)

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