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

==6533== Invalid read of size 1
==6533==    at 0x10C8EE2: zend_string_release (zend_string.h:289)
==6533==    by 0x10C8EE2: destroy_op_array (zend_opcode.c:399)
==6533==    by 0x136FA92: php_phpdbg_destroy_file_source (phpdbg.c:131)
==6533==    by 0x1124B6A: zend_hash_destroy (zend_hash.c:1245)
==6533==    by 0x1378C49: main (phpdbg.c:2159)
==6533==  Address 0x14f34885 is 5 bytes inside a block of size 32 free'd
==6533==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==6533==    by 0x13BDD1C: phpdbg_watch_efree (phpdbg_watch.c:1169)
==6533==    by 0x1084667: _efree (zend_alloc.c:2444)
==6533==    by 0x116DDF9: _str_dtor (zend_string.c:50)
==6533==    by 0x1124A81: zend_hash_destroy (zend_hash.c:1234)
==6533==    by 0x116EF6F: zend_interned_strings_deactivate (zend_string.c:205)
==6533==    by 0xFDFEBA: php_request_shutdown (main.c:1925)
==6533==    by 0x137853C: main (phpdbg.c:2098)
==6533==  Block was alloc'd at
==6533==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==6533==    by 0x1085BCD: __zend_malloc (zend_alloc.c:2829)
==6533==    by 0x108434D: _emalloc (zend_alloc.c:2429)
==6533==    by 0x104D4B5: zend_string_alloc (zend_string.h:134)
==6533==    by 0x104D4B5: zend_string_init (zend_string.h:170)
==6533==    by 0x104D4B5: lex_scan (zend_language_scanner.l:1869)
==6533==    by 0x108E1F9: zendlex (zend_compile.c:1721)
==6533==    by 0x1034092: zendparse (zend_language_parser.c:4914)
==6533==    by 0x103F936: zend_compile (zend_language_scanner.l:585)
==6533==    by 0x103FD1A: compile_file (zend_language_scanner.l:635)
==6533==    by 0xB7831A: phar_compile_file (phar.c:3320)
==6533==    by 0x13A23A6: phpdbg_compile_file (phpdbg_list.c:274)
==6533==    by 0x13A28E6: phpdbg_init_compile_file (phpdbg_list.c:317)
==6533==    by 0x13857CD: phpdbg_compile (phpdbg_prompt.c:600)
==6533== 
==6533== Invalid read of size 1
==6533==    at 0x10C8EE2: zend_string_release (zend_string.h:289)
==6533==    by 0x10C8EE2: destroy_op_array (zend_opcode.c:399)
==6533==    by 0x13704F9: zm_shutdown_phpdbg (phpdbg.c:268)
==6533==    by 0x11042C4: module_destructor (zend_API.c:2564)
==6533==    by 0x10EE3AD: module_destructor_zval (zend.c:690)
==6533==    by 0x1127377: _zend_hash_del_el_ex (zend_hash.c:996)
==6533==    by 0x1127377: _zend_hash_del_el (zend_hash.c:1019)
==6533==    by 0x1127377: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==6533==    by 0x10FF844: zend_destroy_modules (zend_API.c:2008)
==6533==    by 0x10EEBAB: zend_shutdown (zend.c:905)
==6533==    by 0xFE189D: php_module_shutdown (main.c:2453)
==6533==    by 0x1378CC3: main (phpdbg.c:2162)
==6533==  Address 0x1598eba5 is 5 bytes inside a block of size 32 free'd
==6533==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==6533==    by 0x13BDD1C: phpdbg_watch_efree (phpdbg_watch.c:1169)
==6533==    by 0x1084667: _efree (zend_alloc.c:2444)
==6533==    by 0x116DDF9: _str_dtor (zend_string.c:50)
==6533==    by 0x1124A81: zend_hash_destroy (zend_hash.c:1234)
==6533==    by 0x116EF6F: zend_interned_strings_deactivate (zend_string.c:205)
==6533==    by 0xFDFEBA: php_request_shutdown (main.c:1925)
==6533==    by 0x137853C: main (phpdbg.c:2098)
==6533==  Block was alloc'd at
==6533==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==6533==    by 0x1085BCD: __zend_malloc (zend_alloc.c:2829)
==6533==    by 0x108434D: _emalloc (zend_alloc.c:2429)
==6533==    by 0x104D4B5: zend_string_alloc (zend_string.h:134)
==6533==    by 0x104D4B5: zend_string_init (zend_string.h:170)
==6533==    by 0x104D4B5: lex_scan (zend_language_scanner.l:1869)
==6533==    by 0x108E1F9: zendlex (zend_compile.c:1721)
==6533==    by 0x1034092: zendparse (zend_language_parser.c:4914)
==6533==    by 0x103F936: zend_compile (zend_language_scanner.l:585)
==6533==    by 0x103FD1A: compile_file (zend_language_scanner.l:635)
==6533==    by 0xB7831A: phar_compile_file (phar.c:3320)
==6533==    by 0x13A23A6: phpdbg_compile_file (phpdbg_list.c:274)
==6533==    by 0x13A28E6: phpdbg_init_compile_file (phpdbg_list.c:317)
==6533==    by 0x13857CD: phpdbg_compile (phpdbg_prompt.c:600)
==6533== 
==6533== Invalid read of size 4
==6533==    at 0xA304562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xAE6FAF: zm_shutdown_pdo_oci (pdo_oci.c:140)
==6533==    by 0x11042C4: module_destructor (zend_API.c:2564)
==6533==    by 0x10EE3AD: module_destructor_zval (zend.c:690)
==6533==    by 0x1127377: _zend_hash_del_el_ex (zend_hash.c:996)
==6533==    by 0x1127377: _zend_hash_del_el (zend_hash.c:1019)
==6533==    by 0x1127377: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==6533==    by 0x10FF844: zend_destroy_modules (zend_API.c:2008)
==6533==    by 0x10EEBAB: zend_shutdown (zend.c:905)
==6533==    by 0xFE189D: php_module_shutdown (main.c:2453)
==6533==    by 0x1378CC3: main (phpdbg.c:2162)
==6533==  Address 0x14ee2e00 is 0 bytes inside a block of size 43,632 free'd
==6533==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==6533==    by 0xA5FACDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA6C0ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xB050F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA30A6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xAE6FAF: zm_shutdown_pdo_oci (pdo_oci.c:140)
==6533==    by 0x11042C4: module_destructor (zend_API.c:2564)
==6533==    by 0x10EE3AD: module_destructor_zval (zend.c:690)
==6533==    by 0x1127377: _zend_hash_del_el_ex (zend_hash.c:996)
==6533==    by 0x1127377: _zend_hash_del_el (zend_hash.c:1019)
==6533==    by 0x1127377: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==6533==    by 0x10FF844: zend_destroy_modules (zend_API.c:2008)
==6533==  Block was alloc'd at
==6533==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==6533==    by 0xA5FACEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA6C0EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xB050EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA314030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA3122FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xA1D44E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6533==    by 0xAE6F1D: zm_activate_pdo_oci (pdo_oci.c:118)
==6533==    by 0x1104485: zend_activate_modules (zend_API.c:2600)
==6533==    by 0xFDF0DD: php_request_startup (main.c:1694)
==6533==    by 0x1377186: main (phpdbg.c:1806)
==6533== 

 

Generated at Fri, 25 May 2018 13:51:30 +0000 (2 days ago)

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