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/breakpoints_005.phpt ('Test breakpoint into function context')

Script

1: <?php
2:
3:
function foo($bar) {
4:     
var_dump($bar);
5: }
6:
7:
foo("test");
8:

Report

==17903== Invalid read of size 4
==17903==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xAECF0C: zm_shutdown_pdo_oci (pdo_oci.c:140)
==17903==    by 0x110A93F: module_destructor (zend_API.c:2564)
==17903==    by 0x10F49EC: module_destructor_zval (zend.c:690)
==17903==    by 0x112DA2C: _zend_hash_del_el_ex (zend_hash.c:998)
==17903==    by 0x112DA2C: _zend_hash_del_el (zend_hash.c:1021)
==17903==    by 0x112DA2C: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==17903==    by 0x1105EBF: zend_destroy_modules (zend_API.c:2008)
==17903==    by 0x10F51EA: zend_shutdown (zend.c:905)
==17903==    by 0xFE7CB8: php_module_shutdown (main.c:2453)
==17903==    by 0x137FD34: main (phpdbg.c:2162)
==17903==  Address 0x15ac8a60 is 0 bytes inside a block of size 43,632 free'd
==17903==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==17903==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xAECF0C: zm_shutdown_pdo_oci (pdo_oci.c:140)
==17903==    by 0x110A93F: module_destructor (zend_API.c:2564)
==17903==    by 0x10F49EC: module_destructor_zval (zend.c:690)
==17903==    by 0x112DA2C: _zend_hash_del_el_ex (zend_hash.c:998)
==17903==    by 0x112DA2C: _zend_hash_del_el (zend_hash.c:1021)
==17903==    by 0x112DA2C: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==17903==    by 0x1105EBF: zend_destroy_modules (zend_API.c:2008)
==17903==  Block was alloc'd at
==17903==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==17903==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17903==    by 0xAECE7A: zm_activate_pdo_oci (pdo_oci.c:118)
==17903==    by 0x110AB00: zend_activate_modules (zend_API.c:2600)
==17903==    by 0xFE54F8: php_request_startup (main.c:1694)
==17903==    by 0x137E1F7: main (phpdbg.c:1806)
==17903== 

 

Generated at Sun, 11 Nov 2018 11:52:49 +0000 (2 days ago)

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