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.txtl^E<?php __HALT_COMPILER();b^xp#G.N@/0GBMB

Report

==18921== Invalid read of size 8
==18921==    at 0x103DF98: _php_stream_free (streams.c:373)
==18921==    by 0xB933ED: phar_destroy_phar_data (phar.c:254)
==18921==    by 0xB935A3: phar_archive_delref (phar.c:279)
==18921==    by 0xB940DD: phar_entry_delref (phar.c:453)
==18921==    by 0xB81729: phar_stream_close (stream.c:354)
==18921==    by 0x103E3A0: _php_stream_free (streams.c:467)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==  Address 0x15b5f640 is 144 bytes inside a block of size 224 free'd
==18921==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18921==    by 0x10B34E1: _efree (zend_alloc.c:2451)
==18921==    by 0x103E86A: _php_stream_free (streams.c:517)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==    by 0x111E690: zend_deactivate (zend.c:1032)
==18921==    by 0x100DEAB: php_request_shutdown (main.c:1904)
==18921==    by 0x13A3846: do_cli (php_cli.c:1178)
==18921==  Block was alloc'd at
==18921==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18921==    by 0x10B4A47: __zend_malloc (zend_alloc.c:2835)
==18921==    by 0x10AF209: _emalloc_224 (zend_alloc.c:2359)
==18921==    by 0x103DBF2: _php_stream_alloc (streams.c:274)
==18921==    by 0x104C122: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18921==    by 0x104C460: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18921==    by 0x104E573: _php_stream_fopen (plain_wrapper.c:1021)
==18921==    by 0x104EAAE: php_plain_files_stream_opener (plain_wrapper.c:1077)
==18921==    by 0x10452BC: _php_stream_open_wrapper_ex (streams.c:2036)
==18921==    by 0xBA4370: phar_flush (phar.c:3176)
==18921==    by 0xBBA7CF: zim_Phar_setStub (phar_object.c:2973)
==18921==    by 0x137868F: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==18921==    by 0x137868F: execute_ex (zend_vm_execute.h:59793)
==18921== 
==18921== Invalid read of size 4
==18921==    at 0x103DFE6: _php_stream_free (streams.c:376)
==18921==    by 0xB933ED: phar_destroy_phar_data (phar.c:254)
==18921==    by 0xB935A3: phar_archive_delref (phar.c:279)
==18921==    by 0xB940DD: phar_entry_delref (phar.c:453)
==18921==    by 0xB81729: phar_stream_close (stream.c:354)
==18921==    by 0x103E3A0: _php_stream_free (streams.c:467)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==  Address 0x15b5f624 is 116 bytes inside a block of size 224 free'd
==18921==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18921==    by 0x10B34E1: _efree (zend_alloc.c:2451)
==18921==    by 0x103E86A: _php_stream_free (streams.c:517)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==    by 0x111E690: zend_deactivate (zend.c:1032)
==18921==    by 0x100DEAB: php_request_shutdown (main.c:1904)
==18921==    by 0x13A3846: do_cli (php_cli.c:1178)
==18921==  Block was alloc'd at
==18921==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18921==    by 0x10B4A47: __zend_malloc (zend_alloc.c:2835)
==18921==    by 0x10AF209: _emalloc_224 (zend_alloc.c:2359)
==18921==    by 0x103DBF2: _php_stream_alloc (streams.c:274)
==18921==    by 0x104C122: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18921==    by 0x104C460: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18921==    by 0x104E573: _php_stream_fopen (plain_wrapper.c:1021)
==18921==    by 0x104EAAE: php_plain_files_stream_opener (plain_wrapper.c:1077)
==18921==    by 0x10452BC: _php_stream_open_wrapper_ex (streams.c:2036)
==18921==    by 0xBA4370: phar_flush (phar.c:3176)
==18921==    by 0xBBA7CF: zim_Phar_setStub (phar_object.c:2973)
==18921==    by 0x137868F: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==18921==    by 0x137868F: execute_ex (zend_vm_execute.h:59793)
==18921== 
==18921== Invalid read of size 1
==18921==    at 0x103E00D: _php_stream_free (streams.c:389)
==18921==    by 0xB933ED: phar_destroy_phar_data (phar.c:254)
==18921==    by 0xB935A3: phar_archive_delref (phar.c:279)
==18921==    by 0xB940DD: phar_entry_delref (phar.c:453)
==18921==    by 0xB81729: phar_stream_close (stream.c:354)
==18921==    by 0x103E3A0: _php_stream_free (streams.c:467)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==  Address 0x15b5f610 is 96 bytes inside a block of size 224 free'd
==18921==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18921==    by 0x10B34E1: _efree (zend_alloc.c:2451)
==18921==    by 0x103E86A: _php_stream_free (streams.c:517)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==    by 0x111E690: zend_deactivate (zend.c:1032)
==18921==    by 0x100DEAB: php_request_shutdown (main.c:1904)
==18921==    by 0x13A3846: do_cli (php_cli.c:1178)
==18921==  Block was alloc'd at
==18921==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18921==    by 0x10B4A47: __zend_malloc (zend_alloc.c:2835)
==18921==    by 0x10AF209: _emalloc_224 (zend_alloc.c:2359)
==18921==    by 0x103DBF2: _php_stream_alloc (streams.c:274)
==18921==    by 0x104C122: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18921==    by 0x104C460: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18921==    by 0x104E573: _php_stream_fopen (plain_wrapper.c:1021)
==18921==    by 0x104EAAE: php_plain_files_stream_opener (plain_wrapper.c:1077)
==18921==    by 0x10452BC: _php_stream_open_wrapper_ex (streams.c:2036)
==18921==    by 0xBA4370: phar_flush (phar.c:3176)
==18921==    by 0xBBA7CF: zim_Phar_setStub (phar_object.c:2973)
==18921==    by 0x137868F: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==18921==    by 0x137868F: execute_ex (zend_vm_execute.h:59793)
==18921== 
==18921== Invalid read of size 1
==18921==    at 0x103E020: _php_stream_free (streams.c:391)
==18921==    by 0xB933ED: phar_destroy_phar_data (phar.c:254)
==18921==    by 0xB935A3: phar_archive_delref (phar.c:279)
==18921==    by 0xB940DD: phar_entry_delref (phar.c:453)
==18921==    by 0xB81729: phar_stream_close (stream.c:354)
==18921==    by 0x103E3A0: _php_stream_free (streams.c:467)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==  Address 0x15b5f610 is 96 bytes inside a block of size 224 free'd
==18921==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18921==    by 0x10B34E1: _efree (zend_alloc.c:2451)
==18921==    by 0x103E86A: _php_stream_free (streams.c:517)
==18921==    by 0x1042F5C: stream_resource_regular_dtor (streams.c:1598)
==18921==    by 0x11625BD: zend_resource_dtor (zend_list.c:76)
==18921==    by 0x1162FE2: zend_close_rsrc (zend_list.c:230)
==18921==    by 0x115802B: zend_hash_reverse_apply (zend_hash.c:1599)
==18921==    by 0x116302E: zend_close_rsrc_list (zend_list.c:238)
==18921==    by 0x10EA934: shutdown_executor (zend_execute_API.c:263)
==18921==    by 0x111E690: zend_deactivate (zend.c:1032)
==18921==    by 0x100DEAB: php_request_shutdown (main.c:1904)
==18921==    by 0x13A3846: do_cli (php_cli.c:1178)
==18921==  Block was alloc'd at
==18921==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18921==    by 0x10B4A47: __zend_malloc (zend_alloc.c:2835)
==18921==    by 0x10AF209: _emalloc_224 (zend_alloc.c:2359)
==18921==    by 0x103DBF2: _php_stream_alloc (streams.c:274)
==18921==    by 0x104C122: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==18921==    by 0x104C460: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==18921==    by 0x104E573: _php_stream_fopen (plain_wrapper.c:1021)
==18921==    by 0x104EAAE: php_plain_files_stream_opener (plain_wrapper.c:1077)
==18921==    by 0x10452BC: _php_stream_open_wrapper_ex (streams.c:2036)
==18921==    by 0xBA4370: phar_flush (phar.c:3176)
==18921==    by 0xBBA7CF: zim_Phar_setStub (phar_object.c:2973)
==18921==    by 0x137868F: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:911)
==18921==    by 0x137868F: execute_ex (zend_vm_execute.h:59793)
==18921== 

 

Generated at Fri, 22 May 2020 15:51:44 +0000 (2 days ago)

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