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

==2879== Invalid read of size 1
==2879==    at 0xCA5349: php_var_dump (var.c:99)
==2879==    by 0xCA52B9: php_object_property_dump (var.c:82)
==2879==    by 0xEDDD4D: zend_hash_apply_with_arguments (zend_hash.c:701)
==2879==    by 0xCA5C36: php_var_dump (var.c:146)
==2879==    by 0xCA5F48: zif_var_dump (var.c:183)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==  Address 0x153e8ba4 is 20 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid read of size 1
==2879==    at 0xCA543C: zval_isref_p (zend.h:415)
==2879==    by 0xCA543C: php_var_dump (var.c:104)
==2879==    by 0xCA52B9: php_object_property_dump (var.c:82)
==2879==    by 0xEDDD4D: zend_hash_apply_with_arguments (zend_hash.c:701)
==2879==    by 0xCA5C36: php_var_dump (var.c:146)
==2879==    by 0xCA5F48: zif_var_dump (var.c:183)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==  Address 0x153e8ba5 is 21 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid read of size 4
==2879==    at 0xE9D8D3: zval_delref_p (zend.h:411)
==2879==    by 0xE9D8D3: i_zval_ptr_dtor (zend_execute.h:76)
==2879==    by 0xE9D8D3: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDD361: zend_hash_destroy (zend_hash.c:548)
==2879==    by 0xF12A74: zend_object_std_dtor (zend_objects.c:44)
==2879==    by 0xF131D8: zend_objects_free_object_storage (zend_objects.c:137)
==2879==    by 0xF226F6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2879==    by 0xF22290: zend_objects_store_del_ref (zend_objects_API.c:178)
==2879==    by 0xEBD56F: _zval_dtor_func (zend_variables.c:57)
==2879==    by 0xE9D975: _zval_dtor (zend_variables.h:35)
==2879==    by 0xE9D975: i_zval_ptr_dtor (zend_execute.h:79)
==2879==    by 0xE9D975: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDABC0: i_zend_hash_bucket_delete (zend_hash.c:182)
==2879==    by 0xEDABC0: zend_hash_bucket_delete (zend_hash.c:192)
==2879==    by 0xEDDF80: zend_hash_reverse_apply (zend_hash.c:733)
==2879==    by 0xE9CA6C: shutdown_destructors (zend_execute_API.c:214)
==2879==    by 0xEC0E32: zend_call_destructors (zend.c:944)
==2879==  Address 0x153e8ba0 is 16 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid write of size 4
==2879==    at 0xE9D8DD: zval_delref_p (zend.h:411)
==2879==    by 0xE9D8DD: i_zval_ptr_dtor (zend_execute.h:76)
==2879==    by 0xE9D8DD: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDD361: zend_hash_destroy (zend_hash.c:548)
==2879==    by 0xF12A74: zend_object_std_dtor (zend_objects.c:44)
==2879==    by 0xF131D8: zend_objects_free_object_storage (zend_objects.c:137)
==2879==    by 0xF226F6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2879==    by 0xF22290: zend_objects_store_del_ref (zend_objects_API.c:178)
==2879==    by 0xEBD56F: _zval_dtor_func (zend_variables.c:57)
==2879==    by 0xE9D975: _zval_dtor (zend_variables.h:35)
==2879==    by 0xE9D975: i_zval_ptr_dtor (zend_execute.h:79)
==2879==    by 0xE9D975: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDABC0: i_zend_hash_bucket_delete (zend_hash.c:182)
==2879==    by 0xEDABC0: zend_hash_bucket_delete (zend_hash.c:192)
==2879==    by 0xEDDF80: zend_hash_reverse_apply (zend_hash.c:733)
==2879==    by 0xE9CA6C: shutdown_destructors (zend_execute_API.c:214)
==2879==    by 0xEC0E32: zend_call_destructors (zend.c:944)
==2879==  Address 0x153e8ba0 is 16 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid read of size 4
==2879==    at 0xE9D8E4: zval_delref_p (zend.h:411)
==2879==    by 0xE9D8E4: i_zval_ptr_dtor (zend_execute.h:76)
==2879==    by 0xE9D8E4: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDD361: zend_hash_destroy (zend_hash.c:548)
==2879==    by 0xF12A74: zend_object_std_dtor (zend_objects.c:44)
==2879==    by 0xF131D8: zend_objects_free_object_storage (zend_objects.c:137)
==2879==    by 0xF226F6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2879==    by 0xF22290: zend_objects_store_del_ref (zend_objects_API.c:178)
==2879==    by 0xEBD56F: _zval_dtor_func (zend_variables.c:57)
==2879==    by 0xE9D975: _zval_dtor (zend_variables.h:35)
==2879==    by 0xE9D975: i_zval_ptr_dtor (zend_execute.h:79)
==2879==    by 0xE9D975: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDABC0: i_zend_hash_bucket_delete (zend_hash.c:182)
==2879==    by 0xEDABC0: zend_hash_bucket_delete (zend_hash.c:192)
==2879==    by 0xEDDF80: zend_hash_reverse_apply (zend_hash.c:733)
==2879==    by 0xE9CA6C: shutdown_destructors (zend_execute_API.c:214)
==2879==    by 0xEC0E32: zend_call_destructors (zend.c:944)
==2879==  Address 0x153e8ba0 is 16 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid read of size 4
==2879==    at 0xE9D9C9: zval_refcount_p (zend.h:399)
==2879==    by 0xE9D9C9: i_zval_ptr_dtor (zend_execute.h:82)
==2879==    by 0xE9D9C9: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDD361: zend_hash_destroy (zend_hash.c:548)
==2879==    by 0xF12A74: zend_object_std_dtor (zend_objects.c:44)
==2879==    by 0xF131D8: zend_objects_free_object_storage (zend_objects.c:137)
==2879==    by 0xF226F6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2879==    by 0xF22290: zend_objects_store_del_ref (zend_objects_API.c:178)
==2879==    by 0xEBD56F: _zval_dtor_func (zend_variables.c:57)
==2879==    by 0xE9D975: _zval_dtor (zend_variables.h:35)
==2879==    by 0xE9D975: i_zval_ptr_dtor (zend_execute.h:79)
==2879==    by 0xE9D975: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDABC0: i_zend_hash_bucket_delete (zend_hash.c:182)
==2879==    by 0xEDABC0: zend_hash_bucket_delete (zend_hash.c:192)
==2879==    by 0xEDDF80: zend_hash_reverse_apply (zend_hash.c:733)
==2879==    by 0xE9CA6C: shutdown_destructors (zend_execute_API.c:214)
==2879==    by 0xEC0E32: zend_call_destructors (zend.c:944)
==2879==  Address 0x153e8ba0 is 16 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid write of size 1
==2879==    at 0xE9D9DD: zval_unset_isref_p (zend.h:423)
==2879==    by 0xE9D9DD: i_zval_ptr_dtor (zend_execute.h:83)
==2879==    by 0xE9D9DD: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDD361: zend_hash_destroy (zend_hash.c:548)
==2879==    by 0xF12A74: zend_object_std_dtor (zend_objects.c:44)
==2879==    by 0xF131D8: zend_objects_free_object_storage (zend_objects.c:137)
==2879==    by 0xF226F6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2879==    by 0xF22290: zend_objects_store_del_ref (zend_objects_API.c:178)
==2879==    by 0xEBD56F: _zval_dtor_func (zend_variables.c:57)
==2879==    by 0xE9D975: _zval_dtor (zend_variables.h:35)
==2879==    by 0xE9D975: i_zval_ptr_dtor (zend_execute.h:79)
==2879==    by 0xE9D975: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDABC0: i_zend_hash_bucket_delete (zend_hash.c:182)
==2879==    by 0xEDABC0: zend_hash_bucket_delete (zend_hash.c:192)
==2879==    by 0xEDDF80: zend_hash_reverse_apply (zend_hash.c:733)
==2879==    by 0xE9CA6C: shutdown_destructors (zend_execute_API.c:214)
==2879==    by 0xEC0E32: zend_call_destructors (zend.c:944)
==2879==  Address 0x153e8ba5 is 21 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid read of size 1
==2879==    at 0xE9D9FF: gc_zval_check_possible_root (zend_gc.h:182)
==2879==    by 0xE9D9FF: i_zval_ptr_dtor (zend_execute.h:86)
==2879==    by 0xE9D9FF: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDD361: zend_hash_destroy (zend_hash.c:548)
==2879==    by 0xF12A74: zend_object_std_dtor (zend_objects.c:44)
==2879==    by 0xF131D8: zend_objects_free_object_storage (zend_objects.c:137)
==2879==    by 0xF226F6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2879==    by 0xF22290: zend_objects_store_del_ref (zend_objects_API.c:178)
==2879==    by 0xEBD56F: _zval_dtor_func (zend_variables.c:57)
==2879==    by 0xE9D975: _zval_dtor (zend_variables.h:35)
==2879==    by 0xE9D975: i_zval_ptr_dtor (zend_execute.h:79)
==2879==    by 0xE9D975: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDABC0: i_zend_hash_bucket_delete (zend_hash.c:182)
==2879==    by 0xEDABC0: zend_hash_bucket_delete (zend_hash.c:192)
==2879==    by 0xEDDF80: zend_hash_reverse_apply (zend_hash.c:733)
==2879==    by 0xE9CA6C: shutdown_destructors (zend_execute_API.c:214)
==2879==    by 0xEC0E32: zend_call_destructors (zend.c:944)
==2879==  Address 0x153e8ba4 is 20 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 
==2879== Invalid read of size 1
==2879==    at 0xE9DA1D: gc_zval_check_possible_root (zend_gc.h:182)
==2879==    by 0xE9DA1D: i_zval_ptr_dtor (zend_execute.h:86)
==2879==    by 0xE9DA1D: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDD361: zend_hash_destroy (zend_hash.c:548)
==2879==    by 0xF12A74: zend_object_std_dtor (zend_objects.c:44)
==2879==    by 0xF131D8: zend_objects_free_object_storage (zend_objects.c:137)
==2879==    by 0xF226F6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2879==    by 0xF22290: zend_objects_store_del_ref (zend_objects_API.c:178)
==2879==    by 0xEBD56F: _zval_dtor_func (zend_variables.c:57)
==2879==    by 0xE9D975: _zval_dtor (zend_variables.h:35)
==2879==    by 0xE9D975: i_zval_ptr_dtor (zend_execute.h:79)
==2879==    by 0xE9D975: _zval_ptr_dtor (zend_execute_API.c:424)
==2879==    by 0xEDABC0: i_zend_hash_bucket_delete (zend_hash.c:182)
==2879==    by 0xEDABC0: zend_hash_bucket_delete (zend_hash.c:192)
==2879==    by 0xEDDF80: zend_hash_reverse_apply (zend_hash.c:733)
==2879==    by 0xE9CA6C: shutdown_destructors (zend_execute_API.c:214)
==2879==    by 0xEC0E32: zend_call_destructors (zend.c:944)
==2879==  Address 0x153e8ba4 is 20 bytes inside a block of size 32 free'd
==2879==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==2879==    by 0xE6C840: _efree (zend_alloc.c:2437)
==2879==    by 0xF0552B: gc_collect_cycles (zend_gc.c:846)
==2879==    by 0xEE31E6: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879==    by 0xF2EBAD: zend_execute (zend_vm_execute.h:388)
==2879==    by 0xEC2B03: zend_execute_scripts (zend.c:1341)
==2879==    by 0xDE0691: php_execute_script (main.c:2613)
==2879==    by 0x107B28A: do_cli (php_cli.c:994)
==2879==    by 0x107CA37: main (php_cli.c:1378)
==2879==  Block was alloc'd at
==2879==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==2879==    by 0xE6C7A8: _emalloc (zend_alloc.c:2427)
==2879==    by 0xCD0145: process_nested_data (var_unserializer.re:328)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCD01A3: process_nested_data (var_unserializer.re:330)
==2879==    by 0xCD0A24: object_common2 (var_unserializer.re:440)
==2879==    by 0xCD1F4D: php_var_unserialize (var_unserializer.re:831)
==2879==    by 0xCB3713: zif_unserialize (var.c:964)
==2879==    by 0xF30584: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2879==    by 0xF3C11A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2879==    by 0xF2E00A: execute_ex (zend_vm_execute.h:363)
==2879== 

 

Generated at Wed, 29 Jun 2016 10:17:31 +0000 (35 minutes ago)

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