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.txtG}\E<?php __HALT_COMPILER();',<@)AzGBMB

Report

==8519== Invalid read of size 8
==8519==    at 0xEB914A: _php_stream_free (streams.c:370)
==8519==    by 0x9FABDB: phar_destroy_phar_data (phar.c:252)
==8519==    by 0x9FAD90: phar_archive_delref (phar.c:277)
==8519==    by 0x9FB94F: phar_entry_delref (phar.c:451)
==8519==    by 0x9E8345: phar_stream_close (stream.c:355)
==8519==    by 0xEB9552: _php_stream_free (streams.c:464)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==  Address 0x16559880 is 144 bytes inside a block of size 224 free'd
==8519==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8519==    by 0xF2A91D: _efree (zend_alloc.c:2544)
==8519==    by 0xEB998A: _php_stream_free (streams.c:508)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==    by 0x1219D23: do_cli (php_cli.c:1159)
==8519==    by 0x121A658: main (php_cli.c:1384)
==8519==  Block was alloc'd at
==8519==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8519==    by 0xF2E5A5: __zend_malloc (zend_alloc.c:2937)
==8519==    by 0xF2674B: _emalloc_224 (zend_alloc.c:2457)
==8519==    by 0xEB8E11: _php_stream_alloc (streams.c:276)
==8519==    by 0xEC77D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==8519==    by 0xEC7B12: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==8519==    by 0xEC9D27: _php_stream_fopen (plain_wrapper.c:1054)
==8519==    by 0xECA32D: php_plain_files_stream_opener (plain_wrapper.c:1110)
==8519==    by 0xEC032E: _php_stream_open_wrapper_ex (streams.c:2030)
==8519==    by 0xA0CBAD: phar_flush (phar.c:3187)
==8519==    by 0xA2294E: zim_Phar_setStub (phar_object.c:2905)
==8519==    by 0x11EB49B: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:1265)
==8519==    by 0x11EB49B: execute_ex (zend_vm_execute.h:59892)
==8519== 
==8519== Invalid read of size 4
==8519==    at 0xEB9198: _php_stream_free (streams.c:373)
==8519==    by 0x9FABDB: phar_destroy_phar_data (phar.c:252)
==8519==    by 0x9FAD90: phar_archive_delref (phar.c:277)
==8519==    by 0x9FB94F: phar_entry_delref (phar.c:451)
==8519==    by 0x9E8345: phar_stream_close (stream.c:355)
==8519==    by 0xEB9552: _php_stream_free (streams.c:464)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==  Address 0x16559864 is 116 bytes inside a block of size 224 free'd
==8519==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8519==    by 0xF2A91D: _efree (zend_alloc.c:2544)
==8519==    by 0xEB998A: _php_stream_free (streams.c:508)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==    by 0x1219D23: do_cli (php_cli.c:1159)
==8519==    by 0x121A658: main (php_cli.c:1384)
==8519==  Block was alloc'd at
==8519==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8519==    by 0xF2E5A5: __zend_malloc (zend_alloc.c:2937)
==8519==    by 0xF2674B: _emalloc_224 (zend_alloc.c:2457)
==8519==    by 0xEB8E11: _php_stream_alloc (streams.c:276)
==8519==    by 0xEC77D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==8519==    by 0xEC7B12: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==8519==    by 0xEC9D27: _php_stream_fopen (plain_wrapper.c:1054)
==8519==    by 0xECA32D: php_plain_files_stream_opener (plain_wrapper.c:1110)
==8519==    by 0xEC032E: _php_stream_open_wrapper_ex (streams.c:2030)
==8519==    by 0xA0CBAD: phar_flush (phar.c:3187)
==8519==    by 0xA2294E: zim_Phar_setStub (phar_object.c:2905)
==8519==    by 0x11EB49B: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:1265)
==8519==    by 0x11EB49B: execute_ex (zend_vm_execute.h:59892)
==8519== 
==8519== Invalid read of size 1
==8519==    at 0xEB91BF: _php_stream_free (streams.c:386)
==8519==    by 0x9FABDB: phar_destroy_phar_data (phar.c:252)
==8519==    by 0x9FAD90: phar_archive_delref (phar.c:277)
==8519==    by 0x9FB94F: phar_entry_delref (phar.c:451)
==8519==    by 0x9E8345: phar_stream_close (stream.c:355)
==8519==    by 0xEB9552: _php_stream_free (streams.c:464)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==  Address 0x16559850 is 96 bytes inside a block of size 224 free'd
==8519==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8519==    by 0xF2A91D: _efree (zend_alloc.c:2544)
==8519==    by 0xEB998A: _php_stream_free (streams.c:508)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==    by 0x1219D23: do_cli (php_cli.c:1159)
==8519==    by 0x121A658: main (php_cli.c:1384)
==8519==  Block was alloc'd at
==8519==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8519==    by 0xF2E5A5: __zend_malloc (zend_alloc.c:2937)
==8519==    by 0xF2674B: _emalloc_224 (zend_alloc.c:2457)
==8519==    by 0xEB8E11: _php_stream_alloc (streams.c:276)
==8519==    by 0xEC77D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==8519==    by 0xEC7B12: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==8519==    by 0xEC9D27: _php_stream_fopen (plain_wrapper.c:1054)
==8519==    by 0xECA32D: php_plain_files_stream_opener (plain_wrapper.c:1110)
==8519==    by 0xEC032E: _php_stream_open_wrapper_ex (streams.c:2030)
==8519==    by 0xA0CBAD: phar_flush (phar.c:3187)
==8519==    by 0xA2294E: zim_Phar_setStub (phar_object.c:2905)
==8519==    by 0x11EB49B: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:1265)
==8519==    by 0x11EB49B: execute_ex (zend_vm_execute.h:59892)
==8519== 
==8519== Invalid read of size 1
==8519==    at 0xEB91D2: _php_stream_free (streams.c:388)
==8519==    by 0x9FABDB: phar_destroy_phar_data (phar.c:252)
==8519==    by 0x9FAD90: phar_archive_delref (phar.c:277)
==8519==    by 0x9FB94F: phar_entry_delref (phar.c:451)
==8519==    by 0x9E8345: phar_stream_close (stream.c:355)
==8519==    by 0xEB9552: _php_stream_free (streams.c:464)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==  Address 0x16559850 is 96 bytes inside a block of size 224 free'd
==8519==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==8519==    by 0xF2A91D: _efree (zend_alloc.c:2544)
==8519==    by 0xEB998A: _php_stream_free (streams.c:508)
==8519==    by 0xEBDF52: stream_resource_regular_dtor (streams.c:1590)
==8519==    by 0xFD80D4: zend_resource_dtor (zend_list.c:74)
==8519==    by 0xFD8B82: zend_close_rsrc_list (zend_list.c:230)
==8519==    by 0xF64D8A: shutdown_executor (zend_execute_API.c:263)
==8519==    by 0xF9847F: zend_deactivate (zend.c:1179)
==8519==    by 0xE85C03: php_request_shutdown (main.c:1906)
==8519==    by 0x1219D23: do_cli (php_cli.c:1159)
==8519==    by 0x121A658: main (php_cli.c:1384)
==8519==  Block was alloc'd at
==8519==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==8519==    by 0xF2E5A5: __zend_malloc (zend_alloc.c:2937)
==8519==    by 0xF2674B: _emalloc_224 (zend_alloc.c:2457)
==8519==    by 0xEB8E11: _php_stream_alloc (streams.c:276)
==8519==    by 0xEC77D4: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==8519==    by 0xEC7B12: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==8519==    by 0xEC9D27: _php_stream_fopen (plain_wrapper.c:1054)
==8519==    by 0xECA32D: php_plain_files_stream_opener (plain_wrapper.c:1110)
==8519==    by 0xEC032E: _php_stream_open_wrapper_ex (streams.c:2030)
==8519==    by 0xA0CBAD: phar_flush (phar.c:3187)
==8519==    by 0xA2294E: zim_Phar_setStub (phar_object.c:2905)
==8519==    by 0x11EB49B: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:1265)
==8519==    by 0x11EB49B: execute_ex (zend_vm_execute.h:59892)
==8519== 

 

Generated at Tue, 05 Mar 2019 22:11:22 +0000 (12 days ago)

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