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.txtsҚ[E<?php __HALT_COMPILER();"fJP)GBMB

Report

==25555== Invalid read of size 8
==25555==    at 0x109A89A: _php_stream_free (streams.c:366)
==25555==    by 0xBBB764: phar_destroy_phar_data (phar.c:252)
==25555==    by 0xBBB919: phar_archive_delref (phar.c:277)
==25555==    by 0xBBC4D8: phar_entry_delref (phar.c:451)
==25555==    by 0xBA915B: phar_stream_close (stream.c:355)
==25555==    by 0x109ACA2: _php_stream_free (streams.c:460)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==  Address 0x14f3b000 is 144 bytes inside a block of size 224 free'd
==25555==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==25555==    by 0x110BD8E: _efree (zend_alloc.c:2508)
==25555==    by 0x109B0DA: _php_stream_free (streams.c:504)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==    by 0x1178F2F: zend_deactivate (zend.c:1104)
==25555==    by 0x1067381: php_request_shutdown (main.c:1938)
==25555==    by 0x13C832F: do_cli (php_cli.c:1164)
==25555==  Block was alloc'd at
==25555==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==25555==    by 0x110FA71: __zend_malloc (zend_alloc.c:2900)
==25555==    by 0x1107B34: _emalloc_224 (zend_alloc.c:2421)
==25555==    by 0x109A561: _php_stream_alloc (streams.c:272)
==25555==    by 0x10A8F0E: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==25555==    by 0x10A924C: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==25555==    by 0x10AB461: _php_stream_fopen (plain_wrapper.c:1054)
==25555==    by 0x10ABA67: php_plain_files_stream_opener (plain_wrapper.c:1110)
==25555==    by 0x10A1A68: _php_stream_open_wrapper_ex (streams.c:2024)
==25555==    by 0xBCCEAF: phar_flush (phar.c:3175)
==25555==    by 0xBE3088: zim_Phar_setStub (phar_object.c:2905)
==25555==    by 0x139BFE6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==25555==    by 0x139BFE6: execute_ex (zend_vm_execute.h:55369)
==25555== 
==25555== Invalid read of size 4
==25555==    at 0x109A8E8: _php_stream_free (streams.c:369)
==25555==    by 0xBBB764: phar_destroy_phar_data (phar.c:252)
==25555==    by 0xBBB919: phar_archive_delref (phar.c:277)
==25555==    by 0xBBC4D8: phar_entry_delref (phar.c:451)
==25555==    by 0xBA915B: phar_stream_close (stream.c:355)
==25555==    by 0x109ACA2: _php_stream_free (streams.c:460)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==  Address 0x14f3afe4 is 116 bytes inside a block of size 224 free'd
==25555==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==25555==    by 0x110BD8E: _efree (zend_alloc.c:2508)
==25555==    by 0x109B0DA: _php_stream_free (streams.c:504)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==    by 0x1178F2F: zend_deactivate (zend.c:1104)
==25555==    by 0x1067381: php_request_shutdown (main.c:1938)
==25555==    by 0x13C832F: do_cli (php_cli.c:1164)
==25555==  Block was alloc'd at
==25555==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==25555==    by 0x110FA71: __zend_malloc (zend_alloc.c:2900)
==25555==    by 0x1107B34: _emalloc_224 (zend_alloc.c:2421)
==25555==    by 0x109A561: _php_stream_alloc (streams.c:272)
==25555==    by 0x10A8F0E: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==25555==    by 0x10A924C: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==25555==    by 0x10AB461: _php_stream_fopen (plain_wrapper.c:1054)
==25555==    by 0x10ABA67: php_plain_files_stream_opener (plain_wrapper.c:1110)
==25555==    by 0x10A1A68: _php_stream_open_wrapper_ex (streams.c:2024)
==25555==    by 0xBCCEAF: phar_flush (phar.c:3175)
==25555==    by 0xBE3088: zim_Phar_setStub (phar_object.c:2905)
==25555==    by 0x139BFE6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==25555==    by 0x139BFE6: execute_ex (zend_vm_execute.h:55369)
==25555== 
==25555== Invalid read of size 1
==25555==    at 0x109A90F: _php_stream_free (streams.c:382)
==25555==    by 0xBBB764: phar_destroy_phar_data (phar.c:252)
==25555==    by 0xBBB919: phar_archive_delref (phar.c:277)
==25555==    by 0xBBC4D8: phar_entry_delref (phar.c:451)
==25555==    by 0xBA915B: phar_stream_close (stream.c:355)
==25555==    by 0x109ACA2: _php_stream_free (streams.c:460)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==  Address 0x14f3afd0 is 96 bytes inside a block of size 224 free'd
==25555==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==25555==    by 0x110BD8E: _efree (zend_alloc.c:2508)
==25555==    by 0x109B0DA: _php_stream_free (streams.c:504)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==    by 0x1178F2F: zend_deactivate (zend.c:1104)
==25555==    by 0x1067381: php_request_shutdown (main.c:1938)
==25555==    by 0x13C832F: do_cli (php_cli.c:1164)
==25555==  Block was alloc'd at
==25555==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==25555==    by 0x110FA71: __zend_malloc (zend_alloc.c:2900)
==25555==    by 0x1107B34: _emalloc_224 (zend_alloc.c:2421)
==25555==    by 0x109A561: _php_stream_alloc (streams.c:272)
==25555==    by 0x10A8F0E: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==25555==    by 0x10A924C: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==25555==    by 0x10AB461: _php_stream_fopen (plain_wrapper.c:1054)
==25555==    by 0x10ABA67: php_plain_files_stream_opener (plain_wrapper.c:1110)
==25555==    by 0x10A1A68: _php_stream_open_wrapper_ex (streams.c:2024)
==25555==    by 0xBCCEAF: phar_flush (phar.c:3175)
==25555==    by 0xBE3088: zim_Phar_setStub (phar_object.c:2905)
==25555==    by 0x139BFE6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==25555==    by 0x139BFE6: execute_ex (zend_vm_execute.h:55369)
==25555== 
==25555== Invalid read of size 1
==25555==    at 0x109A922: _php_stream_free (streams.c:384)
==25555==    by 0xBBB764: phar_destroy_phar_data (phar.c:252)
==25555==    by 0xBBB919: phar_archive_delref (phar.c:277)
==25555==    by 0xBBC4D8: phar_entry_delref (phar.c:451)
==25555==    by 0xBA915B: phar_stream_close (stream.c:355)
==25555==    by 0x109ACA2: _php_stream_free (streams.c:460)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==  Address 0x14f3afd0 is 96 bytes inside a block of size 224 free'd
==25555==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==25555==    by 0x110BD8E: _efree (zend_alloc.c:2508)
==25555==    by 0x109B0DA: _php_stream_free (streams.c:504)
==25555==    by 0x109F6A2: stream_resource_regular_dtor (streams.c:1586)
==25555==    by 0x11B912E: zend_resource_dtor (zend_list.c:74)
==25555==    by 0x11B9B55: zend_close_rsrc (zend_list.c:228)
==25555==    by 0x11AE8B5: zend_hash_reverse_apply (zend_hash.c:1834)
==25555==    by 0x11B9BA1: zend_close_rsrc_list (zend_list.c:236)
==25555==    by 0x1146C7D: shutdown_executor (zend_execute_API.c:265)
==25555==    by 0x1178F2F: zend_deactivate (zend.c:1104)
==25555==    by 0x1067381: php_request_shutdown (main.c:1938)
==25555==    by 0x13C832F: do_cli (php_cli.c:1164)
==25555==  Block was alloc'd at
==25555==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==25555==    by 0x110FA71: __zend_malloc (zend_alloc.c:2900)
==25555==    by 0x1107B34: _emalloc_224 (zend_alloc.c:2421)
==25555==    by 0x109A561: _php_stream_alloc (streams.c:272)
==25555==    by 0x10A8F0E: _php_stream_fopen_from_fd_int (plain_wrapper.c:184)
==25555==    by 0x10A924C: _php_stream_fopen_from_fd (plain_wrapper.c:246)
==25555==    by 0x10AB461: _php_stream_fopen (plain_wrapper.c:1054)
==25555==    by 0x10ABA67: php_plain_files_stream_opener (plain_wrapper.c:1110)
==25555==    by 0x10A1A68: _php_stream_open_wrapper_ex (streams.c:2024)
==25555==    by 0xBCCEAF: phar_flush (phar.c:3175)
==25555==    by 0xBE3088: zim_Phar_setStub (phar_object.c:2905)
==25555==    by 0x139BFE6: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:980)
==25555==    by 0x139BFE6: execute_ex (zend_vm_execute.h:55369)
==25555== 

 

Generated at Sat, 15 Sep 2018 00:36:54 +0000 (11 days ago)

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