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

==1391== Invalid write of size 1
==1391==    at 0x139EB2E: phpdbg_do_run (phpdbg_prompt.c:904)
==1391==    by 0x13C88F0: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==1391==    by 0x13C8D0F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==1391==    by 0x13A331A: phpdbg_interactive (phpdbg_prompt.c:1631)
==1391==    by 0x138EF47: main (phpdbg.c:2003)
==1391==  Address 0x1583f251 is 0 bytes after a block of size 1 alloc'd
==1391==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==1391==    by 0x10CD97D: __zend_malloc (zend_alloc.c:2886)
==1391==    by 0x10C9A44: _emalloc (zend_alloc.c:2480)
==1391==    by 0x139E4A0: phpdbg_do_run (phpdbg_prompt.c:841)
==1391==    by 0x13C88F0: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==1391==    by 0x13C8D0F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==1391==    by 0x13A331A: phpdbg_interactive (phpdbg_prompt.c:1631)
==1391==    by 0x138EF47: main (phpdbg.c:2003)
==1391== 
==1391== Conditional jump or move depends on uninitialised value(s)
==1391==    at 0x4C2A868: __strlen_sse42 (vg_replace_strmem.c:462)
==1391==    by 0x1048C81: php_build_argv (php_variables.c:601)
==1391==    by 0x139ED02: phpdbg_do_run (phpdbg_prompt.c:921)
==1391==    by 0x13C88F0: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==1391==    by 0x13C8D0F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==1391==    by 0x13A331A: phpdbg_interactive (phpdbg_prompt.c:1631)
==1391==    by 0x138EF47: main (phpdbg.c:2003)
==1391== 
==1391== Invalid read of size 4
==1391==    at 0xA50C562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA512952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA3DC5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xB360AB: zm_shutdown_pdo_oci (pdo_oci.c:140)
==1391==    by 0x114E98D: module_destructor (zend_API.c:2595)
==1391==    by 0x11384C4: module_destructor_zval (zend.c:747)
==1391==    by 0x116F474: _zend_hash_del_el_ex (zend_hash.c:1110)
==1391==    by 0x116F474: _zend_hash_del_el (zend_hash.c:1133)
==1391==    by 0x116F474: zend_hash_graceful_reverse_destroy (zend_hash.c:1587)
==1391==    by 0x114A0BB: zend_destroy_modules (zend_API.c:2040)
==1391==    by 0x1138C74: zend_shutdown (zend.c:978)
==1391==    by 0x10295E7: php_module_shutdown (main.c:2326)
==1391==    by 0x138FBCE: main (phpdbg.c:2165)
==1391==  Address 0x14e6df90 is 0 bytes inside a block of size 43,632 free'd
==1391==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==1391==    by 0xA802CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA8C8ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xB258F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA5126E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA512952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA3DC5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xB360AB: zm_shutdown_pdo_oci (pdo_oci.c:140)
==1391==    by 0x114E98D: module_destructor (zend_API.c:2595)
==1391==    by 0x11384C4: module_destructor_zval (zend.c:747)
==1391==    by 0x116F474: _zend_hash_del_el_ex (zend_hash.c:1110)
==1391==    by 0x116F474: _zend_hash_del_el (zend_hash.c:1133)
==1391==    by 0x116F474: zend_hash_graceful_reverse_destroy (zend_hash.c:1587)
==1391==    by 0x114A0BB: zend_destroy_modules (zend_API.c:2040)
==1391==  Block was alloc'd at
==1391==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==1391==    by 0xA802CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA8C8EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xB258EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA51C030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA51A2FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xA3DC4E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1391==    by 0xB36019: zm_activate_pdo_oci (pdo_oci.c:118)
==1391==    by 0x114EB6F: zend_activate_modules (zend_API.c:2631)
==1391==    by 0x10273A9: php_request_startup (main.c:1664)
==1391==    by 0x138E150: main (phpdbg.c:1808)
==1391== 

 

Generated at Thu, 19 Apr 2018 02:25:01 +0000 (4 days ago)

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