PHP  
 PHP_7_1
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

==12764== Invalid write of size 1
==12764==    at 0x1272EE3: phpdbg_do_run (phpdbg_prompt.c:907)
==12764==    by 0x129C46A: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==12764==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12764==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12764==    by 0x1263482: main (phpdbg.c:2005)
==12764==  Address 0x1661b391 is 0 bytes after a block of size 1 alloc'd
==12764==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12764==    by 0xFAC6D1: __zend_malloc (zend_alloc.c:2838)
==12764==    by 0xFAADD9: _emalloc (zend_alloc.c:2429)
==12764==    by 0x1272855: phpdbg_do_run (phpdbg_prompt.c:844)
==12764==    by 0x129C46A: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==12764==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12764==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12764==    by 0x1263482: main (phpdbg.c:2005)
==12764== 
==12764== Conditional jump or move depends on uninitialised value(s)
==12764==    at 0x4C2A868: __strlen_sse42 (vg_replace_strmem.c:462)
==12764==    by 0xF27336: php_build_argv (php_variables.c:569)
==12764==    by 0x12730B7: phpdbg_do_run (phpdbg_prompt.c:924)
==12764==    by 0x129C46A: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==12764==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12764==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12764==    by 0x1263482: main (phpdbg.c:2005)
==12764== 
==12764== Invalid read of size 4
==12764==    at 0xA6C6562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA6CC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA5965C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xAA4932: zm_shutdown_pdo_oci (pdo_oci.c:140)
==12764==    by 0x1028352: module_destructor (zend_API.c:2501)
==12764==    by 0x1012737: module_destructor_zval (zend.c:633)
==12764==    by 0x104B523: _zend_hash_del_el_ex (zend_hash.c:997)
==12764==    by 0x104B523: _zend_hash_del_el (zend_hash.c:1020)
==12764==    by 0x104B523: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==12764==    by 0x1023C8A: zend_destroy_modules (zend_API.c:1978)
==12764==    by 0x101319C: zend_shutdown (zend.c:876)
==12764==    by 0xF086E8: php_module_shutdown (main.c:2445)
==12764==    by 0x126417E: main (phpdbg.c:2166)
==12764==  Address 0x15c2c5a0 is 0 bytes inside a block of size 43,632 free'd
==12764==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12764==    by 0xA9BCCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xAA82ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xB412F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA6CC6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA6CC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA5965C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xAA4932: zm_shutdown_pdo_oci (pdo_oci.c:140)
==12764==    by 0x1028352: module_destructor (zend_API.c:2501)
==12764==    by 0x1012737: module_destructor_zval (zend.c:633)
==12764==    by 0x104B523: _zend_hash_del_el_ex (zend_hash.c:997)
==12764==    by 0x104B523: _zend_hash_del_el (zend_hash.c:1020)
==12764==    by 0x104B523: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==12764==    by 0x1023C8A: zend_destroy_modules (zend_API.c:1978)
==12764==  Block was alloc'd at
==12764==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12764==    by 0xA9BCCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xAA82EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xB412EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA6D6030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA6D42FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xA5964E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12764==    by 0xAA48A0: zm_activate_pdo_oci (pdo_oci.c:118)
==12764==    by 0x1028513: zend_activate_modules (zend_API.c:2539)
==12764==    by 0xF0609D: php_request_startup (main.c:1698)
==12764==    by 0x126263C: main (phpdbg.c:1810)
==12764== 

 

Generated at Sun, 23 Feb 2020 16:49:06 +0000 (2 days ago)

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