PHP  
 PHP_7_3
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.txtL3CaE<?php __HALT_COMPILER();!%nϞ2vGBMB

Report

==7956== Invalid read of size 8
==7956==    at 0x10ADD24: _php_stream_free (streams.c:372)
==7956==    by 0xBE66EB: phar_destroy_phar_data (phar.c:252)
==7956==    by 0xBE68A0: phar_archive_delref (phar.c:277)
==7956==    by 0xBE745F: phar_entry_delref (phar.c:451)
==7956==    by 0xBD40E2: phar_stream_close (stream.c:355)
==7956==    by 0x10AE12C: _php_stream_free (streams.c:466)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==  Address 0x15d5a6e0 is 144 bytes inside a block of size 224 free'd
==7956==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7956==    by 0x11206D5: _efree (zend_alloc.c:2516)
==7956==    by 0x10AE5F6: _php_stream_free (streams.c:516)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==    by 0x118E48E: zend_deactivate (zend.c:1104)
==7956==    by 0x107A323: php_request_shutdown (main.c:1928)
==7956==    by 0x13DE7F4: do_cli (php_cli.c:1167)
==7956==  Block was alloc'd at
==7956==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7956==    by 0x1124415: __zend_malloc (zend_alloc.c:2909)
==7956==    by 0x111C47B: _emalloc_224 (zend_alloc.c:2429)
==7956==    by 0x10AD9EB: _php_stream_alloc (streams.c:278)
==7956==    by 0x10BC8F3: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==7956==    by 0x10BCC31: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==7956==    by 0x10BEDBD: _php_stream_fopen (plain_wrapper.c:1061)
==7956==    by 0x10BF3C3: php_plain_files_stream_opener (plain_wrapper.c:1117)
==7956==    by 0x10B544D: _php_stream_open_wrapper_ex (streams.c:2046)
==7956==    by 0xBF8652: phar_flush (phar.c:3191)
==7956==    by 0xC0E862: zim_Phar_setStub (phar_object.c:2918)
==7956==    by 0x13B238A: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:984)
==7956==    by 0x13B238A: execute_ex (zend_vm_execute.h:55523)
==7956== 
==7956== Invalid read of size 4
==7956==    at 0x10ADD72: _php_stream_free (streams.c:375)
==7956==    by 0xBE66EB: phar_destroy_phar_data (phar.c:252)
==7956==    by 0xBE68A0: phar_archive_delref (phar.c:277)
==7956==    by 0xBE745F: phar_entry_delref (phar.c:451)
==7956==    by 0xBD40E2: phar_stream_close (stream.c:355)
==7956==    by 0x10AE12C: _php_stream_free (streams.c:466)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==  Address 0x15d5a6c4 is 116 bytes inside a block of size 224 free'd
==7956==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7956==    by 0x11206D5: _efree (zend_alloc.c:2516)
==7956==    by 0x10AE5F6: _php_stream_free (streams.c:516)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==    by 0x118E48E: zend_deactivate (zend.c:1104)
==7956==    by 0x107A323: php_request_shutdown (main.c:1928)
==7956==    by 0x13DE7F4: do_cli (php_cli.c:1167)
==7956==  Block was alloc'd at
==7956==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7956==    by 0x1124415: __zend_malloc (zend_alloc.c:2909)
==7956==    by 0x111C47B: _emalloc_224 (zend_alloc.c:2429)
==7956==    by 0x10AD9EB: _php_stream_alloc (streams.c:278)
==7956==    by 0x10BC8F3: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==7956==    by 0x10BCC31: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==7956==    by 0x10BEDBD: _php_stream_fopen (plain_wrapper.c:1061)
==7956==    by 0x10BF3C3: php_plain_files_stream_opener (plain_wrapper.c:1117)
==7956==    by 0x10B544D: _php_stream_open_wrapper_ex (streams.c:2046)
==7956==    by 0xBF8652: phar_flush (phar.c:3191)
==7956==    by 0xC0E862: zim_Phar_setStub (phar_object.c:2918)
==7956==    by 0x13B238A: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:984)
==7956==    by 0x13B238A: execute_ex (zend_vm_execute.h:55523)
==7956== 
==7956== Invalid read of size 1
==7956==    at 0x10ADD99: _php_stream_free (streams.c:388)
==7956==    by 0xBE66EB: phar_destroy_phar_data (phar.c:252)
==7956==    by 0xBE68A0: phar_archive_delref (phar.c:277)
==7956==    by 0xBE745F: phar_entry_delref (phar.c:451)
==7956==    by 0xBD40E2: phar_stream_close (stream.c:355)
==7956==    by 0x10AE12C: _php_stream_free (streams.c:466)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==  Address 0x15d5a6b0 is 96 bytes inside a block of size 224 free'd
==7956==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7956==    by 0x11206D5: _efree (zend_alloc.c:2516)
==7956==    by 0x10AE5F6: _php_stream_free (streams.c:516)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==    by 0x118E48E: zend_deactivate (zend.c:1104)
==7956==    by 0x107A323: php_request_shutdown (main.c:1928)
==7956==    by 0x13DE7F4: do_cli (php_cli.c:1167)
==7956==  Block was alloc'd at
==7956==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7956==    by 0x1124415: __zend_malloc (zend_alloc.c:2909)
==7956==    by 0x111C47B: _emalloc_224 (zend_alloc.c:2429)
==7956==    by 0x10AD9EB: _php_stream_alloc (streams.c:278)
==7956==    by 0x10BC8F3: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==7956==    by 0x10BCC31: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==7956==    by 0x10BEDBD: _php_stream_fopen (plain_wrapper.c:1061)
==7956==    by 0x10BF3C3: php_plain_files_stream_opener (plain_wrapper.c:1117)
==7956==    by 0x10B544D: _php_stream_open_wrapper_ex (streams.c:2046)
==7956==    by 0xBF8652: phar_flush (phar.c:3191)
==7956==    by 0xC0E862: zim_Phar_setStub (phar_object.c:2918)
==7956==    by 0x13B238A: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:984)
==7956==    by 0x13B238A: execute_ex (zend_vm_execute.h:55523)
==7956== 
==7956== Invalid read of size 1
==7956==    at 0x10ADDAC: _php_stream_free (streams.c:390)
==7956==    by 0xBE66EB: phar_destroy_phar_data (phar.c:252)
==7956==    by 0xBE68A0: phar_archive_delref (phar.c:277)
==7956==    by 0xBE745F: phar_entry_delref (phar.c:451)
==7956==    by 0xBD40E2: phar_stream_close (stream.c:355)
==7956==    by 0x10AE12C: _php_stream_free (streams.c:466)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==  Address 0x15d5a6b0 is 96 bytes inside a block of size 224 free'd
==7956==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==7956==    by 0x11206D5: _efree (zend_alloc.c:2516)
==7956==    by 0x10AE5F6: _php_stream_free (streams.c:516)
==7956==    by 0x10B3071: stream_resource_regular_dtor (streams.c:1606)
==7956==    by 0x11CDAE5: zend_resource_dtor (zend_list.c:74)
==7956==    by 0x11CE50C: zend_close_rsrc (zend_list.c:228)
==7956==    by 0x11C33E8: zend_hash_reverse_apply (zend_hash.c:1772)
==7956==    by 0x11CE558: zend_close_rsrc_list (zend_list.c:236)
==7956==    by 0x115BFFB: shutdown_executor (zend_execute_API.c:265)
==7956==    by 0x118E48E: zend_deactivate (zend.c:1104)
==7956==    by 0x107A323: php_request_shutdown (main.c:1928)
==7956==    by 0x13DE7F4: do_cli (php_cli.c:1167)
==7956==  Block was alloc'd at
==7956==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==7956==    by 0x1124415: __zend_malloc (zend_alloc.c:2909)
==7956==    by 0x111C47B: _emalloc_224 (zend_alloc.c:2429)
==7956==    by 0x10AD9EB: _php_stream_alloc (streams.c:278)
==7956==    by 0x10BC8F3: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==7956==    by 0x10BCC31: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==7956==    by 0x10BEDBD: _php_stream_fopen (plain_wrapper.c:1061)
==7956==    by 0x10BF3C3: php_plain_files_stream_opener (plain_wrapper.c:1117)
==7956==    by 0x10B544D: _php_stream_open_wrapper_ex (streams.c:2046)
==7956==    by 0xBF8652: phar_flush (phar.c:3191)
==7956==    by 0xC0E862: zim_Phar_setStub (phar_object.c:2918)
==7956==    by 0x13B238A: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:984)
==7956==    by 0x13B238A: execute_ex (zend_vm_execute.h:55523)
==7956== 

 

Generated at Fri, 17 Sep 2021 16:14:14 +0000 (6 days ago)

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