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

==29938== Invalid read of size 1
==29938==    at 0x10C9104: zend_string_release (zend_string.h:289)
==29938==    by 0x10C9104: destroy_op_array (zend_opcode.c:399)
==29938==    by 0x13703B8: php_phpdbg_destroy_file_source (phpdbg.c:131)
==29938==    by 0x1124DC6: zend_hash_destroy (zend_hash.c:1247)
==29938==    by 0x137956F: main (phpdbg.c:2159)
==29938==  Address 0x14f43895 is 5 bytes inside a block of size 32 free'd
==29938==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==29938==    by 0x13BE642: phpdbg_watch_efree (phpdbg_watch.c:1169)
==29938==    by 0x108487B: _efree (zend_alloc.c:2444)
==29938==    by 0x116E03A: _str_dtor (zend_string.c:50)
==29938==    by 0x1124CDD: zend_hash_destroy (zend_hash.c:1236)
==29938==    by 0x116F1B0: zend_interned_strings_deactivate (zend_string.c:205)
==29938==    by 0xFE00A1: php_request_shutdown (main.c:1925)
==29938==    by 0x1378E62: main (phpdbg.c:2098)
==29938==  Block was alloc'd at
==29938==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==29938==    by 0x1085DE1: __zend_malloc (zend_alloc.c:2829)
==29938==    by 0x1084561: _emalloc (zend_alloc.c:2429)
==29938==    by 0x104D6C9: zend_string_alloc (zend_string.h:134)
==29938==    by 0x104D6C9: zend_string_init (zend_string.h:170)
==29938==    by 0x104D6C9: lex_scan (zend_language_scanner.l:1869)
==29938==    by 0x108E40D: zendlex (zend_compile.c:1721)
==29938==    by 0x10342A6: zendparse (zend_language_parser.c:4914)
==29938==    by 0x103FB4A: zend_compile (zend_language_scanner.l:585)
==29938==    by 0x103FF2E: compile_file (zend_language_scanner.l:635)
==29938==    by 0xB7819C: phar_compile_file (phar.c:3317)
==29938==    by 0x13A2CCC: phpdbg_compile_file (phpdbg_list.c:274)
==29938==    by 0x13A320C: phpdbg_init_compile_file (phpdbg_list.c:317)
==29938==    by 0x13860F3: phpdbg_compile (phpdbg_prompt.c:600)
==29938== 
==29938== Invalid read of size 1
==29938==    at 0x10C9104: zend_string_release (zend_string.h:289)
==29938==    by 0x10C9104: destroy_op_array (zend_opcode.c:399)
==29938==    by 0x1370E1F: zm_shutdown_phpdbg (phpdbg.c:268)
==29938==    by 0x11044E6: module_destructor (zend_API.c:2564)
==29938==    by 0x10EE5CF: module_destructor_zval (zend.c:690)
==29938==    by 0x11275D3: _zend_hash_del_el_ex (zend_hash.c:998)
==29938==    by 0x11275D3: _zend_hash_del_el (zend_hash.c:1021)
==29938==    by 0x11275D3: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==29938==    by 0x10FFA66: zend_destroy_modules (zend_API.c:2008)
==29938==    by 0x10EEDCD: zend_shutdown (zend.c:905)
==29938==    by 0xFE1A84: php_module_shutdown (main.c:2453)
==29938==    by 0x13795E9: main (phpdbg.c:2162)
==29938==  Address 0x1599dc65 is 5 bytes inside a block of size 32 free'd
==29938==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==29938==    by 0x13BE642: phpdbg_watch_efree (phpdbg_watch.c:1169)
==29938==    by 0x108487B: _efree (zend_alloc.c:2444)
==29938==    by 0x116E03A: _str_dtor (zend_string.c:50)
==29938==    by 0x1124CDD: zend_hash_destroy (zend_hash.c:1236)
==29938==    by 0x116F1B0: zend_interned_strings_deactivate (zend_string.c:205)
==29938==    by 0xFE00A1: php_request_shutdown (main.c:1925)
==29938==    by 0x1378E62: main (phpdbg.c:2098)
==29938==  Block was alloc'd at
==29938==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==29938==    by 0x1085DE1: __zend_malloc (zend_alloc.c:2829)
==29938==    by 0x1084561: _emalloc (zend_alloc.c:2429)
==29938==    by 0x104D6C9: zend_string_alloc (zend_string.h:134)
==29938==    by 0x104D6C9: zend_string_init (zend_string.h:170)
==29938==    by 0x104D6C9: lex_scan (zend_language_scanner.l:1869)
==29938==    by 0x108E40D: zendlex (zend_compile.c:1721)
==29938==    by 0x10342A6: zendparse (zend_language_parser.c:4914)
==29938==    by 0x103FB4A: zend_compile (zend_language_scanner.l:585)
==29938==    by 0x103FF2E: compile_file (zend_language_scanner.l:635)
==29938==    by 0xB7819C: phar_compile_file (phar.c:3317)
==29938==    by 0x13A2CCC: phpdbg_compile_file (phpdbg_list.c:274)
==29938==    by 0x13A320C: phpdbg_init_compile_file (phpdbg_list.c:317)
==29938==    by 0x13860F3: phpdbg_compile (phpdbg_prompt.c:600)
==29938== 
==29938== Invalid read of size 4
==29938==    at 0xA304562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xAE6D8B: zm_shutdown_pdo_oci (pdo_oci.c:140)
==29938==    by 0x11044E6: module_destructor (zend_API.c:2564)
==29938==    by 0x10EE5CF: module_destructor_zval (zend.c:690)
==29938==    by 0x11275D3: _zend_hash_del_el_ex (zend_hash.c:998)
==29938==    by 0x11275D3: _zend_hash_del_el (zend_hash.c:1021)
==29938==    by 0x11275D3: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==29938==    by 0x10FFA66: zend_destroy_modules (zend_API.c:2008)
==29938==    by 0x10EEDCD: zend_shutdown (zend.c:905)
==29938==    by 0xFE1A84: php_module_shutdown (main.c:2453)
==29938==    by 0x13795E9: main (phpdbg.c:2162)
==29938==  Address 0x14ef1e10 is 0 bytes inside a block of size 43,632 free'd
==29938==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==29938==    by 0xA5FACDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA6C0ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xB050F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA30A6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xAE6D8B: zm_shutdown_pdo_oci (pdo_oci.c:140)
==29938==    by 0x11044E6: module_destructor (zend_API.c:2564)
==29938==    by 0x10EE5CF: module_destructor_zval (zend.c:690)
==29938==    by 0x11275D3: _zend_hash_del_el_ex (zend_hash.c:998)
==29938==    by 0x11275D3: _zend_hash_del_el (zend_hash.c:1021)
==29938==    by 0x11275D3: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==29938==    by 0x10FFA66: zend_destroy_modules (zend_API.c:2008)
==29938==  Block was alloc'd at
==29938==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==29938==    by 0xA5FACEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA6C0EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xB050EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA314030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA3122FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xA1D44E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29938==    by 0xAE6CF9: zm_activate_pdo_oci (pdo_oci.c:118)
==29938==    by 0x11046A7: zend_activate_modules (zend_API.c:2600)
==29938==    by 0xFDF2C4: php_request_startup (main.c:1694)
==29938==    by 0x1377AAC: main (phpdbg.c:1806)
==29938== 

 

Generated at Thu, 20 Sep 2018 00:48:51 +0000 (6 days ago)

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