PHP  
 PHP_HEAD
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`ZE<?php __HALT_COMPILER();))4@M^(i%GBMB

Report

==4692== Invalid read of size 8
==4692==    at 0x1057C12: _php_stream_free (streams.c:368)
==4692==    by 0xBB78E7: phar_destroy_phar_data (phar.c:254)
==4692==    by 0xBB7A9D: phar_archive_delref (phar.c:279)
==4692==    by 0xBB85F7: phar_entry_delref (phar.c:453)
==4692==    by 0xBA5587: phar_stream_close (stream.c:356)
==4692==    by 0x105801A: _php_stream_free (streams.c:462)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==  Address 0x14edbff0 is 144 bytes inside a block of size 224 free'd
==4692==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4692==    by 0x10C8A2E: _efree (zend_alloc.c:2494)
==4692==    by 0x1058452: _php_stream_free (streams.c:506)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==    by 0x1137FC8: zend_deactivate (zend.c:1106)
==4692==    by 0x10266CA: php_request_shutdown (main.c:1765)
==4692==    by 0x1388C1B: do_cli (php_cli.c:1178)
==4692==  Block was alloc'd at
==4692==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4692==    by 0x10CC64D: __zend_malloc (zend_alloc.c:2886)
==4692==    by 0x10C4756: _emalloc_224 (zend_alloc.c:2407)
==4692==    by 0x10578D9: _php_stream_alloc (streams.c:274)
==4692==    by 0x1065F66: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4692==    by 0x10662A4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4692==    by 0x1068457: _php_stream_fopen (plain_wrapper.c:1025)
==4692==    by 0x10689EC: php_plain_files_stream_opener (plain_wrapper.c:1081)
==4692==    by 0x105ECE5: _php_stream_open_wrapper_ex (streams.c:2024)
==4692==    by 0xBC8BD3: phar_flush (phar.c:3178)
==4692==    by 0xBDF672: zim_Phar_setStub (phar_object.c:2962)
==4692==    by 0x135CBA0: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:978)
==4692==    by 0x135CBA0: execute_ex (zend_vm_execute.h:54823)
==4692== 
==4692== Invalid read of size 4
==4692==    at 0x1057C60: _php_stream_free (streams.c:371)
==4692==    by 0xBB78E7: phar_destroy_phar_data (phar.c:254)
==4692==    by 0xBB7A9D: phar_archive_delref (phar.c:279)
==4692==    by 0xBB85F7: phar_entry_delref (phar.c:453)
==4692==    by 0xBA5587: phar_stream_close (stream.c:356)
==4692==    by 0x105801A: _php_stream_free (streams.c:462)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==  Address 0x14edbfd4 is 116 bytes inside a block of size 224 free'd
==4692==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4692==    by 0x10C8A2E: _efree (zend_alloc.c:2494)
==4692==    by 0x1058452: _php_stream_free (streams.c:506)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==    by 0x1137FC8: zend_deactivate (zend.c:1106)
==4692==    by 0x10266CA: php_request_shutdown (main.c:1765)
==4692==    by 0x1388C1B: do_cli (php_cli.c:1178)
==4692==  Block was alloc'd at
==4692==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4692==    by 0x10CC64D: __zend_malloc (zend_alloc.c:2886)
==4692==    by 0x10C4756: _emalloc_224 (zend_alloc.c:2407)
==4692==    by 0x10578D9: _php_stream_alloc (streams.c:274)
==4692==    by 0x1065F66: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4692==    by 0x10662A4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4692==    by 0x1068457: _php_stream_fopen (plain_wrapper.c:1025)
==4692==    by 0x10689EC: php_plain_files_stream_opener (plain_wrapper.c:1081)
==4692==    by 0x105ECE5: _php_stream_open_wrapper_ex (streams.c:2024)
==4692==    by 0xBC8BD3: phar_flush (phar.c:3178)
==4692==    by 0xBDF672: zim_Phar_setStub (phar_object.c:2962)
==4692==    by 0x135CBA0: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:978)
==4692==    by 0x135CBA0: execute_ex (zend_vm_execute.h:54823)
==4692== 
==4692== Invalid read of size 1
==4692==    at 0x1057C87: _php_stream_free (streams.c:384)
==4692==    by 0xBB78E7: phar_destroy_phar_data (phar.c:254)
==4692==    by 0xBB7A9D: phar_archive_delref (phar.c:279)
==4692==    by 0xBB85F7: phar_entry_delref (phar.c:453)
==4692==    by 0xBA5587: phar_stream_close (stream.c:356)
==4692==    by 0x105801A: _php_stream_free (streams.c:462)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==  Address 0x14edbfc0 is 96 bytes inside a block of size 224 free'd
==4692==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4692==    by 0x10C8A2E: _efree (zend_alloc.c:2494)
==4692==    by 0x1058452: _php_stream_free (streams.c:506)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==    by 0x1137FC8: zend_deactivate (zend.c:1106)
==4692==    by 0x10266CA: php_request_shutdown (main.c:1765)
==4692==    by 0x1388C1B: do_cli (php_cli.c:1178)
==4692==  Block was alloc'd at
==4692==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4692==    by 0x10CC64D: __zend_malloc (zend_alloc.c:2886)
==4692==    by 0x10C4756: _emalloc_224 (zend_alloc.c:2407)
==4692==    by 0x10578D9: _php_stream_alloc (streams.c:274)
==4692==    by 0x1065F66: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4692==    by 0x10662A4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4692==    by 0x1068457: _php_stream_fopen (plain_wrapper.c:1025)
==4692==    by 0x10689EC: php_plain_files_stream_opener (plain_wrapper.c:1081)
==4692==    by 0x105ECE5: _php_stream_open_wrapper_ex (streams.c:2024)
==4692==    by 0xBC8BD3: phar_flush (phar.c:3178)
==4692==    by 0xBDF672: zim_Phar_setStub (phar_object.c:2962)
==4692==    by 0x135CBA0: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:978)
==4692==    by 0x135CBA0: execute_ex (zend_vm_execute.h:54823)
==4692== 
==4692== Invalid read of size 1
==4692==    at 0x1057C9A: _php_stream_free (streams.c:386)
==4692==    by 0xBB78E7: phar_destroy_phar_data (phar.c:254)
==4692==    by 0xBB7A9D: phar_archive_delref (phar.c:279)
==4692==    by 0xBB85F7: phar_entry_delref (phar.c:453)
==4692==    by 0xBA5587: phar_stream_close (stream.c:356)
==4692==    by 0x105801A: _php_stream_free (streams.c:462)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==  Address 0x14edbfc0 is 96 bytes inside a block of size 224 free'd
==4692==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4692==    by 0x10C8A2E: _efree (zend_alloc.c:2494)
==4692==    by 0x1058452: _php_stream_free (streams.c:506)
==4692==    by 0x105C9E3: stream_resource_regular_dtor (streams.c:1586)
==4692==    by 0x1179F36: zend_resource_dtor (zend_list.c:76)
==4692==    by 0x117A95D: zend_close_rsrc (zend_list.c:230)
==4692==    by 0x116F80F: zend_hash_reverse_apply (zend_hash.c:1700)
==4692==    by 0x117A9A9: zend_close_rsrc_list (zend_list.c:238)
==4692==    by 0x110215A: shutdown_executor (zend_execute_API.c:262)
==4692==    by 0x1137FC8: zend_deactivate (zend.c:1106)
==4692==    by 0x10266CA: php_request_shutdown (main.c:1765)
==4692==    by 0x1388C1B: do_cli (php_cli.c:1178)
==4692==  Block was alloc'd at
==4692==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4692==    by 0x10CC64D: __zend_malloc (zend_alloc.c:2886)
==4692==    by 0x10C4756: _emalloc_224 (zend_alloc.c:2407)
==4692==    by 0x10578D9: _php_stream_alloc (streams.c:274)
==4692==    by 0x1065F66: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4692==    by 0x10662A4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4692==    by 0x1068457: _php_stream_fopen (plain_wrapper.c:1025)
==4692==    by 0x10689EC: php_plain_files_stream_opener (plain_wrapper.c:1081)
==4692==    by 0x105ECE5: _php_stream_open_wrapper_ex (streams.c:2024)
==4692==    by 0xBC8BD3: phar_flush (phar.c:3178)
==4692==    by 0xBDF672: zim_Phar_setStub (phar_object.c:2962)
==4692==    by 0x135CBA0: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:978)
==4692==    by 0x135CBA0: execute_ex (zend_vm_execute.h:54823)
==4692== 

 

Generated at Thu, 19 Apr 2018 02:25:01 +0000 (5 days ago)

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