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();@xc?%[$0j%zOGBMB

Report

==19595== Invalid read of size 8
==19595==    at 0x103E050: _php_stream_free (streams.c:373)
==19595==    by 0xB933F1: phar_destroy_phar_data (phar.c:254)
==19595==    by 0xB935A7: phar_archive_delref (phar.c:279)
==19595==    by 0xB940E1: phar_entry_delref (phar.c:453)
==19595==    by 0xB8172D: phar_stream_close (stream.c:354)
==19595==    by 0x103E458: _php_stream_free (streams.c:467)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==  Address 0x15b5f640 is 144 bytes inside a block of size 224 free'd
==19595==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19595==    by 0x10B3599: _efree (zend_alloc.c:2451)
==19595==    by 0x103E922: _php_stream_free (streams.c:517)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==    by 0x111E748: zend_deactivate (zend.c:1032)
==19595==    by 0x100DF2D: php_request_shutdown (main.c:1904)
==19595==    by 0x13A38FE: do_cli (php_cli.c:1178)
==19595==  Block was alloc'd at
==19595==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19595==    by 0x10B4AFF: __zend_malloc (zend_alloc.c:2835)
==19595==    by 0x10AF2C1: _emalloc_224 (zend_alloc.c:2359)
==19595==    by 0x103DCAA: _php_stream_alloc (streams.c:274)
==19595==    by 0x104C1DA: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19595==    by 0x104C518: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19595==    by 0x104E62B: _php_stream_fopen (plain_wrapper.c:1021)
==19595==    by 0x104EB66: php_plain_files_stream_opener (plain_wrapper.c:1077)
==19595==    by 0x1045374: _php_stream_open_wrapper_ex (streams.c:2036)
==19595==    by 0xBA4374: phar_flush (phar.c:3176)
==19595==    by 0xBBA7D3: zim_Phar_setStub (phar_object.c:2973)
==19595==    by 0x1378747: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==19595==    by 0x1378747: execute_ex (zend_vm_execute.h:59793)
==19595== 
==19595== Invalid read of size 4
==19595==    at 0x103E09E: _php_stream_free (streams.c:376)
==19595==    by 0xB933F1: phar_destroy_phar_data (phar.c:254)
==19595==    by 0xB935A7: phar_archive_delref (phar.c:279)
==19595==    by 0xB940E1: phar_entry_delref (phar.c:453)
==19595==    by 0xB8172D: phar_stream_close (stream.c:354)
==19595==    by 0x103E458: _php_stream_free (streams.c:467)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==  Address 0x15b5f624 is 116 bytes inside a block of size 224 free'd
==19595==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19595==    by 0x10B3599: _efree (zend_alloc.c:2451)
==19595==    by 0x103E922: _php_stream_free (streams.c:517)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==    by 0x111E748: zend_deactivate (zend.c:1032)
==19595==    by 0x100DF2D: php_request_shutdown (main.c:1904)
==19595==    by 0x13A38FE: do_cli (php_cli.c:1178)
==19595==  Block was alloc'd at
==19595==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19595==    by 0x10B4AFF: __zend_malloc (zend_alloc.c:2835)
==19595==    by 0x10AF2C1: _emalloc_224 (zend_alloc.c:2359)
==19595==    by 0x103DCAA: _php_stream_alloc (streams.c:274)
==19595==    by 0x104C1DA: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19595==    by 0x104C518: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19595==    by 0x104E62B: _php_stream_fopen (plain_wrapper.c:1021)
==19595==    by 0x104EB66: php_plain_files_stream_opener (plain_wrapper.c:1077)
==19595==    by 0x1045374: _php_stream_open_wrapper_ex (streams.c:2036)
==19595==    by 0xBA4374: phar_flush (phar.c:3176)
==19595==    by 0xBBA7D3: zim_Phar_setStub (phar_object.c:2973)
==19595==    by 0x1378747: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==19595==    by 0x1378747: execute_ex (zend_vm_execute.h:59793)
==19595== 
==19595== Invalid read of size 1
==19595==    at 0x103E0C5: _php_stream_free (streams.c:389)
==19595==    by 0xB933F1: phar_destroy_phar_data (phar.c:254)
==19595==    by 0xB935A7: phar_archive_delref (phar.c:279)
==19595==    by 0xB940E1: phar_entry_delref (phar.c:453)
==19595==    by 0xB8172D: phar_stream_close (stream.c:354)
==19595==    by 0x103E458: _php_stream_free (streams.c:467)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==  Address 0x15b5f610 is 96 bytes inside a block of size 224 free'd
==19595==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19595==    by 0x10B3599: _efree (zend_alloc.c:2451)
==19595==    by 0x103E922: _php_stream_free (streams.c:517)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==    by 0x111E748: zend_deactivate (zend.c:1032)
==19595==    by 0x100DF2D: php_request_shutdown (main.c:1904)
==19595==    by 0x13A38FE: do_cli (php_cli.c:1178)
==19595==  Block was alloc'd at
==19595==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19595==    by 0x10B4AFF: __zend_malloc (zend_alloc.c:2835)
==19595==    by 0x10AF2C1: _emalloc_224 (zend_alloc.c:2359)
==19595==    by 0x103DCAA: _php_stream_alloc (streams.c:274)
==19595==    by 0x104C1DA: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19595==    by 0x104C518: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19595==    by 0x104E62B: _php_stream_fopen (plain_wrapper.c:1021)
==19595==    by 0x104EB66: php_plain_files_stream_opener (plain_wrapper.c:1077)
==19595==    by 0x1045374: _php_stream_open_wrapper_ex (streams.c:2036)
==19595==    by 0xBA4374: phar_flush (phar.c:3176)
==19595==    by 0xBBA7D3: zim_Phar_setStub (phar_object.c:2973)
==19595==    by 0x1378747: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==19595==    by 0x1378747: execute_ex (zend_vm_execute.h:59793)
==19595== 
==19595== Invalid read of size 1
==19595==    at 0x103E0D8: _php_stream_free (streams.c:391)
==19595==    by 0xB933F1: phar_destroy_phar_data (phar.c:254)
==19595==    by 0xB935A7: phar_archive_delref (phar.c:279)
==19595==    by 0xB940E1: phar_entry_delref (phar.c:453)
==19595==    by 0xB8172D: phar_stream_close (stream.c:354)
==19595==    by 0x103E458: _php_stream_free (streams.c:467)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==  Address 0x15b5f610 is 96 bytes inside a block of size 224 free'd
==19595==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==19595==    by 0x10B3599: _efree (zend_alloc.c:2451)
==19595==    by 0x103E922: _php_stream_free (streams.c:517)
==19595==    by 0x1043014: stream_resource_regular_dtor (streams.c:1598)
==19595==    by 0x1162675: zend_resource_dtor (zend_list.c:76)
==19595==    by 0x116309A: zend_close_rsrc (zend_list.c:230)
==19595==    by 0x11580E3: zend_hash_reverse_apply (zend_hash.c:1599)
==19595==    by 0x11630E6: zend_close_rsrc_list (zend_list.c:238)
==19595==    by 0x10EA9EC: shutdown_executor (zend_execute_API.c:263)
==19595==    by 0x111E748: zend_deactivate (zend.c:1032)
==19595==    by 0x100DF2D: php_request_shutdown (main.c:1904)
==19595==    by 0x13A38FE: do_cli (php_cli.c:1178)
==19595==  Block was alloc'd at
==19595==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==19595==    by 0x10B4AFF: __zend_malloc (zend_alloc.c:2835)
==19595==    by 0x10AF2C1: _emalloc_224 (zend_alloc.c:2359)
==19595==    by 0x103DCAA: _php_stream_alloc (streams.c:274)
==19595==    by 0x104C1DA: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==19595==    by 0x104C518: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==19595==    by 0x104E62B: _php_stream_fopen (plain_wrapper.c:1021)
==19595==    by 0x104EB66: php_plain_files_stream_opener (plain_wrapper.c:1077)
==19595==    by 0x1045374: _php_stream_open_wrapper_ex (streams.c:2036)
==19595==    by 0xBA4374: phar_flush (phar.c:3176)
==19595==    by 0xBBA7D3: zim_Phar_setStub (phar_object.c:2973)
==19595==    by 0x1378747: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==19595==    by 0x1378747: execute_ex (zend_vm_execute.h:59793)
==19595== 

 

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

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