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}1^\E<?php __HALT_COMPILER();dqEFm>yGBMB

Report

==24322== Invalid read of size 8
==24322==    at 0x1023F93: _php_stream_free (streams.c:373)
==24322==    by 0xB79E71: phar_destroy_phar_data (phar.c:254)
==24322==    by 0xB7A027: phar_archive_delref (phar.c:279)
==24322==    by 0xB7AB61: phar_entry_delref (phar.c:453)
==24322==    by 0xB681AD: phar_stream_close (stream.c:354)
==24322==    by 0x102439B: _php_stream_free (streams.c:467)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==  Address 0x15b37690 is 144 bytes inside a block of size 224 free'd
==24322==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==24322==    by 0x1098A9C: _efree (zend_alloc.c:2444)
==24322==    by 0x10247D3: _php_stream_free (streams.c:511)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==    by 0x110392B: zend_deactivate (zend.c:1032)
==24322==    by 0xFF3E2B: php_request_shutdown (main.c:1904)
==24322==    by 0x13886B0: do_cli (php_cli.c:1178)
==24322==  Block was alloc'd at
==24322==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==24322==    by 0x109A002: __zend_malloc (zend_alloc.c:2829)
==24322==    by 0x10947C4: _emalloc_224 (zend_alloc.c:2352)
==24322==    by 0x1023BED: _php_stream_alloc (streams.c:274)
==24322==    by 0x1031D93: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==24322==    by 0x10320D1: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==24322==    by 0x1034256: _php_stream_fopen (plain_wrapper.c:1024)
==24322==    by 0x1034791: php_plain_files_stream_opener (plain_wrapper.c:1080)
==24322==    by 0x102AF2D: _php_stream_open_wrapper_ex (streams.c:2027)
==24322==    by 0xB8ADAB: phar_flush (phar.c:3172)
==24322==    by 0xBA11D2: zim_Phar_setStub (phar_object.c:2960)
==24322==    by 0x135D5D1: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==24322==    by 0x135D5D1: execute_ex (zend_vm_execute.h:59765)
==24322== 
==24322== Invalid read of size 4
==24322==    at 0x1023FE1: _php_stream_free (streams.c:376)
==24322==    by 0xB79E71: phar_destroy_phar_data (phar.c:254)
==24322==    by 0xB7A027: phar_archive_delref (phar.c:279)
==24322==    by 0xB7AB61: phar_entry_delref (phar.c:453)
==24322==    by 0xB681AD: phar_stream_close (stream.c:354)
==24322==    by 0x102439B: _php_stream_free (streams.c:467)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==  Address 0x15b37674 is 116 bytes inside a block of size 224 free'd
==24322==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==24322==    by 0x1098A9C: _efree (zend_alloc.c:2444)
==24322==    by 0x10247D3: _php_stream_free (streams.c:511)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==    by 0x110392B: zend_deactivate (zend.c:1032)
==24322==    by 0xFF3E2B: php_request_shutdown (main.c:1904)
==24322==    by 0x13886B0: do_cli (php_cli.c:1178)
==24322==  Block was alloc'd at
==24322==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==24322==    by 0x109A002: __zend_malloc (zend_alloc.c:2829)
==24322==    by 0x10947C4: _emalloc_224 (zend_alloc.c:2352)
==24322==    by 0x1023BED: _php_stream_alloc (streams.c:274)
==24322==    by 0x1031D93: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==24322==    by 0x10320D1: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==24322==    by 0x1034256: _php_stream_fopen (plain_wrapper.c:1024)
==24322==    by 0x1034791: php_plain_files_stream_opener (plain_wrapper.c:1080)
==24322==    by 0x102AF2D: _php_stream_open_wrapper_ex (streams.c:2027)
==24322==    by 0xB8ADAB: phar_flush (phar.c:3172)
==24322==    by 0xBA11D2: zim_Phar_setStub (phar_object.c:2960)
==24322==    by 0x135D5D1: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==24322==    by 0x135D5D1: execute_ex (zend_vm_execute.h:59765)
==24322== 
==24322== Invalid read of size 1
==24322==    at 0x1024008: _php_stream_free (streams.c:389)
==24322==    by 0xB79E71: phar_destroy_phar_data (phar.c:254)
==24322==    by 0xB7A027: phar_archive_delref (phar.c:279)
==24322==    by 0xB7AB61: phar_entry_delref (phar.c:453)
==24322==    by 0xB681AD: phar_stream_close (stream.c:354)
==24322==    by 0x102439B: _php_stream_free (streams.c:467)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==  Address 0x15b37660 is 96 bytes inside a block of size 224 free'd
==24322==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==24322==    by 0x1098A9C: _efree (zend_alloc.c:2444)
==24322==    by 0x10247D3: _php_stream_free (streams.c:511)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==    by 0x110392B: zend_deactivate (zend.c:1032)
==24322==    by 0xFF3E2B: php_request_shutdown (main.c:1904)
==24322==    by 0x13886B0: do_cli (php_cli.c:1178)
==24322==  Block was alloc'd at
==24322==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==24322==    by 0x109A002: __zend_malloc (zend_alloc.c:2829)
==24322==    by 0x10947C4: _emalloc_224 (zend_alloc.c:2352)
==24322==    by 0x1023BED: _php_stream_alloc (streams.c:274)
==24322==    by 0x1031D93: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==24322==    by 0x10320D1: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==24322==    by 0x1034256: _php_stream_fopen (plain_wrapper.c:1024)
==24322==    by 0x1034791: php_plain_files_stream_opener (plain_wrapper.c:1080)
==24322==    by 0x102AF2D: _php_stream_open_wrapper_ex (streams.c:2027)
==24322==    by 0xB8ADAB: phar_flush (phar.c:3172)
==24322==    by 0xBA11D2: zim_Phar_setStub (phar_object.c:2960)
==24322==    by 0x135D5D1: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==24322==    by 0x135D5D1: execute_ex (zend_vm_execute.h:59765)
==24322== 
==24322== Invalid read of size 1
==24322==    at 0x102401B: _php_stream_free (streams.c:391)
==24322==    by 0xB79E71: phar_destroy_phar_data (phar.c:254)
==24322==    by 0xB7A027: phar_archive_delref (phar.c:279)
==24322==    by 0xB7AB61: phar_entry_delref (phar.c:453)
==24322==    by 0xB681AD: phar_stream_close (stream.c:354)
==24322==    by 0x102439B: _php_stream_free (streams.c:467)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==  Address 0x15b37660 is 96 bytes inside a block of size 224 free'd
==24322==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==24322==    by 0x1098A9C: _efree (zend_alloc.c:2444)
==24322==    by 0x10247D3: _php_stream_free (streams.c:511)
==24322==    by 0x1028BE3: stream_resource_regular_dtor (streams.c:1591)
==24322==    by 0x114799E: zend_resource_dtor (zend_list.c:76)
==24322==    by 0x11483C3: zend_close_rsrc (zend_list.c:230)
==24322==    by 0x113D40B: zend_hash_reverse_apply (zend_hash.c:1599)
==24322==    by 0x114840F: zend_close_rsrc_list (zend_list.c:238)
==24322==    by 0x10CFBF3: shutdown_executor (zend_execute_API.c:263)
==24322==    by 0x110392B: zend_deactivate (zend.c:1032)
==24322==    by 0xFF3E2B: php_request_shutdown (main.c:1904)
==24322==    by 0x13886B0: do_cli (php_cli.c:1178)
==24322==  Block was alloc'd at
==24322==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==24322==    by 0x109A002: __zend_malloc (zend_alloc.c:2829)
==24322==    by 0x10947C4: _emalloc_224 (zend_alloc.c:2352)
==24322==    by 0x1023BED: _php_stream_alloc (streams.c:274)
==24322==    by 0x1031D93: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==24322==    by 0x10320D1: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==24322==    by 0x1034256: _php_stream_fopen (plain_wrapper.c:1024)
==24322==    by 0x1034791: php_plain_files_stream_opener (plain_wrapper.c:1080)
==24322==    by 0x102AF2D: _php_stream_open_wrapper_ex (streams.c:2027)
==24322==    by 0xB8ADAB: phar_flush (phar.c:3172)
==24322==    by 0xBA11D2: zim_Phar_setStub (phar_object.c:2960)
==24322==    by 0x135D5D1: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==24322==    by 0x135D5D1: execute_ex (zend_vm_execute.h:59765)
==24322== 

 

Generated at Sun, 10 Feb 2019 05:24:25 +0000 (11 days ago)

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