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.txt2ZE<?php __HALT_COMPILER();{2['iD&VGBMB

Report

==8431== Invalid read of size 8
==8431==    at 0x100143D: _php_stream_free (streams.c:373)
==8431==    by 0xB65CD2: phar_destroy_phar_data (phar.c:254)
==8431==    by 0xB65E85: phar_archive_delref (phar.c:279)
==8431==    by 0xB669B7: phar_entry_delref (phar.c:453)
==8431==    by 0xB54359: phar_stream_close (stream.c:354)
==8431==    by 0x1001845: _php_stream_free (streams.c:467)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==  Address 0x14f32190 is 144 bytes inside a block of size 224 free'd
==8431==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8431==    by 0x1078165: _efree (zend_alloc.c:2444)
==8431==    by 0x1001C7D: _php_stream_free (streams.c:511)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==    by 0x10DF72F: zend_deactivate (zend.c:1036)
==8431==    by 0xFD0E5E: php_request_shutdown (main.c:1904)
==8431==    by 0x1343A16: do_cli (php_cli.c:1178)
==8431==  Block was alloc'd at
==8431==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8431==    by 0x1079747: __zend_malloc (zend_alloc.c:2829)
==8431==    by 0x1073EBE: _emalloc_224 (zend_alloc.c:2352)
==8431==    by 0x100109E: _php_stream_alloc (streams.c:274)
==8431==    by 0x100F384: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==8431==    by 0x100F6B2: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==8431==    by 0x10118DE: _php_stream_fopen (plain_wrapper.c:1024)
==8431==    by 0x1011DCD: php_plain_files_stream_opener (plain_wrapper.c:1080)
==8431==    by 0x100855D: _php_stream_open_wrapper_ex (streams.c:2027)
==8431==    by 0xB76877: phar_flush (phar.c:3163)
==8431==    by 0xB8CB09: zim_Phar_setStub (phar_object.c:2962)
==8431==    by 0x11C353D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==8431== 
==8431== Invalid read of size 4
==8431==    at 0x100148B: _php_stream_free (streams.c:376)
==8431==    by 0xB65CD2: phar_destroy_phar_data (phar.c:254)
==8431==    by 0xB65E85: phar_archive_delref (phar.c:279)
==8431==    by 0xB669B7: phar_entry_delref (phar.c:453)
==8431==    by 0xB54359: phar_stream_close (stream.c:354)
==8431==    by 0x1001845: _php_stream_free (streams.c:467)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==  Address 0x14f32174 is 116 bytes inside a block of size 224 free'd
==8431==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8431==    by 0x1078165: _efree (zend_alloc.c:2444)
==8431==    by 0x1001C7D: _php_stream_free (streams.c:511)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==    by 0x10DF72F: zend_deactivate (zend.c:1036)
==8431==    by 0xFD0E5E: php_request_shutdown (main.c:1904)
==8431==    by 0x1343A16: do_cli (php_cli.c:1178)
==8431==  Block was alloc'd at
==8431==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8431==    by 0x1079747: __zend_malloc (zend_alloc.c:2829)
==8431==    by 0x1073EBE: _emalloc_224 (zend_alloc.c:2352)
==8431==    by 0x100109E: _php_stream_alloc (streams.c:274)
==8431==    by 0x100F384: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==8431==    by 0x100F6B2: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==8431==    by 0x10118DE: _php_stream_fopen (plain_wrapper.c:1024)
==8431==    by 0x1011DCD: php_plain_files_stream_opener (plain_wrapper.c:1080)
==8431==    by 0x100855D: _php_stream_open_wrapper_ex (streams.c:2027)
==8431==    by 0xB76877: phar_flush (phar.c:3163)
==8431==    by 0xB8CB09: zim_Phar_setStub (phar_object.c:2962)
==8431==    by 0x11C353D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==8431== 
==8431== Invalid read of size 1
==8431==    at 0x10014B2: _php_stream_free (streams.c:389)
==8431==    by 0xB65CD2: phar_destroy_phar_data (phar.c:254)
==8431==    by 0xB65E85: phar_archive_delref (phar.c:279)
==8431==    by 0xB669B7: phar_entry_delref (phar.c:453)
==8431==    by 0xB54359: phar_stream_close (stream.c:354)
==8431==    by 0x1001845: _php_stream_free (streams.c:467)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==  Address 0x14f32160 is 96 bytes inside a block of size 224 free'd
==8431==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8431==    by 0x1078165: _efree (zend_alloc.c:2444)
==8431==    by 0x1001C7D: _php_stream_free (streams.c:511)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==    by 0x10DF72F: zend_deactivate (zend.c:1036)
==8431==    by 0xFD0E5E: php_request_shutdown (main.c:1904)
==8431==    by 0x1343A16: do_cli (php_cli.c:1178)
==8431==  Block was alloc'd at
==8431==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8431==    by 0x1079747: __zend_malloc (zend_alloc.c:2829)
==8431==    by 0x1073EBE: _emalloc_224 (zend_alloc.c:2352)
==8431==    by 0x100109E: _php_stream_alloc (streams.c:274)
==8431==    by 0x100F384: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==8431==    by 0x100F6B2: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==8431==    by 0x10118DE: _php_stream_fopen (plain_wrapper.c:1024)
==8431==    by 0x1011DCD: php_plain_files_stream_opener (plain_wrapper.c:1080)
==8431==    by 0x100855D: _php_stream_open_wrapper_ex (streams.c:2027)
==8431==    by 0xB76877: phar_flush (phar.c:3163)
==8431==    by 0xB8CB09: zim_Phar_setStub (phar_object.c:2962)
==8431==    by 0x11C353D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==8431== 
==8431== Invalid read of size 1
==8431==    at 0x10014C5: _php_stream_free (streams.c:391)
==8431==    by 0xB65CD2: phar_destroy_phar_data (phar.c:254)
==8431==    by 0xB65E85: phar_archive_delref (phar.c:279)
==8431==    by 0xB669B7: phar_entry_delref (phar.c:453)
==8431==    by 0xB54359: phar_stream_close (stream.c:354)
==8431==    by 0x1001845: _php_stream_free (streams.c:467)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==  Address 0x14f32160 is 96 bytes inside a block of size 224 free'd
==8431==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8431==    by 0x1078165: _efree (zend_alloc.c:2444)
==8431==    by 0x1001C7D: _php_stream_free (streams.c:511)
==8431==    by 0x100621C: stream_resource_regular_dtor (streams.c:1591)
==8431==    by 0x112330D: zend_resource_dtor (zend_list.c:76)
==8431==    by 0x1123D13: zend_close_rsrc (zend_list.c:230)
==8431==    by 0x11194D0: zend_hash_reverse_apply (zend_hash.c:1597)
==8431==    by 0x1123D5D: zend_close_rsrc_list (zend_list.c:238)
==8431==    by 0x10AC82C: shutdown_executor (zend_execute_API.c:262)
==8431==    by 0x10DF72F: zend_deactivate (zend.c:1036)
==8431==    by 0xFD0E5E: php_request_shutdown (main.c:1904)
==8431==    by 0x1343A16: do_cli (php_cli.c:1178)
==8431==  Block was alloc'd at
==8431==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8431==    by 0x1079747: __zend_malloc (zend_alloc.c:2829)
==8431==    by 0x1073EBE: _emalloc_224 (zend_alloc.c:2352)
==8431==    by 0x100109E: _php_stream_alloc (streams.c:274)
==8431==    by 0x100F384: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==8431==    by 0x100F6B2: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==8431==    by 0x10118DE: _php_stream_fopen (plain_wrapper.c:1024)
==8431==    by 0x1011DCD: php_plain_files_stream_opener (plain_wrapper.c:1080)
==8431==    by 0x100855D: _php_stream_open_wrapper_ex (streams.c:2027)
==8431==    by 0xB76877: phar_flush (phar.c:3163)
==8431==    by 0xB8CB09: zim_Phar_setStub (phar_object.c:2962)
==8431==    by 0x11C353D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==8431== 

 

Generated at Fri, 15 Dec 2017 07:20:55 +0000 (20 hours ago)

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