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]c[E<?php __HALT_COMPILER();(E䘚~埤J'+GBMB

Report

==18768== Invalid read of size 8
==18768==    at 0x10100E5: _php_stream_free (streams.c:373)
==18768==    by 0xB65650: phar_destroy_phar_data (phar.c:254)
==18768==    by 0xB65806: phar_archive_delref (phar.c:279)
==18768==    by 0xB66340: phar_entry_delref (phar.c:453)
==18768==    by 0xB5398C: phar_stream_close (stream.c:354)
==18768==    by 0x10104ED: _php_stream_free (streams.c:467)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==  Address 0x14f60310 is 144 bytes inside a block of size 224 free'd
==18768==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18768==    by 0x1084A05: _efree (zend_alloc.c:2444)
==18768==    by 0x1010925: _php_stream_free (streams.c:511)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==    by 0x10EF5D6: zend_deactivate (zend.c:1036)
==18768==    by 0xFE008F: php_request_shutdown (main.c:1904)
==18768==    by 0x1373D5C: do_cli (php_cli.c:1178)
==18768==  Block was alloc'd at
==18768==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18768==    by 0x1085F6B: __zend_malloc (zend_alloc.c:2829)
==18768==    by 0x108072D: _emalloc_224 (zend_alloc.c:2352)
==18768==    by 0x100FD3F: _php_stream_alloc (streams.c:274)
==18768==    by 0x101DEE5: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18768==    by 0x101E223: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18768==    by 0x10203A8: _php_stream_fopen (plain_wrapper.c:1024)
==18768==    by 0x10208E3: php_plain_files_stream_opener (plain_wrapper.c:1080)
==18768==    by 0x101707F: _php_stream_open_wrapper_ex (streams.c:2027)
==18768==    by 0xB75D98: phar_flush (phar.c:3163)
==18768==    by 0xB8C1BF: zim_Phar_setStub (phar_object.c:2960)
==18768==    by 0x1348C7D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==18768==    by 0x1348C7D: execute_ex (zend_vm_execute.h:59765)
==18768== 
==18768== Invalid read of size 4
==18768==    at 0x1010133: _php_stream_free (streams.c:376)
==18768==    by 0xB65650: phar_destroy_phar_data (phar.c:254)
==18768==    by 0xB65806: phar_archive_delref (phar.c:279)
==18768==    by 0xB66340: phar_entry_delref (phar.c:453)
==18768==    by 0xB5398C: phar_stream_close (stream.c:354)
==18768==    by 0x10104ED: _php_stream_free (streams.c:467)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==  Address 0x14f602f4 is 116 bytes inside a block of size 224 free'd
==18768==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18768==    by 0x1084A05: _efree (zend_alloc.c:2444)
==18768==    by 0x1010925: _php_stream_free (streams.c:511)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==    by 0x10EF5D6: zend_deactivate (zend.c:1036)
==18768==    by 0xFE008F: php_request_shutdown (main.c:1904)
==18768==    by 0x1373D5C: do_cli (php_cli.c:1178)
==18768==  Block was alloc'd at
==18768==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18768==    by 0x1085F6B: __zend_malloc (zend_alloc.c:2829)
==18768==    by 0x108072D: _emalloc_224 (zend_alloc.c:2352)
==18768==    by 0x100FD3F: _php_stream_alloc (streams.c:274)
==18768==    by 0x101DEE5: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18768==    by 0x101E223: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18768==    by 0x10203A8: _php_stream_fopen (plain_wrapper.c:1024)
==18768==    by 0x10208E3: php_plain_files_stream_opener (plain_wrapper.c:1080)
==18768==    by 0x101707F: _php_stream_open_wrapper_ex (streams.c:2027)
==18768==    by 0xB75D98: phar_flush (phar.c:3163)
==18768==    by 0xB8C1BF: zim_Phar_setStub (phar_object.c:2960)
==18768==    by 0x1348C7D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==18768==    by 0x1348C7D: execute_ex (zend_vm_execute.h:59765)
==18768== 
==18768== Invalid read of size 1
==18768==    at 0x101015A: _php_stream_free (streams.c:389)
==18768==    by 0xB65650: phar_destroy_phar_data (phar.c:254)
==18768==    by 0xB65806: phar_archive_delref (phar.c:279)
==18768==    by 0xB66340: phar_entry_delref (phar.c:453)
==18768==    by 0xB5398C: phar_stream_close (stream.c:354)
==18768==    by 0x10104ED: _php_stream_free (streams.c:467)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==  Address 0x14f602e0 is 96 bytes inside a block of size 224 free'd
==18768==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18768==    by 0x1084A05: _efree (zend_alloc.c:2444)
==18768==    by 0x1010925: _php_stream_free (streams.c:511)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==    by 0x10EF5D6: zend_deactivate (zend.c:1036)
==18768==    by 0xFE008F: php_request_shutdown (main.c:1904)
==18768==    by 0x1373D5C: do_cli (php_cli.c:1178)
==18768==  Block was alloc'd at
==18768==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18768==    by 0x1085F6B: __zend_malloc (zend_alloc.c:2829)
==18768==    by 0x108072D: _emalloc_224 (zend_alloc.c:2352)
==18768==    by 0x100FD3F: _php_stream_alloc (streams.c:274)
==18768==    by 0x101DEE5: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18768==    by 0x101E223: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18768==    by 0x10203A8: _php_stream_fopen (plain_wrapper.c:1024)
==18768==    by 0x10208E3: php_plain_files_stream_opener (plain_wrapper.c:1080)
==18768==    by 0x101707F: _php_stream_open_wrapper_ex (streams.c:2027)
==18768==    by 0xB75D98: phar_flush (phar.c:3163)
==18768==    by 0xB8C1BF: zim_Phar_setStub (phar_object.c:2960)
==18768==    by 0x1348C7D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==18768==    by 0x1348C7D: execute_ex (zend_vm_execute.h:59765)
==18768== 
==18768== Invalid read of size 1
==18768==    at 0x101016D: _php_stream_free (streams.c:391)
==18768==    by 0xB65650: phar_destroy_phar_data (phar.c:254)
==18768==    by 0xB65806: phar_archive_delref (phar.c:279)
==18768==    by 0xB66340: phar_entry_delref (phar.c:453)
==18768==    by 0xB5398C: phar_stream_close (stream.c:354)
==18768==    by 0x10104ED: _php_stream_free (streams.c:467)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==  Address 0x14f602e0 is 96 bytes inside a block of size 224 free'd
==18768==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18768==    by 0x1084A05: _efree (zend_alloc.c:2444)
==18768==    by 0x1010925: _php_stream_free (streams.c:511)
==18768==    by 0x1014D35: stream_resource_regular_dtor (streams.c:1591)
==18768==    by 0x1133558: zend_resource_dtor (zend_list.c:76)
==18768==    by 0x1133F7D: zend_close_rsrc (zend_list.c:230)
==18768==    by 0x1128FC5: zend_hash_reverse_apply (zend_hash.c:1597)
==18768==    by 0x1133FC9: zend_close_rsrc_list (zend_list.c:238)
==18768==    by 0x10BB887: shutdown_executor (zend_execute_API.c:263)
==18768==    by 0x10EF5D6: zend_deactivate (zend.c:1036)
==18768==    by 0xFE008F: php_request_shutdown (main.c:1904)
==18768==    by 0x1373D5C: do_cli (php_cli.c:1178)
==18768==  Block was alloc'd at
==18768==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18768==    by 0x1085F6B: __zend_malloc (zend_alloc.c:2829)
==18768==    by 0x108072D: _emalloc_224 (zend_alloc.c:2352)
==18768==    by 0x100FD3F: _php_stream_alloc (streams.c:274)
==18768==    by 0x101DEE5: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18768==    by 0x101E223: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18768==    by 0x10203A8: _php_stream_fopen (plain_wrapper.c:1024)
==18768==    by 0x10208E3: php_plain_files_stream_opener (plain_wrapper.c:1080)
==18768==    by 0x101707F: _php_stream_open_wrapper_ex (streams.c:2027)
==18768==    by 0xB75D98: phar_flush (phar.c:3163)
==18768==    by 0xB8C1BF: zim_Phar_setStub (phar_object.c:2960)
==18768==    by 0x1348C7D: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==18768==    by 0x1348C7D: execute_ex (zend_vm_execute.h:59765)
==18768== 

 

Generated at Fri, 03 Aug 2018 22:39:28 +0000 (15 days ago)

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