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

==12564== Invalid read of size 1
==12564==    at 0xCCA331: php_var_dump (var.c:99)
==12564==    by 0xCCA2A1: php_object_property_dump (var.c:82)
==12564==    by 0xF0D37D: zend_hash_apply_with_arguments (zend_hash.c:701)
==12564==    by 0xCCAC1E: php_var_dump (var.c:146)
==12564==    by 0xCCAF30: zif_var_dump (var.c:183)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==  Address 0x1540dcf4 is 20 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid read of size 1
==12564==    at 0xCCA424: zval_isref_p (zend.h:415)
==12564==    by 0xCCA424: php_var_dump (var.c:104)
==12564==    by 0xCCA2A1: php_object_property_dump (var.c:82)
==12564==    by 0xF0D37D: zend_hash_apply_with_arguments (zend_hash.c:701)
==12564==    by 0xCCAC1E: php_var_dump (var.c:146)
==12564==    by 0xCCAF30: zif_var_dump (var.c:183)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==  Address 0x1540dcf5 is 21 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid read of size 4
==12564==    at 0xECC81B: zval_delref_p (zend.h:411)
==12564==    by 0xECC81B: i_zval_ptr_dtor (zend_execute.h:76)
==12564==    by 0xECC81B: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0C991: zend_hash_destroy (zend_hash.c:548)
==12564==    by 0xF41E9C: zend_object_std_dtor (zend_objects.c:44)
==12564==    by 0xF42600: zend_objects_free_object_storage (zend_objects.c:137)
==12564==    by 0xF51BB6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==12564==    by 0xF51750: zend_objects_store_del_ref (zend_objects_API.c:178)
==12564==    by 0xEEC56F: _zval_dtor_func (zend_variables.c:57)
==12564==    by 0xECC8BD: _zval_dtor (zend_variables.h:35)
==12564==    by 0xECC8BD: i_zval_ptr_dtor (zend_execute.h:79)
==12564==    by 0xECC8BD: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0A1F0: i_zend_hash_bucket_delete (zend_hash.c:182)
==12564==    by 0xF0A1F0: zend_hash_bucket_delete (zend_hash.c:192)
==12564==    by 0xF0D5B0: zend_hash_reverse_apply (zend_hash.c:733)
==12564==    by 0xECB9B4: shutdown_destructors (zend_execute_API.c:214)
==12564==    by 0xEEFE32: zend_call_destructors (zend.c:944)
==12564==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid write of size 4
==12564==    at 0xECC825: zval_delref_p (zend.h:411)
==12564==    by 0xECC825: i_zval_ptr_dtor (zend_execute.h:76)
==12564==    by 0xECC825: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0C991: zend_hash_destroy (zend_hash.c:548)
==12564==    by 0xF41E9C: zend_object_std_dtor (zend_objects.c:44)
==12564==    by 0xF42600: zend_objects_free_object_storage (zend_objects.c:137)
==12564==    by 0xF51BB6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==12564==    by 0xF51750: zend_objects_store_del_ref (zend_objects_API.c:178)
==12564==    by 0xEEC56F: _zval_dtor_func (zend_variables.c:57)
==12564==    by 0xECC8BD: _zval_dtor (zend_variables.h:35)
==12564==    by 0xECC8BD: i_zval_ptr_dtor (zend_execute.h:79)
==12564==    by 0xECC8BD: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0A1F0: i_zend_hash_bucket_delete (zend_hash.c:182)
==12564==    by 0xF0A1F0: zend_hash_bucket_delete (zend_hash.c:192)
==12564==    by 0xF0D5B0: zend_hash_reverse_apply (zend_hash.c:733)
==12564==    by 0xECB9B4: shutdown_destructors (zend_execute_API.c:214)
==12564==    by 0xEEFE32: zend_call_destructors (zend.c:944)
==12564==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid read of size 4
==12564==    at 0xECC82C: zval_delref_p (zend.h:411)
==12564==    by 0xECC82C: i_zval_ptr_dtor (zend_execute.h:76)
==12564==    by 0xECC82C: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0C991: zend_hash_destroy (zend_hash.c:548)
==12564==    by 0xF41E9C: zend_object_std_dtor (zend_objects.c:44)
==12564==    by 0xF42600: zend_objects_free_object_storage (zend_objects.c:137)
==12564==    by 0xF51BB6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==12564==    by 0xF51750: zend_objects_store_del_ref (zend_objects_API.c:178)
==12564==    by 0xEEC56F: _zval_dtor_func (zend_variables.c:57)
==12564==    by 0xECC8BD: _zval_dtor (zend_variables.h:35)
==12564==    by 0xECC8BD: i_zval_ptr_dtor (zend_execute.h:79)
==12564==    by 0xECC8BD: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0A1F0: i_zend_hash_bucket_delete (zend_hash.c:182)
==12564==    by 0xF0A1F0: zend_hash_bucket_delete (zend_hash.c:192)
==12564==    by 0xF0D5B0: zend_hash_reverse_apply (zend_hash.c:733)
==12564==    by 0xECB9B4: shutdown_destructors (zend_execute_API.c:214)
==12564==    by 0xEEFE32: zend_call_destructors (zend.c:944)
==12564==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid read of size 4
==12564==    at 0xECC911: zval_refcount_p (zend.h:399)
==12564==    by 0xECC911: i_zval_ptr_dtor (zend_execute.h:82)
==12564==    by 0xECC911: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0C991: zend_hash_destroy (zend_hash.c:548)
==12564==    by 0xF41E9C: zend_object_std_dtor (zend_objects.c:44)
==12564==    by 0xF42600: zend_objects_free_object_storage (zend_objects.c:137)
==12564==    by 0xF51BB6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==12564==    by 0xF51750: zend_objects_store_del_ref (zend_objects_API.c:178)
==12564==    by 0xEEC56F: _zval_dtor_func (zend_variables.c:57)
==12564==    by 0xECC8BD: _zval_dtor (zend_variables.h:35)
==12564==    by 0xECC8BD: i_zval_ptr_dtor (zend_execute.h:79)
==12564==    by 0xECC8BD: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0A1F0: i_zend_hash_bucket_delete (zend_hash.c:182)
==12564==    by 0xF0A1F0: zend_hash_bucket_delete (zend_hash.c:192)
==12564==    by 0xF0D5B0: zend_hash_reverse_apply (zend_hash.c:733)
==12564==    by 0xECB9B4: shutdown_destructors (zend_execute_API.c:214)
==12564==    by 0xEEFE32: zend_call_destructors (zend.c:944)
==12564==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid write of size 1
==12564==    at 0xECC925: zval_unset_isref_p (zend.h:423)
==12564==    by 0xECC925: i_zval_ptr_dtor (zend_execute.h:83)
==12564==    by 0xECC925: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0C991: zend_hash_destroy (zend_hash.c:548)
==12564==    by 0xF41E9C: zend_object_std_dtor (zend_objects.c:44)
==12564==    by 0xF42600: zend_objects_free_object_storage (zend_objects.c:137)
==12564==    by 0xF51BB6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==12564==    by 0xF51750: zend_objects_store_del_ref (zend_objects_API.c:178)
==12564==    by 0xEEC56F: _zval_dtor_func (zend_variables.c:57)
==12564==    by 0xECC8BD: _zval_dtor (zend_variables.h:35)
==12564==    by 0xECC8BD: i_zval_ptr_dtor (zend_execute.h:79)
==12564==    by 0xECC8BD: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0A1F0: i_zend_hash_bucket_delete (zend_hash.c:182)
==12564==    by 0xF0A1F0: zend_hash_bucket_delete (zend_hash.c:192)
==12564==    by 0xF0D5B0: zend_hash_reverse_apply (zend_hash.c:733)
==12564==    by 0xECB9B4: shutdown_destructors (zend_execute_API.c:214)
==12564==    by 0xEEFE32: zend_call_destructors (zend.c:944)
==12564==  Address 0x1540dcf5 is 21 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid read of size 1
==12564==    at 0xECC947: gc_zval_check_possible_root (zend_gc.h:182)
==12564==    by 0xECC947: i_zval_ptr_dtor (zend_execute.h:86)
==12564==    by 0xECC947: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0C991: zend_hash_destroy (zend_hash.c:548)
==12564==    by 0xF41E9C: zend_object_std_dtor (zend_objects.c:44)
==12564==    by 0xF42600: zend_objects_free_object_storage (zend_objects.c:137)
==12564==    by 0xF51BB6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==12564==    by 0xF51750: zend_objects_store_del_ref (zend_objects_API.c:178)
==12564==    by 0xEEC56F: _zval_dtor_func (zend_variables.c:57)
==12564==    by 0xECC8BD: _zval_dtor (zend_variables.h:35)
==12564==    by 0xECC8BD: i_zval_ptr_dtor (zend_execute.h:79)
==12564==    by 0xECC8BD: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0A1F0: i_zend_hash_bucket_delete (zend_hash.c:182)
==12564==    by 0xF0A1F0: zend_hash_bucket_delete (zend_hash.c:192)
==12564==    by 0xF0D5B0: zend_hash_reverse_apply (zend_hash.c:733)
==12564==    by 0xECB9B4: shutdown_destructors (zend_execute_API.c:214)
==12564==    by 0xEEFE32: zend_call_destructors (zend.c:944)
==12564==  Address 0x1540dcf4 is 20 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 
==12564== Invalid read of size 1
==12564==    at 0xECC965: gc_zval_check_possible_root (zend_gc.h:182)
==12564==    by 0xECC965: i_zval_ptr_dtor (zend_execute.h:86)
==12564==    by 0xECC965: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0C991: zend_hash_destroy (zend_hash.c:548)
==12564==    by 0xF41E9C: zend_object_std_dtor (zend_objects.c:44)
==12564==    by 0xF42600: zend_objects_free_object_storage (zend_objects.c:137)
==12564==    by 0xF51BB6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==12564==    by 0xF51750: zend_objects_store_del_ref (zend_objects_API.c:178)
==12564==    by 0xEEC56F: _zval_dtor_func (zend_variables.c:57)
==12564==    by 0xECC8BD: _zval_dtor (zend_variables.h:35)
==12564==    by 0xECC8BD: i_zval_ptr_dtor (zend_execute.h:79)
==12564==    by 0xECC8BD: _zval_ptr_dtor (zend_execute_API.c:424)
==12564==    by 0xF0A1F0: i_zend_hash_bucket_delete (zend_hash.c:182)
==12564==    by 0xF0A1F0: zend_hash_bucket_delete (zend_hash.c:192)
==12564==    by 0xF0D5B0: zend_hash_reverse_apply (zend_hash.c:733)
==12564==    by 0xECB9B4: shutdown_destructors (zend_execute_API.c:214)
==12564==    by 0xEEFE32: zend_call_destructors (zend.c:944)
==12564==  Address 0x1540dcf4 is 20 bytes inside a block of size 32 free'd
==12564==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12564==    by 0xE9B440: _efree (zend_alloc.c:2437)
==12564==    by 0xF34957: gc_collect_cycles (zend_gc.c:846)
==12564==    by 0xF12816: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564==    by 0xF5D464: execute_ex (zend_vm_execute.h:363)
==12564==    by 0xF5E007: zend_execute (zend_vm_execute.h:388)
==12564==    by 0xEF1B52: zend_execute_scripts (zend.c:1341)
==12564==    by 0xE0E0CD: php_execute_script (main.c:2613)
==12564==    by 0x10AC586: do_cli (php_cli.c:998)
==12564==    by 0x10ADD7F: main (php_cli.c:1382)
==12564==  Block was alloc'd at
==12564==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12564==    by 0xE96877: __zend_malloc (zend_alloc.h:97)
==12564==    by 0xE9B3A8: _emalloc (zend_alloc.c:2427)
==12564==    by 0xCF99C1: process_nested_data (var_unserializer.re:367)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCF9A1F: process_nested_data (var_unserializer.re:369)
==12564==    by 0xCFA326: object_common2 (var_unserializer.re:480)
==12564==    by 0xCFBA91: php_var_unserialize (var_unserializer.re:899)
==12564==    by 0xCDAF29: zif_unserialize (var.c:964)
==12564==    by 0xF5F9DE: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==12564==    by 0xF6B574: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==12564== 

 

Generated at Tue, 11 Jul 2017 12:36:39 +0000 (17 days ago)

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