Skip to content

Instantly share code, notes, and snippets.

@sjinks
Last active May 5, 2018 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjinks/c8d676d7aaf5c0e8db55755cef4e1865 to your computer and use it in GitHub Desktop.
Save sjinks/c8d676d7aaf5c0e8db55755cef4e1865 to your computer and use it in GitHub Desktop.
Memory corruption in PHP
<?php
class Body
{
private $r;
public function __construct($x)
{
$this->r = $x;
}
}
class Pimple_Container implements ArrayAccess
{
private $values = [];
private $raw = [];
public function offsetGet($id)
{
$raw = $this->values[$id];
$this->values[$id] = $raw($this);
$this->raw[$id] = $raw;
return $this->values[$id];
}
public function offsetSet($id, $val)
{
$this->values[$id] = $val;
}
public function offsetUnset($id) {}
public function offsetExists($id) {}
}
class Container extends Pimple_Container
{
public function __construct()
{
$this['body'] = function($c) {
return new Body(fopen('php://temp', 'r+'));
};
}
public function get($id)
{
return $this[$id];
}
}
$c = new Container();
$response = $c['body'];
==12639== Memcheck, a memory error detector
==12639== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==12639== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==12639== Command: /home/volodymyr/.phpenv/versions/7.1.13-zts-debug/bin/php test.php
==12639==
==12639== Invalid read of size 4
==12639== at 0xA2EB30: gc_mark_grey (zend_gc.c:517)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid write of size 4
==12639== at 0xA2EB39: gc_mark_grey (zend_gc.c:517)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 2
==12639== at 0xA2E947: gc_mark_grey (zend_gc.c:483)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d76 is 6 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 2
==12639== at 0xA2E96B: gc_mark_grey (zend_gc.c:486)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d76 is 6 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid write of size 2
==12639== at 0xA2E97C: gc_mark_grey (zend_gc.c:486)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d76 is 6 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 1
==12639== at 0xA2E984: gc_mark_grey (zend_gc.c:488)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d74 is 4 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 1
==12639== at 0xA2EB4A: gc_mark_grey (zend_gc.c:523)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d74 is 4 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 1
==12639== at 0xA2EBB9: gc_mark_grey (zend_gc.c:530)
==12639== by 0xA2EEF2: gc_mark_roots (zend_gc.c:598)
==12639== by 0xA30A25: zend_gc_collect_cycles (zend_gc.c:1072)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d74 is 4 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 2
==12639== at 0xA2EF5A: gc_scan (zend_gc.c:611)
==12639== by 0xA2F37B: gc_scan_roots (zend_gc.c:706)
==12639== by 0xA30A2A: zend_gc_collect_cycles (zend_gc.c:1074)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d76 is 6 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 4
==12639== at 0xA2EF76: gc_scan (zend_gc.c:612)
==12639== by 0xA2F37B: gc_scan_roots (zend_gc.c:706)
==12639== by 0xA30A2A: zend_gc_collect_cycles (zend_gc.c:1074)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 2
==12639== at 0xA2E4E2: gc_scan_black (zend_gc.c:376)
==12639== by 0xA2EF87: gc_scan (zend_gc.c:613)
==12639== by 0xA2F37B: gc_scan_roots (zend_gc.c:706)
==12639== by 0xA30A2A: zend_gc_collect_cycles (zend_gc.c:1074)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d76 is 6 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid write of size 2
==12639== at 0xA2E4F0: gc_scan_black (zend_gc.c:376)
==12639== by 0xA2EF87: gc_scan (zend_gc.c:613)
==12639== by 0xA2F37B: gc_scan_roots (zend_gc.c:706)
==12639== by 0xA30A2A: zend_gc_collect_cycles (zend_gc.c:1074)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d76 is 6 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 1
==12639== at 0xA2E4F8: gc_scan_black (zend_gc.c:378)
==12639== by 0xA2EF87: gc_scan (zend_gc.c:613)
==12639== by 0xA2F37B: gc_scan_roots (zend_gc.c:706)
==12639== by 0xA30A2A: zend_gc_collect_cycles (zend_gc.c:1074)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d74 is 4 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 1
==12639== at 0xA2E6F0: gc_scan_black (zend_gc.c:418)
==12639== by 0xA2EF87: gc_scan (zend_gc.c:613)
==12639== by 0xA2F37B: gc_scan_roots (zend_gc.c:706)
==12639== by 0xA30A2A: zend_gc_collect_cycles (zend_gc.c:1074)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d74 is 4 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 1
==12639== at 0xA2E745: gc_scan_black (zend_gc.c:424)
==12639== by 0xA2EF87: gc_scan (zend_gc.c:613)
==12639== by 0xA2F37B: gc_scan_roots (zend_gc.c:706)
==12639== by 0xA30A2A: zend_gc_collect_cycles (zend_gc.c:1074)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d74 is 4 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 4
==12639== at 0xA2FBA7: gc_collect_white (zend_gc.c:827)
==12639== by 0xA2FF2F: gc_collect_roots (zend_gc.c:920)
==12639== by 0xA30A70: zend_gc_collect_cycles (zend_gc.c:1083)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid write of size 4
==12639== at 0xA2FBB0: gc_collect_white (zend_gc.c:827)
==12639== by 0xA2FF2F: gc_collect_roots (zend_gc.c:920)
==12639== by 0xA30A70: zend_gc_collect_cycles (zend_gc.c:1083)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 2
==12639== at 0xA2F90C: gc_collect_white (zend_gc.c:769)
==12639== by 0xA2FF2F: gc_collect_roots (zend_gc.c:920)
==12639== by 0xA30A70: zend_gc_collect_cycles (zend_gc.c:1083)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d76 is 6 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 4
==12639== at 0xA46AEC: zval_delref_p (zend_types.h:838)
==12639== by 0xA46DD9: i_zval_ptr_dtor (zend_variables.h:47)
==12639== by 0xA46FD0: zend_object_std_dtor (zend_objects.c:68)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0xA0673F: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0xA0AC9D: zend_array_destroy (zend_hash.c:1309)
==12639== by 0x9ED1B7: _zval_dtor_func (zend_variables.c:43)
==12639== by 0xA46DF6: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0xA46FD0: zend_object_std_dtor (zend_objects.c:68)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0x9D0820: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0x9D3EB7: _zval_ptr_dtor (zend_execute_API.c:550)
==12639== by 0xA330C4: zend_closure_free_storage (zend_closures.c:454)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0x9ED0EC: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0x9ED85D: _zval_ptr_dtor_wrapper (zend_variables.c:205)
==12639== by 0xA0A9E1: zend_hash_destroy (zend_hash.c:1246)
==12639== by 0xA312AC: zend_gc_collect_cycles (zend_gc.c:1187)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid write of size 4
==12639== at 0xA46AF1: zval_delref_p (zend_types.h:838)
==12639== by 0xA46DD9: i_zval_ptr_dtor (zend_variables.h:47)
==12639== by 0xA46FD0: zend_object_std_dtor (zend_objects.c:68)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0xA0673F: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0xA0AC9D: zend_array_destroy (zend_hash.c:1309)
==12639== by 0x9ED1B7: _zval_dtor_func (zend_variables.c:43)
==12639== by 0xA46DF6: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0xA46FD0: zend_object_std_dtor (zend_objects.c:68)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0x9D0820: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0x9D3EB7: _zval_ptr_dtor (zend_execute_API.c:550)
==12639== by 0xA330C4: zend_closure_free_storage (zend_closures.c:454)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0x9ED0EC: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0x9ED85D: _zval_ptr_dtor_wrapper (zend_variables.c:205)
==12639== by 0xA0A9E1: zend_hash_destroy (zend_hash.c:1246)
==12639== by 0xA312AC: zend_gc_collect_cycles (zend_gc.c:1187)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639== Invalid read of size 4
==12639== at 0xA46AF3: zval_delref_p (zend_types.h:838)
==12639== by 0xA46DD9: i_zval_ptr_dtor (zend_variables.h:47)
==12639== by 0xA46FD0: zend_object_std_dtor (zend_objects.c:68)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0xA0673F: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0xA0AC9D: zend_array_destroy (zend_hash.c:1309)
==12639== by 0x9ED1B7: _zval_dtor_func (zend_variables.c:43)
==12639== by 0xA46DF6: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0xA46FD0: zend_object_std_dtor (zend_objects.c:68)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0x9D0820: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0x9D3EB7: _zval_ptr_dtor (zend_execute_API.c:550)
==12639== by 0xA330C4: zend_closure_free_storage (zend_closures.c:454)
==12639== by 0xA4F358: zend_objects_store_del (zend_objects_API.c:178)
==12639== by 0x9ED20D: _zval_dtor_func (zend_variables.c:56)
==12639== by 0x9ED0EC: i_zval_ptr_dtor (zend_variables.h:48)
==12639== by 0x9ED85D: _zval_ptr_dtor_wrapper (zend_variables.c:205)
==12639== by 0xA0A9E1: zend_hash_destroy (zend_hash.c:1246)
==12639== by 0xA312AC: zend_gc_collect_cycles (zend_gc.c:1187)
==12639== by 0x9D30C8: shutdown_executor (zend_execute_API.c:358)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Address 0x10c38d70 is 0 bytes inside a block of size 24 free'd
==12639== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AD66C: _efree (zend_alloc.c:2444)
==12639== by 0xA0E72D: list_entry_destructor (zend_list.c:189)
==12639== by 0xA0A026: _zend_hash_del_el_ex (zend_hash.c:997)
==12639== by 0xA0A81A: zend_hash_index_del (zend_hash.c:1198)
==12639== by 0xA0E1A6: zend_list_delete (zend_list.c:50)
==12639== by 0x94E383: _php_stream_free (streams.c:449)
==12639== by 0x94E2CA: _php_stream_free (streams.c:410)
==12639== by 0x951232: stream_resource_regular_dtor (streams.c:1619)
==12639== by 0xA0E2AB: zend_resource_dtor (zend_list.c:76)
==12639== by 0xA0E8CA: zend_close_rsrc (zend_list.c:230)
==12639== by 0xA0B9CE: zend_hash_reverse_apply (zend_hash.c:1598)
==12639== by 0xA0E8F0: zend_close_rsrc_list (zend_list.c:238)
==12639== by 0x9D300F: shutdown_executor (zend_execute_API.c:353)
==12639== by 0x9F0CC9: zend_deactivate (zend.c:1005)
==12639== by 0x928227: php_request_shutdown (main.c:1902)
==12639== by 0xAF2031: do_cli (php_cli.c:1160)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639== Block was alloc'd at
==12639== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12639== by 0x9AE745: __zend_malloc (zend_alloc.c:2838)
==12639== by 0x9AD4F1: _emalloc (zend_alloc.c:2429)
==12639== by 0xA0E06C: zend_list_insert (zend_list.c:43)
==12639== by 0xA0E341: zend_register_resource (zend_list.c:98)
==12639== by 0x94E042: _php_stream_alloc (streams.c:310)
==12639== by 0x955726: _php_stream_temp_create_ex (memory.c:579)
==12639== by 0x9557F2: _php_stream_temp_create (memory.c:591)
==12639== by 0x80D195: php_stream_url_wrap_php (php_fopen_wrapper.c:211)
==12639== by 0x952C5F: _php_stream_open_wrapper_ex (streams.c:2055)
==12639== by 0x7AAF7A: php_if_fopen (file.c:870)
==12639== by 0x67008C: phar_fopen (func_interceptors.c:427)
==12639== by 0xA621A4: ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (zend_vm_execute.h:675)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0x9D58E2: zend_call_function (zend_execute_API.c:855)
==12639== by 0xA200AD: zend_call_method (zend_interfaces.c:99)
==12639== by 0xA4B2B8: zend_std_read_dimension (zend_object_handlers.c:819)
==12639== by 0xA5E2FC: zend_fetch_dimension_address_read (zend_execute.c:1873)
==12639== by 0xA5E59C: zend_fetch_dimension_address_read_R_slow (zend_execute.c:1902)
==12639== by 0xABA743: ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:38121)
==12639== by 0xA614CB: execute_ex (zend_vm_execute.h:429)
==12639== by 0xA616CC: zend_execute (zend_vm_execute.h:474)
==12639== by 0x9F2C53: zend_execute_scripts (zend.c:1482)
==12639== by 0x929E6A: php_execute_script (main.c:2577)
==12639== by 0xAF1541: do_cli (php_cli.c:993)
==12639== by 0xAF29EE: main (php_cli.c:1381)
==12639==
==12639==
==12639== HEAP SUMMARY:
==12639== in use at exit: 3,916 bytes in 37 blocks
==12639== total heap usage: 35,937 allocs, 35,900 frees, 4,187,437 bytes allocated
==12639==
==12639== LEAK SUMMARY:
==12639== definitely lost: 0 bytes in 0 blocks
==12639== indirectly lost: 0 bytes in 0 blocks
==12639== possibly lost: 0 bytes in 0 blocks
==12639== still reachable: 3,916 bytes in 37 blocks
==12639== suppressed: 0 bytes in 0 blocks
==12639== Rerun with --leak-check=full to see details of leaked memory
==12639==
==12639== For counts of detected and suppressed errors, rerun with: -v
==12639== ERROR SUMMARY: 23 errors from 21 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment