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

==19306== Invalid read of size 1
==19306==    at 0x10D00A9: zend_string_release (zend_string.h:289)
==19306==    by 0x10D00A9: destroy_op_array (zend_opcode.c:399)
==19306==    by 0x137768B: php_phpdbg_destroy_file_source (phpdbg.c:131)
==19306==    by 0x112BDA7: zend_hash_destroy (zend_hash.c:1247)
==19306==    by 0x1380842: main (phpdbg.c:2159)
==19306==  Address 0x15b1a6b5 is 5 bytes inside a block of size 32 free'd
==19306==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19306==    by 0x13C5915: phpdbg_watch_efree (phpdbg_watch.c:1169)
==19306==    by 0x108B80A: _efree (zend_alloc.c:2444)
==19306==    by 0x1175028: _str_dtor (zend_string.c:50)
==19306==    by 0x112BCBE: zend_hash_destroy (zend_hash.c:1236)
==19306==    by 0x117619E: zend_interned_strings_deactivate (zend_string.c:205)
==19306==    by 0xFE6E47: php_request_shutdown (main.c:1925)
==19306==    by 0x1380135: main (phpdbg.c:2098)
==19306==  Block was alloc'd at
==19306==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19306==    by 0x108CD70: __zend_malloc (zend_alloc.c:2829)
==19306==    by 0x108B4F0: _emalloc (zend_alloc.c:2429)
==19306==    by 0x105446F: zend_string_alloc (zend_string.h:134)
==19306==    by 0x105446F: zend_string_init (zend_string.h:170)
==19306==    by 0x105446F: lex_scan (zend_language_scanner.l:1869)
==19306==    by 0x109539C: zendlex (zend_compile.c:1721)
==19306==    by 0x103B04C: zendparse (zend_language_parser.c:4914)
==19306==    by 0x10468F0: zend_compile (zend_language_scanner.l:585)
==19306==    by 0x1046CD4: compile_file (zend_language_scanner.l:635)
==19306==    by 0xB7EC05: phar_compile_file (phar.c:3329)
==19306==    by 0x13A9F9F: phpdbg_compile_file (phpdbg_list.c:274)
==19306==    by 0x13AA4DF: phpdbg_init_compile_file (phpdbg_list.c:317)
==19306==    by 0x138D3C6: phpdbg_compile (phpdbg_prompt.c:600)
==19306== 
==19306== Invalid read of size 1
==19306==    at 0x10D00A9: zend_string_release (zend_string.h:289)
==19306==    by 0x10D00A9: destroy_op_array (zend_opcode.c:399)
==19306==    by 0x13780F2: zm_shutdown_phpdbg (phpdbg.c:268)
==19306==    by 0x110B4C7: module_destructor (zend_API.c:2564)
==19306==    by 0x10F5574: module_destructor_zval (zend.c:690)
==19306==    by 0x112E5B4: _zend_hash_del_el_ex (zend_hash.c:998)
==19306==    by 0x112E5B4: _zend_hash_del_el (zend_hash.c:1021)
==19306==    by 0x112E5B4: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==19306==    by 0x1106A47: zend_destroy_modules (zend_API.c:2008)
==19306==    by 0x10F5D72: zend_shutdown (zend.c:905)
==19306==    by 0xFE882A: php_module_shutdown (main.c:2453)
==19306==    by 0x13808BC: main (phpdbg.c:2162)
==19306==  Address 0x16582d35 is 5 bytes inside a block of size 32 free'd
==19306==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19306==    by 0x13C5915: phpdbg_watch_efree (phpdbg_watch.c:1169)
==19306==    by 0x108B80A: _efree (zend_alloc.c:2444)
==19306==    by 0x1175028: _str_dtor (zend_string.c:50)
==19306==    by 0x112BCBE: zend_hash_destroy (zend_hash.c:1236)
==19306==    by 0x117619E: zend_interned_strings_deactivate (zend_string.c:205)
==19306==    by 0xFE6E47: php_request_shutdown (main.c:1925)
==19306==    by 0x1380135: main (phpdbg.c:2098)
==19306==  Block was alloc'd at
==19306==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19306==    by 0x108CD70: __zend_malloc (zend_alloc.c:2829)
==19306==    by 0x108B4F0: _emalloc (zend_alloc.c:2429)
==19306==    by 0x105446F: zend_string_alloc (zend_string.h:134)
==19306==    by 0x105446F: zend_string_init (zend_string.h:170)
==19306==    by 0x105446F: lex_scan (zend_language_scanner.l:1869)
==19306==    by 0x109539C: zendlex (zend_compile.c:1721)
==19306==    by 0x103B04C: zendparse (zend_language_parser.c:4914)
==19306==    by 0x10468F0: zend_compile (zend_language_scanner.l:585)
==19306==    by 0x1046CD4: compile_file (zend_language_scanner.l:635)
==19306==    by 0xB7EC05: phar_compile_file (phar.c:3329)
==19306==    by 0x13A9F9F: phpdbg_compile_file (phpdbg_list.c:274)
==19306==    by 0x13AA4DF: phpdbg_init_compile_file (phpdbg_list.c:317)
==19306==    by 0x138D3C6: phpdbg_compile (phpdbg_prompt.c:600)
==19306== 
==19306== Invalid read of size 4
==19306==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xAED021: zm_shutdown_pdo_oci (pdo_oci.c:140)
==19306==    by 0x110B4C7: module_destructor (zend_API.c:2564)
==19306==    by 0x10F5574: module_destructor_zval (zend.c:690)
==19306==    by 0x112E5B4: _zend_hash_del_el_ex (zend_hash.c:998)
==19306==    by 0x112E5B4: _zend_hash_del_el (zend_hash.c:1021)
==19306==    by 0x112E5B4: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==19306==    by 0x1106A47: zend_destroy_modules (zend_API.c:2008)
==19306==    by 0x10F5D72: zend_shutdown (zend.c:905)
==19306==    by 0xFE882A: php_module_shutdown (main.c:2453)
==19306==    by 0x13808BC: main (phpdbg.c:2162)
==19306==  Address 0x15ac8c30 is 0 bytes inside a block of size 43,632 free'd
==19306==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19306==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xAED021: zm_shutdown_pdo_oci (pdo_oci.c:140)
==19306==    by 0x110B4C7: module_destructor (zend_API.c:2564)
==19306==    by 0x10F5574: module_destructor_zval (zend.c:690)
==19306==    by 0x112E5B4: _zend_hash_del_el_ex (zend_hash.c:998)
==19306==    by 0x112E5B4: _zend_hash_del_el (zend_hash.c:1021)
==19306==    by 0x112E5B4: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==19306==    by 0x1106A47: zend_destroy_modules (zend_API.c:2008)
==19306==  Block was alloc'd at
==19306==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19306==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==19306==    by 0xAECF8F: zm_activate_pdo_oci (pdo_oci.c:118)
==19306==    by 0x110B688: zend_activate_modules (zend_API.c:2600)
==19306==    by 0xFE606A: php_request_startup (main.c:1694)
==19306==    by 0x137ED7F: main (phpdbg.c:1806)
==19306== 

 

Generated at Thu, 06 Dec 2018 13:01:04 +0000 (4 days ago)

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