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

==30629== Invalid write of size 1
==30629==    at 0x13711D6: phpdbg_do_run (phpdbg_prompt.c:904)
==30629==    by 0x139A31A: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==30629==    by 0x139A725: phpdbg_stack_execute (phpdbg_cmd.c:733)
==30629==    by 0x13759CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==30629==    by 0x136188D: main (phpdbg.c:2003)
==30629==  Address 0x15837071 is 0 bytes after a block of size 1 alloc'd
==30629==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==30629==    by 0x109DA88: __zend_malloc (zend_alloc.c:2884)
==30629==    by 0x10999FA: _emalloc (zend_alloc.c:2484)
==30629==    by 0x1370B62: phpdbg_do_run (phpdbg_prompt.c:841)
==30629==    by 0x139A31A: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==30629==    by 0x139A725: phpdbg_stack_execute (phpdbg_cmd.c:733)
==30629==    by 0x13759CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==30629==    by 0x136188D: main (phpdbg.c:2003)
==30629== 
==30629== Conditional jump or move depends on uninitialised value(s)
==30629==    at 0x4C2A868: __strlen_sse42 (vg_replace_strmem.c:462)
==30629==    by 0x1010568: php_build_argv (php_variables.c:601)
==30629==    by 0x13713AA: phpdbg_do_run (phpdbg_prompt.c:921)
==30629==    by 0x139A31A: phpdbg_internal_stack_execute (phpdbg_cmd.c:680)
==30629==    by 0x139A725: phpdbg_stack_execute (phpdbg_cmd.c:733)
==30629==    by 0x13759CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==30629==    by 0x136188D: main (phpdbg.c:2003)
==30629== 
==30629== Invalid read of size 4
==30629==    at 0xA2F2562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA2F8952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA1C25C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xB26590: zm_shutdown_pdo_oci (pdo_oci.c:140)
==30629==    by 0x111AE2F: module_destructor (zend_API.c:2497)
==30629==    by 0x1105096: module_destructor_zval (zend.c:725)
==30629==    by 0x113EA35: _zend_hash_del_el_ex (zend_hash.c:1074)
==30629==    by 0x113EA35: _zend_hash_del_el (zend_hash.c:1097)
==30629==    by 0x113EA35: zend_hash_graceful_reverse_destroy (zend_hash.c:1551)
==30629==    by 0x1116639: zend_destroy_modules (zend_API.c:1942)
==30629==    by 0x110580C: zend_shutdown (zend.c:951)
==30629==    by 0xFF059B: php_module_shutdown (main.c:2326)
==30629==    by 0x1362479: main (phpdbg.c:2165)
==30629==  Address 0x14e78e70 is 0 bytes inside a block of size 43,632 free'd
==30629==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==30629==    by 0xA5E8CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA6AEED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xB03EF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA2F86E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA2F8952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA1C25C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xB26590: zm_shutdown_pdo_oci (pdo_oci.c:140)
==30629==    by 0x111AE2F: module_destructor (zend_API.c:2497)
==30629==    by 0x1105096: module_destructor_zval (zend.c:725)
==30629==    by 0x113EA35: _zend_hash_del_el_ex (zend_hash.c:1074)
==30629==    by 0x113EA35: _zend_hash_del_el (zend_hash.c:1097)
==30629==    by 0x113EA35: zend_hash_graceful_reverse_destroy (zend_hash.c:1551)
==30629==    by 0x1116639: zend_destroy_modules (zend_API.c:1942)
==30629==  Block was alloc'd at
==30629==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==30629==    by 0xA5E8CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA6AEEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xB03EEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA302030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA3002FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xA1C24E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==30629==    by 0xB26504: zm_activate_pdo_oci (pdo_oci.c:118)
==30629==    by 0x111B00D: zend_activate_modules (zend_API.c:2533)
==30629==    by 0xFEE3E6: php_request_startup (main.c:1664)
==30629==    by 0x1360A6A: main (phpdbg.c:1808)
==30629== 

 

Generated at Mon, 15 Jan 2018 23:48:43 +0000 (6 days ago)

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