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

Script

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

Report

==15850== Invalid read of size 1
==15850==    at 0x10F9733: zend_string_release (zend_string.h:289)
==15850==    by 0x10F9733: destroy_op_array (zend_opcode.c:399)
==15850==    by 0x13A11CE: php_phpdbg_destroy_file_source (phpdbg.c:131)
==15850==    by 0x1155374: zend_hash_destroy (zend_hash.c:1247)
==15850==    by 0x13AA2A9: main (phpdbg.c:2159)
==15850==  Address 0x15b41f45 is 5 bytes inside a block of size 32 free'd
==15850==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==15850==    by 0x13EF067: phpdbg_watch_efree (phpdbg_watch.c:1169)
==15850==    by 0x10B48D9: _efree (zend_alloc.c:2451)
==15850==    by 0x119EC11: _str_dtor (zend_string.c:50)
==15850==    by 0x115528B: zend_hash_destroy (zend_hash.c:1236)
==15850==    by 0x119FD87: zend_interned_strings_deactivate (zend_string.c:205)
==15850==    by 0x100F436: php_request_shutdown (main.c:1925)
==15850==    by 0x13A9B9C: main (phpdbg.c:2098)
==15850==  Block was alloc'd at
==15850==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==15850==    by 0x10B5E3F: __zend_malloc (zend_alloc.c:2835)
==15850==    by 0x10B45BF: _emalloc (zend_alloc.c:2436)
==15850==    by 0x1076812: zend_string_alloc (zend_string.h:134)
==15850==    by 0x1076812: zend_string_init (zend_string.h:170)
==15850==    by 0x1076812: lex_scan (zend_language_scanner.l:1870)
==15850==    by 0x10BE443: zendlex (zend_compile.c:1728)
==15850==    by 0x1063AAE: zendparse (zend_language_parser.c:4222)
==15850==    by 0x106F37D: zend_compile (zend_language_scanner.l:586)
==15850==    by 0x106F761: compile_file (zend_language_scanner.l:636)
==15850==    by 0xBA64BF: phar_compile_file (phar.c:3333)
==15850==    by 0x13D3AF2: phpdbg_compile_file (phpdbg_list.c:257)
==15850==    by 0x13D412A: phpdbg_init_compile_file (phpdbg_list.c:305)
==15850==    by 0x13B6E2D: phpdbg_compile (phpdbg_prompt.c:600)
==15850== 
==15850== Invalid read of size 1
==15850==    at 0x10F9733: zend_string_release (zend_string.h:289)
==15850==    by 0x10F9733: destroy_op_array (zend_opcode.c:399)
==15850==    by 0x13A1C35: zm_shutdown_phpdbg (phpdbg.c:268)
==15850==    by 0x1134B08: module_destructor (zend_API.c:2564)
==15850==    by 0x111EC22: module_destructor_zval (zend.c:690)
==15850==    by 0x1157B81: _zend_hash_del_el_ex (zend_hash.c:998)
==15850==    by 0x1157B81: _zend_hash_del_el (zend_hash.c:1021)
==15850==    by 0x1157B81: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==15850==    by 0x1130088: zend_destroy_modules (zend_API.c:2008)
==15850==    by 0x111F420: zend_shutdown (zend.c:905)
==15850==    by 0x1010E14: php_module_shutdown (main.c:2458)
==15850==    by 0x13AA323: main (phpdbg.c:2162)
==15850==  Address 0x165ab1a5 is 5 bytes inside a block of size 32 free'd
==15850==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==15850==    by 0x13EF067: phpdbg_watch_efree (phpdbg_watch.c:1169)
==15850==    by 0x10B48D9: _efree (zend_alloc.c:2451)
==15850==    by 0x119EC11: _str_dtor (zend_string.c:50)
==15850==    by 0x115528B: zend_hash_destroy (zend_hash.c:1236)
==15850==    by 0x119FD87: zend_interned_strings_deactivate (zend_string.c:205)
==15850==    by 0x100F436: php_request_shutdown (main.c:1925)
==15850==    by 0x13A9B9C: main (phpdbg.c:2098)
==15850==  Block was alloc'd at
==15850==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==15850==    by 0x10B5E3F: __zend_malloc (zend_alloc.c:2835)
==15850==    by 0x10B45BF: _emalloc (zend_alloc.c:2436)
==15850==    by 0x1076812: zend_string_alloc (zend_string.h:134)
==15850==    by 0x1076812: zend_string_init (zend_string.h:170)
==15850==    by 0x1076812: lex_scan (zend_language_scanner.l:1870)
==15850==    by 0x10BE443: zendlex (zend_compile.c:1728)
==15850==    by 0x1063AAE: zendparse (zend_language_parser.c:4222)
==15850==    by 0x106F37D: zend_compile (zend_language_scanner.l:586)
==15850==    by 0x106F761: compile_file (zend_language_scanner.l:636)
==15850==    by 0xBA64BF: phar_compile_file (phar.c:3333)
==15850==    by 0x13D3AF2: phpdbg_compile_file (phpdbg_list.c:257)
==15850==    by 0x13D412A: phpdbg_init_compile_file (phpdbg_list.c:305)
==15850==    by 0x13B6E2D: phpdbg_compile (phpdbg_prompt.c:600)
==15850== 
==15850== Invalid read of size 4
==15850==    at 0xA493562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA499952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA3635C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xB13B94: zm_shutdown_pdo_oci (pdo_oci.c:145)
==15850==    by 0x1134B08: module_destructor (zend_API.c:2564)
==15850==    by 0x111EC22: module_destructor_zval (zend.c:690)
==15850==    by 0x1157B81: _zend_hash_del_el_ex (zend_hash.c:998)
==15850==    by 0x1157B81: _zend_hash_del_el (zend_hash.c:1021)
==15850==    by 0x1157B81: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==15850==    by 0x1130088: zend_destroy_modules (zend_API.c:2008)
==15850==    by 0x111F420: zend_shutdown (zend.c:905)
==15850==    by 0x1010E14: php_module_shutdown (main.c:2458)
==15850==    by 0x13AA323: main (phpdbg.c:2162)
==15850==  Address 0x15af06e0 is 0 bytes inside a block of size 43,632 free'd
==15850==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==15850==    by 0xA789CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA84FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xB1DFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA4996E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA499952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA3635C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xB13B94: zm_shutdown_pdo_oci (pdo_oci.c:145)
==15850==    by 0x1134B08: module_destructor (zend_API.c:2564)
==15850==    by 0x111EC22: module_destructor_zval (zend.c:690)
==15850==    by 0x1157B81: _zend_hash_del_el_ex (zend_hash.c:998)
==15850==    by 0x1157B81: _zend_hash_del_el (zend_hash.c:1021)
==15850==    by 0x1157B81: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==15850==    by 0x1130088: zend_destroy_modules (zend_API.c:2008)
==15850==  Block was alloc'd at
==15850==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==15850==    by 0xA789CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA84FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xB1DFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA4A3030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA4A12FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xA3634E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==15850==    by 0xB13B02: zm_activate_pdo_oci (pdo_oci.c:123)
==15850==    by 0x1134CC9: zend_activate_modules (zend_API.c:2600)
==15850==    by 0x100E659: php_request_startup (main.c:1694)
==15850==    by 0x13A87E6: main (phpdbg.c:1806)
==15850== 

 

Generated at Fri, 16 Oct 2020 02:28:14 +0000 (5 days ago)

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