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();҆m`ҷH    }GBMB

Report

==26633== Invalid read of size 8
==26633==    at 0x10100E8: _php_stream_free (streams.c:373)
==26633==    by 0xB654E9: phar_destroy_phar_data (phar.c:254)
==26633==    by 0xB6569F: phar_archive_delref (phar.c:279)
==26633==    by 0xB661D9: phar_entry_delref (phar.c:453)
==26633==    by 0xB53825: phar_stream_close (stream.c:354)
==26633==    by 0x10104F0: _php_stream_free (streams.c:467)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==  Address 0x14f514b0 is 144 bytes inside a block of size 224 free'd
==26633==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==26633==    by 0x1084A08: _efree (zend_alloc.c:2444)
==26633==    by 0x1010928: _php_stream_free (streams.c:511)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==    by 0x10EF5CB: zend_deactivate (zend.c:1036)
==26633==    by 0xFE0092: php_request_shutdown (main.c:1904)
==26633==    by 0x13738A3: do_cli (php_cli.c:1178)
==26633==  Block was alloc'd at
==26633==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==26633==    by 0x1085F6E: __zend_malloc (zend_alloc.c:2829)
==26633==    by 0x1080730: _emalloc_224 (zend_alloc.c:2352)
==26633==    by 0x100FD42: _php_stream_alloc (streams.c:274)
==26633==    by 0x101DEE8: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==26633==    by 0x101E226: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==26633==    by 0x10203AB: _php_stream_fopen (plain_wrapper.c:1024)
==26633==    by 0x10208E6: php_plain_files_stream_opener (plain_wrapper.c:1080)
==26633==    by 0x1017082: _php_stream_open_wrapper_ex (streams.c:2027)
==26633==    by 0xB75C31: phar_flush (phar.c:3163)
==26633==    by 0xB8C058: zim_Phar_setStub (phar_object.c:2960)
==26633==    by 0x13487C4: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==26633==    by 0x13487C4: execute_ex (zend_vm_execute.h:59749)
==26633== 
==26633== Invalid read of size 4
==26633==    at 0x1010136: _php_stream_free (streams.c:376)
==26633==    by 0xB654E9: phar_destroy_phar_data (phar.c:254)
==26633==    by 0xB6569F: phar_archive_delref (phar.c:279)
==26633==    by 0xB661D9: phar_entry_delref (phar.c:453)
==26633==    by 0xB53825: phar_stream_close (stream.c:354)
==26633==    by 0x10104F0: _php_stream_free (streams.c:467)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==  Address 0x14f51494 is 116 bytes inside a block of size 224 free'd
==26633==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==26633==    by 0x1084A08: _efree (zend_alloc.c:2444)
==26633==    by 0x1010928: _php_stream_free (streams.c:511)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==    by 0x10EF5CB: zend_deactivate (zend.c:1036)
==26633==    by 0xFE0092: php_request_shutdown (main.c:1904)
==26633==    by 0x13738A3: do_cli (php_cli.c:1178)
==26633==  Block was alloc'd at
==26633==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==26633==    by 0x1085F6E: __zend_malloc (zend_alloc.c:2829)
==26633==    by 0x1080730: _emalloc_224 (zend_alloc.c:2352)
==26633==    by 0x100FD42: _php_stream_alloc (streams.c:274)
==26633==    by 0x101DEE8: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==26633==    by 0x101E226: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==26633==    by 0x10203AB: _php_stream_fopen (plain_wrapper.c:1024)
==26633==    by 0x10208E6: php_plain_files_stream_opener (plain_wrapper.c:1080)
==26633==    by 0x1017082: _php_stream_open_wrapper_ex (streams.c:2027)
==26633==    by 0xB75C31: phar_flush (phar.c:3163)
==26633==    by 0xB8C058: zim_Phar_setStub (phar_object.c:2960)
==26633==    by 0x13487C4: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==26633==    by 0x13487C4: execute_ex (zend_vm_execute.h:59749)
==26633== 
==26633== Invalid read of size 1
==26633==    at 0x101015D: _php_stream_free (streams.c:389)
==26633==    by 0xB654E9: phar_destroy_phar_data (phar.c:254)
==26633==    by 0xB6569F: phar_archive_delref (phar.c:279)
==26633==    by 0xB661D9: phar_entry_delref (phar.c:453)
==26633==    by 0xB53825: phar_stream_close (stream.c:354)
==26633==    by 0x10104F0: _php_stream_free (streams.c:467)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==  Address 0x14f51480 is 96 bytes inside a block of size 224 free'd
==26633==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==26633==    by 0x1084A08: _efree (zend_alloc.c:2444)
==26633==    by 0x1010928: _php_stream_free (streams.c:511)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==    by 0x10EF5CB: zend_deactivate (zend.c:1036)
==26633==    by 0xFE0092: php_request_shutdown (main.c:1904)
==26633==    by 0x13738A3: do_cli (php_cli.c:1178)
==26633==  Block was alloc'd at
==26633==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==26633==    by 0x1085F6E: __zend_malloc (zend_alloc.c:2829)
==26633==    by 0x1080730: _emalloc_224 (zend_alloc.c:2352)
==26633==    by 0x100FD42: _php_stream_alloc (streams.c:274)
==26633==    by 0x101DEE8: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==26633==    by 0x101E226: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==26633==    by 0x10203AB: _php_stream_fopen (plain_wrapper.c:1024)
==26633==    by 0x10208E6: php_plain_files_stream_opener (plain_wrapper.c:1080)
==26633==    by 0x1017082: _php_stream_open_wrapper_ex (streams.c:2027)
==26633==    by 0xB75C31: phar_flush (phar.c:3163)
==26633==    by 0xB8C058: zim_Phar_setStub (phar_object.c:2960)
==26633==    by 0x13487C4: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==26633==    by 0x13487C4: execute_ex (zend_vm_execute.h:59749)
==26633== 
==26633== Invalid read of size 1
==26633==    at 0x1010170: _php_stream_free (streams.c:391)
==26633==    by 0xB654E9: phar_destroy_phar_data (phar.c:254)
==26633==    by 0xB6569F: phar_archive_delref (phar.c:279)
==26633==    by 0xB661D9: phar_entry_delref (phar.c:453)
==26633==    by 0xB53825: phar_stream_close (stream.c:354)
==26633==    by 0x10104F0: _php_stream_free (streams.c:467)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==  Address 0x14f51480 is 96 bytes inside a block of size 224 free'd
==26633==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==26633==    by 0x1084A08: _efree (zend_alloc.c:2444)
==26633==    by 0x1010928: _php_stream_free (streams.c:511)
==26633==    by 0x1014D38: stream_resource_regular_dtor (streams.c:1591)
==26633==    by 0x113354D: zend_resource_dtor (zend_list.c:76)
==26633==    by 0x1133F72: zend_close_rsrc (zend_list.c:230)
==26633==    by 0x1128FBA: zend_hash_reverse_apply (zend_hash.c:1597)
==26633==    by 0x1133FBE: zend_close_rsrc_list (zend_list.c:238)
==26633==    by 0x10BB87C: shutdown_executor (zend_execute_API.c:262)
==26633==    by 0x10EF5CB: zend_deactivate (zend.c:1036)
==26633==    by 0xFE0092: php_request_shutdown (main.c:1904)
==26633==    by 0x13738A3: do_cli (php_cli.c:1178)
==26633==  Block was alloc'd at
==26633==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==26633==    by 0x1085F6E: __zend_malloc (zend_alloc.c:2829)
==26633==    by 0x1080730: _emalloc_224 (zend_alloc.c:2352)
==26633==    by 0x100FD42: _php_stream_alloc (streams.c:274)
==26633==    by 0x101DEE8: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==26633==    by 0x101E226: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==26633==    by 0x10203AB: _php_stream_fopen (plain_wrapper.c:1024)
==26633==    by 0x10208E6: php_plain_files_stream_opener (plain_wrapper.c:1080)
==26633==    by 0x1017082: _php_stream_open_wrapper_ex (streams.c:2027)
==26633==    by 0xB75C31: phar_flush (phar.c:3163)
==26633==    by 0xB8C058: zim_Phar_setStub (phar_object.c:2960)
==26633==    by 0x13487C4: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==26633==    by 0x13487C4: execute_ex (zend_vm_execute.h:59749)
==26633== 

 

Generated at Thu, 21 Jun 2018 04:44:28 +0000 (2 days ago)

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