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/include_once.phpt ('include_once must include only once')

Script

1: <?php
2:
3:
include_once __DIR__.'/include.inc';
4: include_once 
__DIR__.'/include.inc';
5:
6:

Report

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

 

Generated at Mon, 08 Oct 2018 02:05:35 +0000 (9 days ago)

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