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.txtAaZE<?php __HALT_COMPILER();ݠ"TPM+ p!GBMB

Report

==17198== Invalid read of size 8
==17198==    at 0xFE6B4E: _php_stream_free (streams.c:367)
==17198==    by 0xB6E9E6: phar_destroy_phar_data (phar.c:254)
==17198==    by 0xB6EB99: phar_archive_delref (phar.c:279)
==17198==    by 0xB6F6D7: phar_entry_delref (phar.c:453)
==17198==    by 0xB5CBC6: phar_stream_close (stream.c:356)
==17198==    by 0xFE6F56: _php_stream_free (streams.c:461)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==  Address 0x14f2f770 is 144 bytes inside a block of size 224 free'd
==17198==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==17198==    by 0x10603FD: _efree (zend_alloc.c:2499)
==17198==    by 0xFE738E: _php_stream_free (streams.c:505)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==    by 0x10CB834: zend_deactivate (zend.c:1050)
==17198==    by 0xFB5A7C: php_request_shutdown (main.c:1767)
==17198==    by 0x133E61E: do_cli (php_cli.c:1178)
==17198==  Block was alloc'd at
==17198==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==17198==    by 0x1064168: __zend_malloc (zend_alloc.c:2884)
==17198==    by 0x105C156: _emalloc_224 (zend_alloc.c:2407)
==17198==    by 0xFE6812: _php_stream_alloc (streams.c:273)
==17198==    by 0xFF4F44: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==17198==    by 0xFF5272: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==17198==    by 0xFF74E8: _php_stream_fopen (plain_wrapper.c:1024)
==17198==    by 0xFF79F1: php_plain_files_stream_opener (plain_wrapper.c:1080)
==17198==    by 0xFEDD05: _php_stream_open_wrapper_ex (streams.c:2022)
==17198==    by 0xB7FEE4: phar_flush (phar.c:3182)
==17198==    by 0xB965F5: zim_Phar_setStub (phar_object.c:2962)
==17198==    by 0x11B28C6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:909)
==17198== 
==17198== Invalid read of size 4
==17198==    at 0xFE6B9C: _php_stream_free (streams.c:370)
==17198==    by 0xB6E9E6: phar_destroy_phar_data (phar.c:254)
==17198==    by 0xB6EB99: phar_archive_delref (phar.c:279)
==17198==    by 0xB6F6D7: phar_entry_delref (phar.c:453)
==17198==    by 0xB5CBC6: phar_stream_close (stream.c:356)
==17198==    by 0xFE6F56: _php_stream_free (streams.c:461)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==  Address 0x14f2f754 is 116 bytes inside a block of size 224 free'd
==17198==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==17198==    by 0x10603FD: _efree (zend_alloc.c:2499)
==17198==    by 0xFE738E: _php_stream_free (streams.c:505)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==    by 0x10CB834: zend_deactivate (zend.c:1050)
==17198==    by 0xFB5A7C: php_request_shutdown (main.c:1767)
==17198==    by 0x133E61E: do_cli (php_cli.c:1178)
==17198==  Block was alloc'd at
==17198==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==17198==    by 0x1064168: __zend_malloc (zend_alloc.c:2884)
==17198==    by 0x105C156: _emalloc_224 (zend_alloc.c:2407)
==17198==    by 0xFE6812: _php_stream_alloc (streams.c:273)
==17198==    by 0xFF4F44: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==17198==    by 0xFF5272: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==17198==    by 0xFF74E8: _php_stream_fopen (plain_wrapper.c:1024)
==17198==    by 0xFF79F1: php_plain_files_stream_opener (plain_wrapper.c:1080)
==17198==    by 0xFEDD05: _php_stream_open_wrapper_ex (streams.c:2022)
==17198==    by 0xB7FEE4: phar_flush (phar.c:3182)
==17198==    by 0xB965F5: zim_Phar_setStub (phar_object.c:2962)
==17198==    by 0x11B28C6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:909)
==17198== 
==17198== Invalid read of size 1
==17198==    at 0xFE6BC3: _php_stream_free (streams.c:383)
==17198==    by 0xB6E9E6: phar_destroy_phar_data (phar.c:254)
==17198==    by 0xB6EB99: phar_archive_delref (phar.c:279)
==17198==    by 0xB6F6D7: phar_entry_delref (phar.c:453)
==17198==    by 0xB5CBC6: phar_stream_close (stream.c:356)
==17198==    by 0xFE6F56: _php_stream_free (streams.c:461)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==  Address 0x14f2f740 is 96 bytes inside a block of size 224 free'd
==17198==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==17198==    by 0x10603FD: _efree (zend_alloc.c:2499)
==17198==    by 0xFE738E: _php_stream_free (streams.c:505)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==    by 0x10CB834: zend_deactivate (zend.c:1050)
==17198==    by 0xFB5A7C: php_request_shutdown (main.c:1767)
==17198==    by 0x133E61E: do_cli (php_cli.c:1178)
==17198==  Block was alloc'd at
==17198==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==17198==    by 0x1064168: __zend_malloc (zend_alloc.c:2884)
==17198==    by 0x105C156: _emalloc_224 (zend_alloc.c:2407)
==17198==    by 0xFE6812: _php_stream_alloc (streams.c:273)
==17198==    by 0xFF4F44: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==17198==    by 0xFF5272: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==17198==    by 0xFF74E8: _php_stream_fopen (plain_wrapper.c:1024)
==17198==    by 0xFF79F1: php_plain_files_stream_opener (plain_wrapper.c:1080)
==17198==    by 0xFEDD05: _php_stream_open_wrapper_ex (streams.c:2022)
==17198==    by 0xB7FEE4: phar_flush (phar.c:3182)
==17198==    by 0xB965F5: zim_Phar_setStub (phar_object.c:2962)
==17198==    by 0x11B28C6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:909)
==17198== 
==17198== Invalid read of size 1
==17198==    at 0xFE6BD6: _php_stream_free (streams.c:385)
==17198==    by 0xB6E9E6: phar_destroy_phar_data (phar.c:254)
==17198==    by 0xB6EB99: phar_archive_delref (phar.c:279)
==17198==    by 0xB6F6D7: phar_entry_delref (phar.c:453)
==17198==    by 0xB5CBC6: phar_stream_close (stream.c:356)
==17198==    by 0xFE6F56: _php_stream_free (streams.c:461)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==  Address 0x14f2f740 is 96 bytes inside a block of size 224 free'd
==17198==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==17198==    by 0x10603FD: _efree (zend_alloc.c:2499)
==17198==    by 0xFE738E: _php_stream_free (streams.c:505)
==17198==    by 0xFEBA32: stream_resource_regular_dtor (streams.c:1583)
==17198==    by 0x110F087: zend_resource_dtor (zend_list.c:76)
==17198==    by 0x110FA8F: zend_close_rsrc (zend_list.c:230)
==17198==    by 0x1105096: zend_hash_reverse_apply (zend_hash.c:1650)
==17198==    by 0x110FAD9: zend_close_rsrc_list (zend_list.c:238)
==17198==    by 0x1097C58: shutdown_executor (zend_execute_API.c:262)
==17198==    by 0x10CB834: zend_deactivate (zend.c:1050)
==17198==    by 0xFB5A7C: php_request_shutdown (main.c:1767)
==17198==    by 0x133E61E: do_cli (php_cli.c:1178)
==17198==  Block was alloc'd at
==17198==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==17198==    by 0x1064168: __zend_malloc (zend_alloc.c:2884)
==17198==    by 0x105C156: _emalloc_224 (zend_alloc.c:2407)
==17198==    by 0xFE6812: _php_stream_alloc (streams.c:273)
==17198==    by 0xFF4F44: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==17198==    by 0xFF5272: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==17198==    by 0xFF74E8: _php_stream_fopen (plain_wrapper.c:1024)
==17198==    by 0xFF79F1: php_plain_files_stream_opener (plain_wrapper.c:1080)
==17198==    by 0xFEDD05: _php_stream_open_wrapper_ex (streams.c:2022)
==17198==    by 0xB7FEE4: phar_flush (phar.c:3182)
==17198==    by 0xB965F5: zim_Phar_setStub (phar_object.c:2962)
==17198==    by 0x11B28C6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:909)
==17198== 

 

Generated at Sun, 12 Nov 2017 21:17:35 +0000 (4 days ago)

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