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.txt[ZE<?php __HALT_COMPILER();<Iv ^l<|GBMB

Report

==22843== Invalid read of size 8
==22843==    at 0x101F122: _php_stream_free (streams.c:368)
==22843==    by 0xBA7792: phar_destroy_phar_data (phar.c:254)
==22843==    by 0xBA7945: phar_archive_delref (phar.c:279)
==22843==    by 0xBA8483: phar_entry_delref (phar.c:453)
==22843==    by 0xB95936: phar_stream_close (stream.c:356)
==22843==    by 0x101F52A: _php_stream_free (streams.c:462)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==  Address 0x14ee52e0 is 144 bytes inside a block of size 224 free'd
==22843==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==22843==    by 0x10989DD: _efree (zend_alloc.c:2499)
==22843==    by 0x101F962: _php_stream_free (streams.c:506)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==    by 0x1104B24: zend_deactivate (zend.c:1078)
==22843==    by 0xFED6EF: php_request_shutdown (main.c:1765)
==22843==    by 0x135B642: do_cli (php_cli.c:1178)
==22843==  Block was alloc'd at
==22843==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==22843==    by 0x109C748: __zend_malloc (zend_alloc.c:2884)
==22843==    by 0x1094736: _emalloc_224 (zend_alloc.c:2407)
==22843==    by 0x101EDE6: _php_stream_alloc (streams.c:274)
==22843==    by 0x102D528: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==22843==    by 0x102D856: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==22843==    by 0x102FACC: _php_stream_fopen (plain_wrapper.c:1025)
==22843==    by 0x102FFD5: php_plain_files_stream_opener (plain_wrapper.c:1081)
==22843==    by 0x102633C: _php_stream_open_wrapper_ex (streams.c:2024)
==22843==    by 0xBB8C90: phar_flush (phar.c:3182)
==22843==    by 0xBCF3A1: zim_Phar_setStub (phar_object.c:2962)
==22843==    by 0x11EF185: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:927)
==22843== 
==22843== Invalid read of size 4
==22843==    at 0x101F170: _php_stream_free (streams.c:371)
==22843==    by 0xBA7792: phar_destroy_phar_data (phar.c:254)
==22843==    by 0xBA7945: phar_archive_delref (phar.c:279)
==22843==    by 0xBA8483: phar_entry_delref (phar.c:453)
==22843==    by 0xB95936: phar_stream_close (stream.c:356)
==22843==    by 0x101F52A: _php_stream_free (streams.c:462)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==  Address 0x14ee52c4 is 116 bytes inside a block of size 224 free'd
==22843==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==22843==    by 0x10989DD: _efree (zend_alloc.c:2499)
==22843==    by 0x101F962: _php_stream_free (streams.c:506)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==    by 0x1104B24: zend_deactivate (zend.c:1078)
==22843==    by 0xFED6EF: php_request_shutdown (main.c:1765)
==22843==    by 0x135B642: do_cli (php_cli.c:1178)
==22843==  Block was alloc'd at
==22843==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==22843==    by 0x109C748: __zend_malloc (zend_alloc.c:2884)
==22843==    by 0x1094736: _emalloc_224 (zend_alloc.c:2407)
==22843==    by 0x101EDE6: _php_stream_alloc (streams.c:274)
==22843==    by 0x102D528: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==22843==    by 0x102D856: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==22843==    by 0x102FACC: _php_stream_fopen (plain_wrapper.c:1025)
==22843==    by 0x102FFD5: php_plain_files_stream_opener (plain_wrapper.c:1081)
==22843==    by 0x102633C: _php_stream_open_wrapper_ex (streams.c:2024)
==22843==    by 0xBB8C90: phar_flush (phar.c:3182)
==22843==    by 0xBCF3A1: zim_Phar_setStub (phar_object.c:2962)
==22843==    by 0x11EF185: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:927)
==22843== 
==22843== Invalid read of size 1
==22843==    at 0x101F197: _php_stream_free (streams.c:384)
==22843==    by 0xBA7792: phar_destroy_phar_data (phar.c:254)
==22843==    by 0xBA7945: phar_archive_delref (phar.c:279)
==22843==    by 0xBA8483: phar_entry_delref (phar.c:453)
==22843==    by 0xB95936: phar_stream_close (stream.c:356)
==22843==    by 0x101F52A: _php_stream_free (streams.c:462)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==  Address 0x14ee52b0 is 96 bytes inside a block of size 224 free'd
==22843==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==22843==    by 0x10989DD: _efree (zend_alloc.c:2499)
==22843==    by 0x101F962: _php_stream_free (streams.c:506)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==    by 0x1104B24: zend_deactivate (zend.c:1078)
==22843==    by 0xFED6EF: php_request_shutdown (main.c:1765)
==22843==    by 0x135B642: do_cli (php_cli.c:1178)
==22843==  Block was alloc'd at
==22843==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==22843==    by 0x109C748: __zend_malloc (zend_alloc.c:2884)
==22843==    by 0x1094736: _emalloc_224 (zend_alloc.c:2407)
==22843==    by 0x101EDE6: _php_stream_alloc (streams.c:274)
==22843==    by 0x102D528: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==22843==    by 0x102D856: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==22843==    by 0x102FACC: _php_stream_fopen (plain_wrapper.c:1025)
==22843==    by 0x102FFD5: php_plain_files_stream_opener (plain_wrapper.c:1081)
==22843==    by 0x102633C: _php_stream_open_wrapper_ex (streams.c:2024)
==22843==    by 0xBB8C90: phar_flush (phar.c:3182)
==22843==    by 0xBCF3A1: zim_Phar_setStub (phar_object.c:2962)
==22843==    by 0x11EF185: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:927)
==22843== 
==22843== Invalid read of size 1
==22843==    at 0x101F1AA: _php_stream_free (streams.c:386)
==22843==    by 0xBA7792: phar_destroy_phar_data (phar.c:254)
==22843==    by 0xBA7945: phar_archive_delref (phar.c:279)
==22843==    by 0xBA8483: phar_entry_delref (phar.c:453)
==22843==    by 0xB95936: phar_stream_close (stream.c:356)
==22843==    by 0x101F52A: _php_stream_free (streams.c:462)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==  Address 0x14ee52b0 is 96 bytes inside a block of size 224 free'd
==22843==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==22843==    by 0x10989DD: _efree (zend_alloc.c:2499)
==22843==    by 0x101F962: _php_stream_free (streams.c:506)
==22843==    by 0x1024038: stream_resource_regular_dtor (streams.c:1586)
==22843==    by 0x11496B3: zend_resource_dtor (zend_list.c:76)
==22843==    by 0x114A0BB: zend_close_rsrc (zend_list.c:230)
==22843==    by 0x113EDCA: zend_hash_reverse_apply (zend_hash.c:1664)
==22843==    by 0x114A105: zend_close_rsrc_list (zend_list.c:238)
==22843==    by 0x10CF998: shutdown_executor (zend_execute_API.c:262)
==22843==    by 0x1104B24: zend_deactivate (zend.c:1078)
==22843==    by 0xFED6EF: php_request_shutdown (main.c:1765)
==22843==    by 0x135B642: do_cli (php_cli.c:1178)
==22843==  Block was alloc'd at
==22843==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==22843==    by 0x109C748: __zend_malloc (zend_alloc.c:2884)
==22843==    by 0x1094736: _emalloc_224 (zend_alloc.c:2407)
==22843==    by 0x101EDE6: _php_stream_alloc (streams.c:274)
==22843==    by 0x102D528: _php_stream_fopen_from_fd_int (plain_wrapper.c:186)
==22843==    by 0x102D856: _php_stream_fopen_from_fd (plain_wrapper.c:248)
==22843==    by 0x102FACC: _php_stream_fopen (plain_wrapper.c:1025)
==22843==    by 0x102FFD5: php_plain_files_stream_opener (plain_wrapper.c:1081)
==22843==    by 0x102633C: _php_stream_open_wrapper_ex (streams.c:2024)
==22843==    by 0xBB8C90: phar_flush (phar.c:3182)
==22843==    by 0xBCF3A1: zim_Phar_setStub (phar_object.c:2962)
==22843==    by 0x11EF185: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:927)
==22843== 

 

Generated at Mon, 15 Jan 2018 23:48:43 +0000 (7 days ago)

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