PHP  
 PHP_7_2
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/phar/tests/cache_list/copyonwrite10.phar.phpt ('Phar: copy-on-write test 10 [cache_list]')

Script

1: <?php __HALT_COMPILER(); ?>
2:
6test.txt`\E<?php __HALT_COMPILER();i絊YzI."#93GBMB

Report

==19856== Invalid read of size 8
==19856==    at 0x10159C1: _php_stream_free (streams.c:373)
==19856==    by 0xB6BB80: phar_destroy_phar_data (phar.c:254)
==19856==    by 0xB6BD36: phar_archive_delref (phar.c:279)
==19856==    by 0xB6C870: phar_entry_delref (phar.c:453)
==19856==    by 0xB59EBC: phar_stream_close (stream.c:354)
==19856==    by 0x1015DC9: _php_stream_free (streams.c:467)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==  Address 0x15b37080 is 144 bytes inside a block of size 224 free'd
==19856==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19856==    by 0x108A4CA: _efree (zend_alloc.c:2444)
==19856==    by 0x1016201: _php_stream_free (streams.c:511)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==    by 0x10F50B1: zend_deactivate (zend.c:1036)
==19856==    by 0xFE593E: php_request_shutdown (main.c:1904)
==19856==    by 0x1379DBB: do_cli (php_cli.c:1178)
==19856==  Block was alloc'd at
==19856==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19856==    by 0x108BA30: __zend_malloc (zend_alloc.c:2829)
==19856==    by 0x10861F2: _emalloc_224 (zend_alloc.c:2352)
==19856==    by 0x101561B: _php_stream_alloc (streams.c:274)
==19856==    by 0x10237C1: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19856==    by 0x1023AFF: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19856==    by 0x1025C84: _php_stream_fopen (plain_wrapper.c:1024)
==19856==    by 0x10261BF: php_plain_files_stream_opener (plain_wrapper.c:1080)
==19856==    by 0x101C95B: _php_stream_open_wrapper_ex (streams.c:2027)
==19856==    by 0xB7CABA: phar_flush (phar.c:3172)
==19856==    by 0xB92EE1: zim_Phar_setStub (phar_object.c:2960)
==19856==    by 0x134ECDC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==19856==    by 0x134ECDC: execute_ex (zend_vm_execute.h:59765)
==19856== 
==19856== Invalid read of size 4
==19856==    at 0x1015A0F: _php_stream_free (streams.c:376)
==19856==    by 0xB6BB80: phar_destroy_phar_data (phar.c:254)
==19856==    by 0xB6BD36: phar_archive_delref (phar.c:279)
==19856==    by 0xB6C870: phar_entry_delref (phar.c:453)
==19856==    by 0xB59EBC: phar_stream_close (stream.c:354)
==19856==    by 0x1015DC9: _php_stream_free (streams.c:467)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==  Address 0x15b37064 is 116 bytes inside a block of size 224 free'd
==19856==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19856==    by 0x108A4CA: _efree (zend_alloc.c:2444)
==19856==    by 0x1016201: _php_stream_free (streams.c:511)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==    by 0x10F50B1: zend_deactivate (zend.c:1036)
==19856==    by 0xFE593E: php_request_shutdown (main.c:1904)
==19856==    by 0x1379DBB: do_cli (php_cli.c:1178)
==19856==  Block was alloc'd at
==19856==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19856==    by 0x108BA30: __zend_malloc (zend_alloc.c:2829)
==19856==    by 0x10861F2: _emalloc_224 (zend_alloc.c:2352)
==19856==    by 0x101561B: _php_stream_alloc (streams.c:274)
==19856==    by 0x10237C1: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19856==    by 0x1023AFF: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19856==    by 0x1025C84: _php_stream_fopen (plain_wrapper.c:1024)
==19856==    by 0x10261BF: php_plain_files_stream_opener (plain_wrapper.c:1080)
==19856==    by 0x101C95B: _php_stream_open_wrapper_ex (streams.c:2027)
==19856==    by 0xB7CABA: phar_flush (phar.c:3172)
==19856==    by 0xB92EE1: zim_Phar_setStub (phar_object.c:2960)
==19856==    by 0x134ECDC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==19856==    by 0x134ECDC: execute_ex (zend_vm_execute.h:59765)
==19856== 
==19856== Invalid read of size 1
==19856==    at 0x1015A36: _php_stream_free (streams.c:389)
==19856==    by 0xB6BB80: phar_destroy_phar_data (phar.c:254)
==19856==    by 0xB6BD36: phar_archive_delref (phar.c:279)
==19856==    by 0xB6C870: phar_entry_delref (phar.c:453)
==19856==    by 0xB59EBC: phar_stream_close (stream.c:354)
==19856==    by 0x1015DC9: _php_stream_free (streams.c:467)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==  Address 0x15b37050 is 96 bytes inside a block of size 224 free'd
==19856==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19856==    by 0x108A4CA: _efree (zend_alloc.c:2444)
==19856==    by 0x1016201: _php_stream_free (streams.c:511)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==    by 0x10F50B1: zend_deactivate (zend.c:1036)
==19856==    by 0xFE593E: php_request_shutdown (main.c:1904)
==19856==    by 0x1379DBB: do_cli (php_cli.c:1178)
==19856==  Block was alloc'd at
==19856==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19856==    by 0x108BA30: __zend_malloc (zend_alloc.c:2829)
==19856==    by 0x10861F2: _emalloc_224 (zend_alloc.c:2352)
==19856==    by 0x101561B: _php_stream_alloc (streams.c:274)
==19856==    by 0x10237C1: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19856==    by 0x1023AFF: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19856==    by 0x1025C84: _php_stream_fopen (plain_wrapper.c:1024)
==19856==    by 0x10261BF: php_plain_files_stream_opener (plain_wrapper.c:1080)
==19856==    by 0x101C95B: _php_stream_open_wrapper_ex (streams.c:2027)
==19856==    by 0xB7CABA: phar_flush (phar.c:3172)
==19856==    by 0xB92EE1: zim_Phar_setStub (phar_object.c:2960)
==19856==    by 0x134ECDC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==19856==    by 0x134ECDC: execute_ex (zend_vm_execute.h:59765)
==19856== 
==19856== Invalid read of size 1
==19856==    at 0x1015A49: _php_stream_free (streams.c:391)
==19856==    by 0xB6BB80: phar_destroy_phar_data (phar.c:254)
==19856==    by 0xB6BD36: phar_archive_delref (phar.c:279)
==19856==    by 0xB6C870: phar_entry_delref (phar.c:453)
==19856==    by 0xB59EBC: phar_stream_close (stream.c:354)
==19856==    by 0x1015DC9: _php_stream_free (streams.c:467)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==  Address 0x15b37050 is 96 bytes inside a block of size 224 free'd
==19856==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19856==    by 0x108A4CA: _efree (zend_alloc.c:2444)
==19856==    by 0x1016201: _php_stream_free (streams.c:511)
==19856==    by 0x101A611: stream_resource_regular_dtor (streams.c:1591)
==19856==    by 0x11390A9: zend_resource_dtor (zend_list.c:76)
==19856==    by 0x1139ACE: zend_close_rsrc (zend_list.c:230)
==19856==    by 0x112EB16: zend_hash_reverse_apply (zend_hash.c:1599)
==19856==    by 0x1139B1A: zend_close_rsrc_list (zend_list.c:238)
==19856==    by 0x10C1362: shutdown_executor (zend_execute_API.c:263)
==19856==    by 0x10F50B1: zend_deactivate (zend.c:1036)
==19856==    by 0xFE593E: php_request_shutdown (main.c:1904)
==19856==    by 0x1379DBB: do_cli (php_cli.c:1178)
==19856==  Block was alloc'd at
==19856==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19856==    by 0x108BA30: __zend_malloc (zend_alloc.c:2829)
==19856==    by 0x10861F2: _emalloc_224 (zend_alloc.c:2352)
==19856==    by 0x101561B: _php_stream_alloc (streams.c:274)
==19856==    by 0x10237C1: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19856==    by 0x1023AFF: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19856==    by 0x1025C84: _php_stream_fopen (plain_wrapper.c:1024)
==19856==    by 0x10261BF: php_plain_files_stream_opener (plain_wrapper.c:1080)
==19856==    by 0x101C95B: _php_stream_open_wrapper_ex (streams.c:2027)
==19856==    by 0xB7CABA: phar_flush (phar.c:3172)
==19856==    by 0xB92EE1: zim_Phar_setStub (phar_object.c:2960)
==19856==    by 0x134ECDC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==19856==    by 0x134ECDC: execute_ex (zend_vm_execute.h:59765)
==19856== 

 

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

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