PHP  
 PHP_5_6
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for Zend/tests/bug64896.phpt ('Bug #64896 (Segfault with gc_collect_cycles using unserialize on certain objects)')

Script

1: <?php
2: $bar 
NULL;
3: class 
bad
4:
{
5:     private 
$_private = array();
6:
7:     public function 
__construct()
8:     {
9:         
$this->_private[] = 'php';
10:     }
11:
12:     public function 
__destruct()
13:     {
14:         global 
$bar;
15:         
$bar $this;
16:     }
17: }
18:
19:
$foo = new stdclass;
20:
$foo->foo $foo;
21:
$foo->bad = new bad;
22:
23:
gc_disable();
24:
25:
unserialize(serialize($foo));
26:
gc_collect_cycles();
27:
var_dump($bar); 
28:
/*  will output:
29: object(bad)#4 (1) {
30:   ["_private":"bad":private]=>
31:   &UNKNOWN:0
32: }
33: */
34:
?>
35:

Report

==6265== Invalid read of size 1
==6265==    at 0xCA3E2D: php_var_dump (var.c:99)
==6265==    by 0xCA3D9D: php_object_property_dump (var.c:82)
==6265==    by 0xEDC799: zend_hash_apply_with_arguments (zend_hash.c:701)
==6265==    by 0xCA471A: php_var_dump (var.c:146)
==6265==    by 0xCA4A2C: zif_var_dump (var.c:183)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==  Address 0x153cda14 is 20 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid read of size 1
==6265==    at 0xCA3F20: zval_isref_p (zend.h:415)
==6265==    by 0xCA3F20: php_var_dump (var.c:104)
==6265==    by 0xCA3D9D: php_object_property_dump (var.c:82)
==6265==    by 0xEDC799: zend_hash_apply_with_arguments (zend_hash.c:701)
==6265==    by 0xCA471A: php_var_dump (var.c:146)
==6265==    by 0xCA4A2C: zif_var_dump (var.c:183)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==  Address 0x153cda15 is 21 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid read of size 4
==6265==    at 0xE9C31F: zval_delref_p (zend.h:411)
==6265==    by 0xE9C31F: i_zval_ptr_dtor (zend_execute.h:76)
==6265==    by 0xE9C31F: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xEDBDAD: zend_hash_destroy (zend_hash.c:548)
==6265==    by 0xF114C0: zend_object_std_dtor (zend_objects.c:44)
==6265==    by 0xF11C24: zend_objects_free_object_storage (zend_objects.c:137)
==6265==    by 0xF21142: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==6265==    by 0xF20CDC: zend_objects_store_del_ref (zend_objects_API.c:178)
==6265==    by 0xEBBFBB: _zval_dtor_func (zend_variables.c:57)
==6265==    by 0xE9C3C1: _zval_dtor (zend_variables.h:35)
==6265==    by 0xE9C3C1: i_zval_ptr_dtor (zend_execute.h:79)
==6265==    by 0xE9C3C1: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xED960C: i_zend_hash_bucket_delete (zend_hash.c:182)
==6265==    by 0xED960C: zend_hash_bucket_delete (zend_hash.c:192)
==6265==    by 0xEDC9CC: zend_hash_reverse_apply (zend_hash.c:733)
==6265==    by 0xE9B4B8: shutdown_destructors (zend_execute_API.c:214)
==6265==    by 0xEBF87E: zend_call_destructors (zend.c:944)
==6265==  Address 0x153cda10 is 16 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid write of size 4
==6265==    at 0xE9C329: zval_delref_p (zend.h:411)
==6265==    by 0xE9C329: i_zval_ptr_dtor (zend_execute.h:76)
==6265==    by 0xE9C329: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xEDBDAD: zend_hash_destroy (zend_hash.c:548)
==6265==    by 0xF114C0: zend_object_std_dtor (zend_objects.c:44)
==6265==    by 0xF11C24: zend_objects_free_object_storage (zend_objects.c:137)
==6265==    by 0xF21142: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==6265==    by 0xF20CDC: zend_objects_store_del_ref (zend_objects_API.c:178)
==6265==    by 0xEBBFBB: _zval_dtor_func (zend_variables.c:57)
==6265==    by 0xE9C3C1: _zval_dtor (zend_variables.h:35)
==6265==    by 0xE9C3C1: i_zval_ptr_dtor (zend_execute.h:79)
==6265==    by 0xE9C3C1: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xED960C: i_zend_hash_bucket_delete (zend_hash.c:182)
==6265==    by 0xED960C: zend_hash_bucket_delete (zend_hash.c:192)
==6265==    by 0xEDC9CC: zend_hash_reverse_apply (zend_hash.c:733)
==6265==    by 0xE9B4B8: shutdown_destructors (zend_execute_API.c:214)
==6265==    by 0xEBF87E: zend_call_destructors (zend.c:944)
==6265==  Address 0x153cda10 is 16 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid read of size 4
==6265==    at 0xE9C330: zval_delref_p (zend.h:411)
==6265==    by 0xE9C330: i_zval_ptr_dtor (zend_execute.h:76)
==6265==    by 0xE9C330: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xEDBDAD: zend_hash_destroy (zend_hash.c:548)
==6265==    by 0xF114C0: zend_object_std_dtor (zend_objects.c:44)
==6265==    by 0xF11C24: zend_objects_free_object_storage (zend_objects.c:137)
==6265==    by 0xF21142: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==6265==    by 0xF20CDC: zend_objects_store_del_ref (zend_objects_API.c:178)
==6265==    by 0xEBBFBB: _zval_dtor_func (zend_variables.c:57)
==6265==    by 0xE9C3C1: _zval_dtor (zend_variables.h:35)
==6265==    by 0xE9C3C1: i_zval_ptr_dtor (zend_execute.h:79)
==6265==    by 0xE9C3C1: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xED960C: i_zend_hash_bucket_delete (zend_hash.c:182)
==6265==    by 0xED960C: zend_hash_bucket_delete (zend_hash.c:192)
==6265==    by 0xEDC9CC: zend_hash_reverse_apply (zend_hash.c:733)
==6265==    by 0xE9B4B8: shutdown_destructors (zend_execute_API.c:214)
==6265==    by 0xEBF87E: zend_call_destructors (zend.c:944)
==6265==  Address 0x153cda10 is 16 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid read of size 4
==6265==    at 0xE9C415: zval_refcount_p (zend.h:399)
==6265==    by 0xE9C415: i_zval_ptr_dtor (zend_execute.h:82)
==6265==    by 0xE9C415: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xEDBDAD: zend_hash_destroy (zend_hash.c:548)
==6265==    by 0xF114C0: zend_object_std_dtor (zend_objects.c:44)
==6265==    by 0xF11C24: zend_objects_free_object_storage (zend_objects.c:137)
==6265==    by 0xF21142: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==6265==    by 0xF20CDC: zend_objects_store_del_ref (zend_objects_API.c:178)
==6265==    by 0xEBBFBB: _zval_dtor_func (zend_variables.c:57)
==6265==    by 0xE9C3C1: _zval_dtor (zend_variables.h:35)
==6265==    by 0xE9C3C1: i_zval_ptr_dtor (zend_execute.h:79)
==6265==    by 0xE9C3C1: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xED960C: i_zend_hash_bucket_delete (zend_hash.c:182)
==6265==    by 0xED960C: zend_hash_bucket_delete (zend_hash.c:192)
==6265==    by 0xEDC9CC: zend_hash_reverse_apply (zend_hash.c:733)
==6265==    by 0xE9B4B8: shutdown_destructors (zend_execute_API.c:214)
==6265==    by 0xEBF87E: zend_call_destructors (zend.c:944)
==6265==  Address 0x153cda10 is 16 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid write of size 1
==6265==    at 0xE9C429: zval_unset_isref_p (zend.h:423)
==6265==    by 0xE9C429: i_zval_ptr_dtor (zend_execute.h:83)
==6265==    by 0xE9C429: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xEDBDAD: zend_hash_destroy (zend_hash.c:548)
==6265==    by 0xF114C0: zend_object_std_dtor (zend_objects.c:44)
==6265==    by 0xF11C24: zend_objects_free_object_storage (zend_objects.c:137)
==6265==    by 0xF21142: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==6265==    by 0xF20CDC: zend_objects_store_del_ref (zend_objects_API.c:178)
==6265==    by 0xEBBFBB: _zval_dtor_func (zend_variables.c:57)
==6265==    by 0xE9C3C1: _zval_dtor (zend_variables.h:35)
==6265==    by 0xE9C3C1: i_zval_ptr_dtor (zend_execute.h:79)
==6265==    by 0xE9C3C1: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xED960C: i_zend_hash_bucket_delete (zend_hash.c:182)
==6265==    by 0xED960C: zend_hash_bucket_delete (zend_hash.c:192)
==6265==    by 0xEDC9CC: zend_hash_reverse_apply (zend_hash.c:733)
==6265==    by 0xE9B4B8: shutdown_destructors (zend_execute_API.c:214)
==6265==    by 0xEBF87E: zend_call_destructors (zend.c:944)
==6265==  Address 0x153cda15 is 21 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid read of size 1
==6265==    at 0xE9C44B: gc_zval_check_possible_root (zend_gc.h:182)
==6265==    by 0xE9C44B: i_zval_ptr_dtor (zend_execute.h:86)
==6265==    by 0xE9C44B: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xEDBDAD: zend_hash_destroy (zend_hash.c:548)
==6265==    by 0xF114C0: zend_object_std_dtor (zend_objects.c:44)
==6265==    by 0xF11C24: zend_objects_free_object_storage (zend_objects.c:137)
==6265==    by 0xF21142: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==6265==    by 0xF20CDC: zend_objects_store_del_ref (zend_objects_API.c:178)
==6265==    by 0xEBBFBB: _zval_dtor_func (zend_variables.c:57)
==6265==    by 0xE9C3C1: _zval_dtor (zend_variables.h:35)
==6265==    by 0xE9C3C1: i_zval_ptr_dtor (zend_execute.h:79)
==6265==    by 0xE9C3C1: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xED960C: i_zend_hash_bucket_delete (zend_hash.c:182)
==6265==    by 0xED960C: zend_hash_bucket_delete (zend_hash.c:192)
==6265==    by 0xEDC9CC: zend_hash_reverse_apply (zend_hash.c:733)
==6265==    by 0xE9B4B8: shutdown_destructors (zend_execute_API.c:214)
==6265==    by 0xEBF87E: zend_call_destructors (zend.c:944)
==6265==  Address 0x153cda14 is 20 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 
==6265== Invalid read of size 1
==6265==    at 0xE9C469: gc_zval_check_possible_root (zend_gc.h:182)
==6265==    by 0xE9C469: i_zval_ptr_dtor (zend_execute.h:86)
==6265==    by 0xE9C469: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xEDBDAD: zend_hash_destroy (zend_hash.c:548)
==6265==    by 0xF114C0: zend_object_std_dtor (zend_objects.c:44)
==6265==    by 0xF11C24: zend_objects_free_object_storage (zend_objects.c:137)
==6265==    by 0xF21142: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==6265==    by 0xF20CDC: zend_objects_store_del_ref (zend_objects_API.c:178)
==6265==    by 0xEBBFBB: _zval_dtor_func (zend_variables.c:57)
==6265==    by 0xE9C3C1: _zval_dtor (zend_variables.h:35)
==6265==    by 0xE9C3C1: i_zval_ptr_dtor (zend_execute.h:79)
==6265==    by 0xE9C3C1: _zval_ptr_dtor (zend_execute_API.c:424)
==6265==    by 0xED960C: i_zend_hash_bucket_delete (zend_hash.c:182)
==6265==    by 0xED960C: zend_hash_bucket_delete (zend_hash.c:192)
==6265==    by 0xEDC9CC: zend_hash_reverse_apply (zend_hash.c:733)
==6265==    by 0xE9B4B8: shutdown_destructors (zend_execute_API.c:214)
==6265==    by 0xEBF87E: zend_call_destructors (zend.c:944)
==6265==  Address 0x153cda14 is 20 bytes inside a block of size 32 free'd
==6265==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==6265==    by 0xE6B28C: _efree (zend_alloc.c:2437)
==6265==    by 0xF03F77: gc_collect_cycles (zend_gc.c:846)
==6265==    by 0xEE1C32: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265==    by 0xF2D5F9: zend_execute (zend_vm_execute.h:388)
==6265==    by 0xEC154F: zend_execute_scripts (zend.c:1341)
==6265==    by 0xDDF125: php_execute_script (main.c:2610)
==6265==    by 0x1079CD6: do_cli (php_cli.c:994)
==6265==    by 0x107B483: main (php_cli.c:1378)
==6265==  Block was alloc'd at
==6265==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==6265==    by 0xE6B1F4: _emalloc (zend_alloc.c:2427)
==6265==    by 0xCCEC29: process_nested_data (var_unserializer.re:328)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCCEC87: process_nested_data (var_unserializer.re:330)
==6265==    by 0xCCF508: object_common2 (var_unserializer.re:440)
==6265==    by 0xCD0A31: php_var_unserialize (var_unserializer.re:831)
==6265==    by 0xCB21F7: zif_unserialize (var.c:964)
==6265==    by 0xF2EFD0: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==6265==    by 0xF3AB66: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==6265==    by 0xF2CA56: execute_ex (zend_vm_execute.h:363)
==6265== 

 

Generated at Wed, 03 Feb 2016 02:50:01 +0000 (6 days ago)

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