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/normal_exit.phpt ('A script with die() must end "normally"')

Script

1: <?php
2:
3:
(function($argv) {
4:     die();
5: })(
$argv);
6:

Report

==1356== Invalid read of size 4
==1356==    at 0xA50C562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA512952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA3DC5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xB360AB: zm_shutdown_pdo_oci (pdo_oci.c:140)
==1356==    by 0x114E98D: module_destructor (zend_API.c:2595)
==1356==    by 0x11384C4: module_destructor_zval (zend.c:747)
==1356==    by 0x116F474: _zend_hash_del_el_ex (zend_hash.c:1110)
==1356==    by 0x116F474: _zend_hash_del_el (zend_hash.c:1133)
==1356==    by 0x116F474: zend_hash_graceful_reverse_destroy (zend_hash.c:1587)
==1356==    by 0x114A0BB: zend_destroy_modules (zend_API.c:2040)
==1356==    by 0x1138C74: zend_shutdown (zend.c:978)
==1356==    by 0x10295E7: php_module_shutdown (main.c:2326)
==1356==    by 0x138FBCE: main (phpdbg.c:2165)
==1356==  Address 0x14e6dcc0 is 0 bytes inside a block of size 43,632 free'd
==1356==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==1356==    by 0xA802CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA8C8ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xB258F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA5126E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA512952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA3DC5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xB360AB: zm_shutdown_pdo_oci (pdo_oci.c:140)
==1356==    by 0x114E98D: module_destructor (zend_API.c:2595)
==1356==    by 0x11384C4: module_destructor_zval (zend.c:747)
==1356==    by 0x116F474: _zend_hash_del_el_ex (zend_hash.c:1110)
==1356==    by 0x116F474: _zend_hash_del_el (zend_hash.c:1133)
==1356==    by 0x116F474: zend_hash_graceful_reverse_destroy (zend_hash.c:1587)
==1356==    by 0x114A0BB: zend_destroy_modules (zend_API.c:2040)
==1356==  Block was alloc'd at
==1356==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==1356==    by 0xA802CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA8C8EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xB258EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA51C030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA51A2FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xA3DC4E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==1356==    by 0xB36019: zm_activate_pdo_oci (pdo_oci.c:118)
==1356==    by 0x114EB6F: zend_activate_modules (zend_API.c:2631)
==1356==    by 0x10273A9: php_request_startup (main.c:1664)
==1356==    by 0x138E150: main (phpdbg.c:1808)
==1356== 

 

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

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