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.txtYE<?php __HALT_COMPILER();!#CH1/-ťGBMB

Report

==4136== Invalid read of size 8
==4136==    at 0xFFF6DD: _php_stream_free (streams.c:372)
==4136==    by 0xB6357A: phar_destroy_phar_data (phar.c:254)
==4136==    by 0xB6372D: phar_archive_delref (phar.c:279)
==4136==    by 0xB6425F: phar_entry_delref (phar.c:453)
==4136==    by 0xB5191A: phar_stream_close (stream.c:356)
==4136==    by 0xFFFAE5: _php_stream_free (streams.c:466)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==  Address 0x14f41f90 is 144 bytes inside a block of size 224 free'd
==4136==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4136==    by 0x1076214: _efree (zend_alloc.c:2428)
==4136==    by 0xFFFF1D: _php_stream_free (streams.c:510)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==    by 0x10DCF4E: zend_deactivate (zend.c:1034)
==4136==    by 0xFCE9DF: php_request_shutdown (main.c:1880)
==4136==    by 0x1340B62: do_cli (php_cli.c:1178)
==4136==  Block was alloc'd at
==4136==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4136==    by 0x10777DB: __zend_malloc (zend_alloc.c:2811)
==4136==    by 0x1071F6D: _emalloc_224 (zend_alloc.c:2336)
==4136==    by 0xFFF33E: _php_stream_alloc (streams.c:273)
==4136==    by 0x100D6D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4136==    by 0x100DA02: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4136==    by 0x100FC2E: _php_stream_fopen (plain_wrapper.c:1024)
==4136==    by 0x101011D: php_plain_files_stream_opener (plain_wrapper.c:1080)
==4136==    by 0x10067B5: _php_stream_open_wrapper_ex (streams.c:2024)
==4136==    by 0xB7411F: phar_flush (phar.c:3163)
==4136==    by 0xB8A3B5: zim_Phar_setStub (phar_object.c:2962)
==4136==    by 0x11C06FE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==4136== 
==4136== Invalid read of size 4
==4136==    at 0xFFF72B: _php_stream_free (streams.c:375)
==4136==    by 0xB6357A: phar_destroy_phar_data (phar.c:254)
==4136==    by 0xB6372D: phar_archive_delref (phar.c:279)
==4136==    by 0xB6425F: phar_entry_delref (phar.c:453)
==4136==    by 0xB5191A: phar_stream_close (stream.c:356)
==4136==    by 0xFFFAE5: _php_stream_free (streams.c:466)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==  Address 0x14f41f74 is 116 bytes inside a block of size 224 free'd
==4136==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4136==    by 0x1076214: _efree (zend_alloc.c:2428)
==4136==    by 0xFFFF1D: _php_stream_free (streams.c:510)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==    by 0x10DCF4E: zend_deactivate (zend.c:1034)
==4136==    by 0xFCE9DF: php_request_shutdown (main.c:1880)
==4136==    by 0x1340B62: do_cli (php_cli.c:1178)
==4136==  Block was alloc'd at
==4136==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4136==    by 0x10777DB: __zend_malloc (zend_alloc.c:2811)
==4136==    by 0x1071F6D: _emalloc_224 (zend_alloc.c:2336)
==4136==    by 0xFFF33E: _php_stream_alloc (streams.c:273)
==4136==    by 0x100D6D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4136==    by 0x100DA02: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4136==    by 0x100FC2E: _php_stream_fopen (plain_wrapper.c:1024)
==4136==    by 0x101011D: php_plain_files_stream_opener (plain_wrapper.c:1080)
==4136==    by 0x10067B5: _php_stream_open_wrapper_ex (streams.c:2024)
==4136==    by 0xB7411F: phar_flush (phar.c:3163)
==4136==    by 0xB8A3B5: zim_Phar_setStub (phar_object.c:2962)
==4136==    by 0x11C06FE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==4136== 
==4136== Invalid read of size 1
==4136==    at 0xFFF752: _php_stream_free (streams.c:388)
==4136==    by 0xB6357A: phar_destroy_phar_data (phar.c:254)
==4136==    by 0xB6372D: phar_archive_delref (phar.c:279)
==4136==    by 0xB6425F: phar_entry_delref (phar.c:453)
==4136==    by 0xB5191A: phar_stream_close (stream.c:356)
==4136==    by 0xFFFAE5: _php_stream_free (streams.c:466)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==  Address 0x14f41f60 is 96 bytes inside a block of size 224 free'd
==4136==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4136==    by 0x1076214: _efree (zend_alloc.c:2428)
==4136==    by 0xFFFF1D: _php_stream_free (streams.c:510)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==    by 0x10DCF4E: zend_deactivate (zend.c:1034)
==4136==    by 0xFCE9DF: php_request_shutdown (main.c:1880)
==4136==    by 0x1340B62: do_cli (php_cli.c:1178)
==4136==  Block was alloc'd at
==4136==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4136==    by 0x10777DB: __zend_malloc (zend_alloc.c:2811)
==4136==    by 0x1071F6D: _emalloc_224 (zend_alloc.c:2336)
==4136==    by 0xFFF33E: _php_stream_alloc (streams.c:273)
==4136==    by 0x100D6D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4136==    by 0x100DA02: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4136==    by 0x100FC2E: _php_stream_fopen (plain_wrapper.c:1024)
==4136==    by 0x101011D: php_plain_files_stream_opener (plain_wrapper.c:1080)
==4136==    by 0x10067B5: _php_stream_open_wrapper_ex (streams.c:2024)
==4136==    by 0xB7411F: phar_flush (phar.c:3163)
==4136==    by 0xB8A3B5: zim_Phar_setStub (phar_object.c:2962)
==4136==    by 0x11C06FE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==4136== 
==4136== Invalid read of size 1
==4136==    at 0xFFF765: _php_stream_free (streams.c:390)
==4136==    by 0xB6357A: phar_destroy_phar_data (phar.c:254)
==4136==    by 0xB6372D: phar_archive_delref (phar.c:279)
==4136==    by 0xB6425F: phar_entry_delref (phar.c:453)
==4136==    by 0xB5191A: phar_stream_close (stream.c:356)
==4136==    by 0xFFFAE5: _php_stream_free (streams.c:466)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==  Address 0x14f41f60 is 96 bytes inside a block of size 224 free'd
==4136==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==4136==    by 0x1076214: _efree (zend_alloc.c:2428)
==4136==    by 0xFFFF1D: _php_stream_free (streams.c:510)
==4136==    by 0x1004472: stream_resource_regular_dtor (streams.c:1588)
==4136==    by 0x1120A31: zend_resource_dtor (zend_list.c:76)
==4136==    by 0x1121437: zend_close_rsrc (zend_list.c:230)
==4136==    by 0x1116BF4: zend_hash_reverse_apply (zend_hash.c:1597)
==4136==    by 0x1121481: zend_close_rsrc_list (zend_list.c:238)
==4136==    by 0x10AA8BC: shutdown_executor (zend_execute_API.c:262)
==4136==    by 0x10DCF4E: zend_deactivate (zend.c:1034)
==4136==    by 0xFCE9DF: php_request_shutdown (main.c:1880)
==4136==    by 0x1340B62: do_cli (php_cli.c:1178)
==4136==  Block was alloc'd at
==4136==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==4136==    by 0x10777DB: __zend_malloc (zend_alloc.c:2811)
==4136==    by 0x1071F6D: _emalloc_224 (zend_alloc.c:2336)
==4136==    by 0xFFF33E: _php_stream_alloc (streams.c:273)
==4136==    by 0x100D6D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==4136==    by 0x100DA02: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==4136==    by 0x100FC2E: _php_stream_fopen (plain_wrapper.c:1024)
==4136==    by 0x101011D: php_plain_files_stream_opener (plain_wrapper.c:1080)
==4136==    by 0x10067B5: _php_stream_open_wrapper_ex (streams.c:2024)
==4136==    by 0xB7411F: phar_flush (phar.c:3163)
==4136==    by 0xB8A3B5: zim_Phar_setStub (phar_object.c:2962)
==4136==    by 0x11C06FE: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:907)
==4136== 

 

Generated at Sat, 09 Sep 2017 03:10:54 +0000 (14 days ago)

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