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.txt9N[E<?php __HALT_COMPILER();{mDxعϣA4qwGBMB

Report

==7629== Invalid read of size 8
==7629==    at 0x1067D12: _php_stream_free (streams.c:368)
==7629==    by 0xBB953B: phar_destroy_phar_data (phar.c:252)
==7629==    by 0xBB96F0: phar_archive_delref (phar.c:277)
==7629==    by 0xBBA2AF: phar_entry_delref (phar.c:451)
==7629==    by 0xBA6F32: phar_stream_close (stream.c:355)
==7629==    by 0x106811A: _php_stream_free (streams.c:462)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==  Address 0x14f29e70 is 144 bytes inside a block of size 224 free'd
==7629==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7629==    by 0x10D9476: _efree (zend_alloc.c:2506)
==7629==    by 0x1068552: _php_stream_free (streams.c:506)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==    by 0x1146E95: zend_deactivate (zend.c:1106)
==7629==    by 0x1035097: php_request_shutdown (main.c:1904)
==7629==    by 0x13986D9: do_cli (php_cli.c:1169)
==7629==  Block was alloc'd at
==7629==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7629==    by 0x10DD159: __zend_malloc (zend_alloc.c:2898)
==7629==    by 0x10D521C: _emalloc_224 (zend_alloc.c:2419)
==7629==    by 0x10679D9: _php_stream_alloc (streams.c:274)
==7629==    by 0x1076386: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==7629==    by 0x10766C4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==7629==    by 0x10788D9: _php_stream_fopen (plain_wrapper.c:1047)
==7629==    by 0x1078EDF: php_plain_files_stream_opener (plain_wrapper.c:1103)
==7629==    by 0x106EEE0: _php_stream_open_wrapper_ex (streams.c:2026)
==7629==    by 0xBCAC65: phar_flush (phar.c:3178)
==7629==    by 0xBE0E3E: zim_Phar_setStub (phar_object.c:2907)
==7629==    by 0x136C6AC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==7629==    by 0x136C6AC: execute_ex (zend_vm_execute.h:54946)
==7629== 
==7629== Invalid read of size 4
==7629==    at 0x1067D60: _php_stream_free (streams.c:371)
==7629==    by 0xBB953B: phar_destroy_phar_data (phar.c:252)
==7629==    by 0xBB96F0: phar_archive_delref (phar.c:277)
==7629==    by 0xBBA2AF: phar_entry_delref (phar.c:451)
==7629==    by 0xBA6F32: phar_stream_close (stream.c:355)
==7629==    by 0x106811A: _php_stream_free (streams.c:462)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==  Address 0x14f29e54 is 116 bytes inside a block of size 224 free'd
==7629==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7629==    by 0x10D9476: _efree (zend_alloc.c:2506)
==7629==    by 0x1068552: _php_stream_free (streams.c:506)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==    by 0x1146E95: zend_deactivate (zend.c:1106)
==7629==    by 0x1035097: php_request_shutdown (main.c:1904)
==7629==    by 0x13986D9: do_cli (php_cli.c:1169)
==7629==  Block was alloc'd at
==7629==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7629==    by 0x10DD159: __zend_malloc (zend_alloc.c:2898)
==7629==    by 0x10D521C: _emalloc_224 (zend_alloc.c:2419)
==7629==    by 0x10679D9: _php_stream_alloc (streams.c:274)
==7629==    by 0x1076386: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==7629==    by 0x10766C4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==7629==    by 0x10788D9: _php_stream_fopen (plain_wrapper.c:1047)
==7629==    by 0x1078EDF: php_plain_files_stream_opener (plain_wrapper.c:1103)
==7629==    by 0x106EEE0: _php_stream_open_wrapper_ex (streams.c:2026)
==7629==    by 0xBCAC65: phar_flush (phar.c:3178)
==7629==    by 0xBE0E3E: zim_Phar_setStub (phar_object.c:2907)
==7629==    by 0x136C6AC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==7629==    by 0x136C6AC: execute_ex (zend_vm_execute.h:54946)
==7629== 
==7629== Invalid read of size 1
==7629==    at 0x1067D87: _php_stream_free (streams.c:384)
==7629==    by 0xBB953B: phar_destroy_phar_data (phar.c:252)
==7629==    by 0xBB96F0: phar_archive_delref (phar.c:277)
==7629==    by 0xBBA2AF: phar_entry_delref (phar.c:451)
==7629==    by 0xBA6F32: phar_stream_close (stream.c:355)
==7629==    by 0x106811A: _php_stream_free (streams.c:462)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==  Address 0x14f29e40 is 96 bytes inside a block of size 224 free'd
==7629==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7629==    by 0x10D9476: _efree (zend_alloc.c:2506)
==7629==    by 0x1068552: _php_stream_free (streams.c:506)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==    by 0x1146E95: zend_deactivate (zend.c:1106)
==7629==    by 0x1035097: php_request_shutdown (main.c:1904)
==7629==    by 0x13986D9: do_cli (php_cli.c:1169)
==7629==  Block was alloc'd at
==7629==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7629==    by 0x10DD159: __zend_malloc (zend_alloc.c:2898)
==7629==    by 0x10D521C: _emalloc_224 (zend_alloc.c:2419)
==7629==    by 0x10679D9: _php_stream_alloc (streams.c:274)
==7629==    by 0x1076386: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==7629==    by 0x10766C4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==7629==    by 0x10788D9: _php_stream_fopen (plain_wrapper.c:1047)
==7629==    by 0x1078EDF: php_plain_files_stream_opener (plain_wrapper.c:1103)
==7629==    by 0x106EEE0: _php_stream_open_wrapper_ex (streams.c:2026)
==7629==    by 0xBCAC65: phar_flush (phar.c:3178)
==7629==    by 0xBE0E3E: zim_Phar_setStub (phar_object.c:2907)
==7629==    by 0x136C6AC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==7629==    by 0x136C6AC: execute_ex (zend_vm_execute.h:54946)
==7629== 
==7629== Invalid read of size 1
==7629==    at 0x1067D9A: _php_stream_free (streams.c:386)
==7629==    by 0xBB953B: phar_destroy_phar_data (phar.c:252)
==7629==    by 0xBB96F0: phar_archive_delref (phar.c:277)
==7629==    by 0xBBA2AF: phar_entry_delref (phar.c:451)
==7629==    by 0xBA6F32: phar_stream_close (stream.c:355)
==7629==    by 0x106811A: _php_stream_free (streams.c:462)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==  Address 0x14f29e40 is 96 bytes inside a block of size 224 free'd
==7629==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7629==    by 0x10D9476: _efree (zend_alloc.c:2506)
==7629==    by 0x1068552: _php_stream_free (streams.c:506)
==7629==    by 0x106CB1A: stream_resource_regular_dtor (streams.c:1588)
==7629==    by 0x1186930: zend_resource_dtor (zend_list.c:76)
==7629==    by 0x1187357: zend_close_rsrc (zend_list.c:230)
==7629==    by 0x117C089: zend_hash_reverse_apply (zend_hash.c:1752)
==7629==    by 0x11873A3: zend_close_rsrc_list (zend_list.c:238)
==7629==    by 0x1114C61: shutdown_executor (zend_execute_API.c:263)
==7629==    by 0x1146E95: zend_deactivate (zend.c:1106)
==7629==    by 0x1035097: php_request_shutdown (main.c:1904)
==7629==    by 0x13986D9: do_cli (php_cli.c:1169)
==7629==  Block was alloc'd at
==7629==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7629==    by 0x10DD159: __zend_malloc (zend_alloc.c:2898)
==7629==    by 0x10D521C: _emalloc_224 (zend_alloc.c:2419)
==7629==    by 0x10679D9: _php_stream_alloc (streams.c:274)
==7629==    by 0x1076386: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==7629==    by 0x10766C4: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==7629==    by 0x10788D9: _php_stream_fopen (plain_wrapper.c:1047)
==7629==    by 0x1078EDF: php_plain_files_stream_opener (plain_wrapper.c:1103)
==7629==    by 0x106EEE0: _php_stream_open_wrapper_ex (streams.c:2026)
==7629==    by 0xBCAC65: phar_flush (phar.c:3178)
==7629==    by 0xBE0E3E: zim_Phar_setStub (phar_object.c:2907)
==7629==    by 0x136C6AC: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==7629==    by 0x136C6AC: execute_ex (zend_vm_execute.h:54946)
==7629== 

 

Generated at Thu, 19 Jul 2018 09:51:32 +0000 (2 days ago)

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