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]p]E<?php __HALT_COMPILER();-Haf]`slNGBMB

Report

==13144== Invalid read of size 8
==13144==    at 0x103EEE7: _php_stream_free (streams.c:373)
==13144==    by 0xB947A1: phar_destroy_phar_data (phar.c:254)
==13144==    by 0xB94957: phar_archive_delref (phar.c:279)
==13144==    by 0xB95491: phar_entry_delref (phar.c:453)
==13144==    by 0xB82ADD: phar_stream_close (stream.c:354)
==13144==    by 0x103F2EF: _php_stream_free (streams.c:467)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==  Address 0x15b585f0 is 144 bytes inside a block of size 224 free'd
==13144==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==13144==    by 0x10B439E: _efree (zend_alloc.c:2451)
==13144==    by 0x103F727: _php_stream_free (streams.c:511)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==    by 0x111F54D: zend_deactivate (zend.c:1032)
==13144==    by 0x100EDF0: php_request_shutdown (main.c:1904)
==13144==    by 0x13A4575: do_cli (php_cli.c:1178)
==13144==  Block was alloc'd at
==13144==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==13144==    by 0x10B5904: __zend_malloc (zend_alloc.c:2835)
==13144==    by 0x10B00C6: _emalloc_224 (zend_alloc.c:2359)
==13144==    by 0x103EB41: _php_stream_alloc (streams.c:274)
==13144==    by 0x104CFDF: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==13144==    by 0x104D31D: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==13144==    by 0x104F430: _php_stream_fopen (plain_wrapper.c:1021)
==13144==    by 0x104F96B: php_plain_files_stream_opener (plain_wrapper.c:1077)
==13144==    by 0x1046179: _php_stream_open_wrapper_ex (streams.c:2030)
==13144==    by 0xBA5724: phar_flush (phar.c:3176)
==13144==    by 0xBBBABF: zim_Phar_setStub (phar_object.c:2962)
==13144==    by 0x13793BE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==13144==    by 0x13793BE: execute_ex (zend_vm_execute.h:59781)
==13144== 
==13144== Invalid read of size 4
==13144==    at 0x103EF35: _php_stream_free (streams.c:376)
==13144==    by 0xB947A1: phar_destroy_phar_data (phar.c:254)
==13144==    by 0xB94957: phar_archive_delref (phar.c:279)
==13144==    by 0xB95491: phar_entry_delref (phar.c:453)
==13144==    by 0xB82ADD: phar_stream_close (stream.c:354)
==13144==    by 0x103F2EF: _php_stream_free (streams.c:467)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==  Address 0x15b585d4 is 116 bytes inside a block of size 224 free'd
==13144==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==13144==    by 0x10B439E: _efree (zend_alloc.c:2451)
==13144==    by 0x103F727: _php_stream_free (streams.c:511)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==    by 0x111F54D: zend_deactivate (zend.c:1032)
==13144==    by 0x100EDF0: php_request_shutdown (main.c:1904)
==13144==    by 0x13A4575: do_cli (php_cli.c:1178)
==13144==  Block was alloc'd at
==13144==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==13144==    by 0x10B5904: __zend_malloc (zend_alloc.c:2835)
==13144==    by 0x10B00C6: _emalloc_224 (zend_alloc.c:2359)
==13144==    by 0x103EB41: _php_stream_alloc (streams.c:274)
==13144==    by 0x104CFDF: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==13144==    by 0x104D31D: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==13144==    by 0x104F430: _php_stream_fopen (plain_wrapper.c:1021)
==13144==    by 0x104F96B: php_plain_files_stream_opener (plain_wrapper.c:1077)
==13144==    by 0x1046179: _php_stream_open_wrapper_ex (streams.c:2030)
==13144==    by 0xBA5724: phar_flush (phar.c:3176)
==13144==    by 0xBBBABF: zim_Phar_setStub (phar_object.c:2962)
==13144==    by 0x13793BE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==13144==    by 0x13793BE: execute_ex (zend_vm_execute.h:59781)
==13144== 
==13144== Invalid read of size 1
==13144==    at 0x103EF5C: _php_stream_free (streams.c:389)
==13144==    by 0xB947A1: phar_destroy_phar_data (phar.c:254)
==13144==    by 0xB94957: phar_archive_delref (phar.c:279)
==13144==    by 0xB95491: phar_entry_delref (phar.c:453)
==13144==    by 0xB82ADD: phar_stream_close (stream.c:354)
==13144==    by 0x103F2EF: _php_stream_free (streams.c:467)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==  Address 0x15b585c0 is 96 bytes inside a block of size 224 free'd
==13144==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==13144==    by 0x10B439E: _efree (zend_alloc.c:2451)
==13144==    by 0x103F727: _php_stream_free (streams.c:511)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==    by 0x111F54D: zend_deactivate (zend.c:1032)
==13144==    by 0x100EDF0: php_request_shutdown (main.c:1904)
==13144==    by 0x13A4575: do_cli (php_cli.c:1178)
==13144==  Block was alloc'd at
==13144==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==13144==    by 0x10B5904: __zend_malloc (zend_alloc.c:2835)
==13144==    by 0x10B00C6: _emalloc_224 (zend_alloc.c:2359)
==13144==    by 0x103EB41: _php_stream_alloc (streams.c:274)
==13144==    by 0x104CFDF: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==13144==    by 0x104D31D: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==13144==    by 0x104F430: _php_stream_fopen (plain_wrapper.c:1021)
==13144==    by 0x104F96B: php_plain_files_stream_opener (plain_wrapper.c:1077)
==13144==    by 0x1046179: _php_stream_open_wrapper_ex (streams.c:2030)
==13144==    by 0xBA5724: phar_flush (phar.c:3176)
==13144==    by 0xBBBABF: zim_Phar_setStub (phar_object.c:2962)
==13144==    by 0x13793BE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==13144==    by 0x13793BE: execute_ex (zend_vm_execute.h:59781)
==13144== 
==13144== Invalid read of size 1
==13144==    at 0x103EF6F: _php_stream_free (streams.c:391)
==13144==    by 0xB947A1: phar_destroy_phar_data (phar.c:254)
==13144==    by 0xB94957: phar_archive_delref (phar.c:279)
==13144==    by 0xB95491: phar_entry_delref (phar.c:453)
==13144==    by 0xB82ADD: phar_stream_close (stream.c:354)
==13144==    by 0x103F2EF: _php_stream_free (streams.c:467)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==  Address 0x15b585c0 is 96 bytes inside a block of size 224 free'd
==13144==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==13144==    by 0x10B439E: _efree (zend_alloc.c:2451)
==13144==    by 0x103F727: _php_stream_free (streams.c:511)
==13144==    by 0x1043E19: stream_resource_regular_dtor (streams.c:1592)
==13144==    by 0x116347A: zend_resource_dtor (zend_list.c:76)
==13144==    by 0x1163E9F: zend_close_rsrc (zend_list.c:230)
==13144==    by 0x1158EE8: zend_hash_reverse_apply (zend_hash.c:1599)
==13144==    by 0x1163EEB: zend_close_rsrc_list (zend_list.c:238)
==13144==    by 0x10EB7F1: shutdown_executor (zend_execute_API.c:263)
==13144==    by 0x111F54D: zend_deactivate (zend.c:1032)
==13144==    by 0x100EDF0: php_request_shutdown (main.c:1904)
==13144==    by 0x13A4575: do_cli (php_cli.c:1178)
==13144==  Block was alloc'd at
==13144==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==13144==    by 0x10B5904: __zend_malloc (zend_alloc.c:2835)
==13144==    by 0x10B00C6: _emalloc_224 (zend_alloc.c:2359)
==13144==    by 0x103EB41: _php_stream_alloc (streams.c:274)
==13144==    by 0x104CFDF: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==13144==    by 0x104D31D: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==13144==    by 0x104F430: _php_stream_fopen (plain_wrapper.c:1021)
==13144==    by 0x104F96B: php_plain_files_stream_opener (plain_wrapper.c:1077)
==13144==    by 0x1046179: _php_stream_open_wrapper_ex (streams.c:2030)
==13144==    by 0xBA5724: phar_flush (phar.c:3176)
==13144==    by 0xBBBABF: zim_Phar_setStub (phar_object.c:2962)
==13144==    by 0x13793BE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==13144==    by 0x13793BE: execute_ex (zend_vm_execute.h:59781)
==13144== 

 

Generated at Thu, 17 Oct 2019 23:21:35 +0000 (2 days ago)

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