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

==2174== Invalid write of size 1
==2174==    at 0x124F36D: phpdbg_do_run (phpdbg_prompt.c:907)
==2174==    by 0x1278C83: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==2174==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2174==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2174==    by 0x123F90C: main (phpdbg.c:2005)
==2174==  Address 0x15a11391 is 0 bytes after a block of size 1 alloc'd
==2174==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2174==    by 0xF8871B: __zend_malloc (zend_alloc.c:2838)
==2174==    by 0xF86E23: _emalloc (zend_alloc.c:2429)
==2174==    by 0x124ECDF: phpdbg_do_run (phpdbg_prompt.c:844)
==2174==    by 0x1278C83: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==2174==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2174==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2174==    by 0x123F90C: main (phpdbg.c:2005)
==2174== 
==2174== Conditional jump or move depends on uninitialised value(s)
==2174==    at 0x4C2A868: __strlen_sse42 (vg_replace_strmem.c:462)
==2174==    by 0xF0370D: php_build_argv (php_variables.c:569)
==2174==    by 0x124F541: phpdbg_do_run (phpdbg_prompt.c:924)
==2174==    by 0x1278C83: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==2174==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2174==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2174==    by 0x123F90C: main (phpdbg.c:2005)
==2174== 
==2174== Invalid read of size 4
==2174==    at 0xA537562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA7F6F1: zm_shutdown_pdo_oci (pdo_oci.c:140)
==2174==    by 0x10044C9: module_destructor (zend_API.c:2501)
==2174==    by 0xFEE858: module_destructor_zval (zend.c:633)
==2174==    by 0x1027789: _zend_hash_del_el_ex (zend_hash.c:997)
==2174==    by 0x1027789: _zend_hash_del_el (zend_hash.c:1020)
==2174==    by 0x1027789: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==2174==    by 0xFFFE01: zend_destroy_modules (zend_API.c:1978)
==2174==    by 0xFEF2BD: zend_shutdown (zend.c:876)
==2174==    by 0xEE4A49: php_module_shutdown (main.c:2445)
==2174==    by 0x1240608: main (phpdbg.c:2166)
==2174==  Address 0x15030030 is 0 bytes inside a block of size 43,632 free'd
==2174==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2174==    by 0xA82DCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA8F3ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xB283F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA53D6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA7F6F1: zm_shutdown_pdo_oci (pdo_oci.c:140)
==2174==    by 0x10044C9: module_destructor (zend_API.c:2501)
==2174==    by 0xFEE858: module_destructor_zval (zend.c:633)
==2174==    by 0x1027789: _zend_hash_del_el_ex (zend_hash.c:997)
==2174==    by 0x1027789: _zend_hash_del_el (zend_hash.c:1020)
==2174==    by 0x1027789: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==2174==    by 0xFFFE01: zend_destroy_modules (zend_API.c:1978)
==2174==  Block was alloc'd at
==2174==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2174==    by 0xA82DCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA8F3EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xB283EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA547030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA5452FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA4074E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2174==    by 0xA7F65F: zm_activate_pdo_oci (pdo_oci.c:118)
==2174==    by 0x100468A: zend_activate_modules (zend_API.c:2539)
==2174==    by 0xEE2400: php_request_startup (main.c:1698)
==2174==    by 0x123EAC6: main (phpdbg.c:1810)
==2174== 

 

Generated at Sun, 15 Jul 2018 02:47:46 +0000 (8 days ago)

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