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

==2820== Invalid read of size 1
==2820==    at 0xCCA999: php_var_dump (var.c:99)
==2820==    by 0xCCA909: php_object_property_dump (var.c:82)
==2820==    by 0xF0DA49: zend_hash_apply_with_arguments (zend_hash.c:701)
==2820==    by 0xCCB286: php_var_dump (var.c:146)
==2820==    by 0xCCB598: zif_var_dump (var.c:183)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==  Address 0x1540dcf4 is 20 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid read of size 1
==2820==    at 0xCCAA8C: zval_isref_p (zend.h:415)
==2820==    by 0xCCAA8C: php_var_dump (var.c:104)
==2820==    by 0xCCA909: php_object_property_dump (var.c:82)
==2820==    by 0xF0DA49: zend_hash_apply_with_arguments (zend_hash.c:701)
==2820==    by 0xCCB286: php_var_dump (var.c:146)
==2820==    by 0xCCB598: zif_var_dump (var.c:183)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==  Address 0x1540dcf5 is 21 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid read of size 4
==2820==    at 0xECCEE7: zval_delref_p (zend.h:411)
==2820==    by 0xECCEE7: i_zval_ptr_dtor (zend_execute.h:76)
==2820==    by 0xECCEE7: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0D05D: zend_hash_destroy (zend_hash.c:548)
==2820==    by 0xF42568: zend_object_std_dtor (zend_objects.c:44)
==2820==    by 0xF42CCC: zend_objects_free_object_storage (zend_objects.c:137)
==2820==    by 0xF52282: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2820==    by 0xF51E1C: zend_objects_store_del_ref (zend_objects_API.c:178)
==2820==    by 0xEECC3B: _zval_dtor_func (zend_variables.c:57)
==2820==    by 0xECCF89: _zval_dtor (zend_variables.h:35)
==2820==    by 0xECCF89: i_zval_ptr_dtor (zend_execute.h:79)
==2820==    by 0xECCF89: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0A8BC: i_zend_hash_bucket_delete (zend_hash.c:182)
==2820==    by 0xF0A8BC: zend_hash_bucket_delete (zend_hash.c:192)
==2820==    by 0xF0DC7C: zend_hash_reverse_apply (zend_hash.c:733)
==2820==    by 0xECC080: shutdown_destructors (zend_execute_API.c:214)
==2820==    by 0xEF04FE: zend_call_destructors (zend.c:944)
==2820==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid write of size 4
==2820==    at 0xECCEF1: zval_delref_p (zend.h:411)
==2820==    by 0xECCEF1: i_zval_ptr_dtor (zend_execute.h:76)
==2820==    by 0xECCEF1: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0D05D: zend_hash_destroy (zend_hash.c:548)
==2820==    by 0xF42568: zend_object_std_dtor (zend_objects.c:44)
==2820==    by 0xF42CCC: zend_objects_free_object_storage (zend_objects.c:137)
==2820==    by 0xF52282: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2820==    by 0xF51E1C: zend_objects_store_del_ref (zend_objects_API.c:178)
==2820==    by 0xEECC3B: _zval_dtor_func (zend_variables.c:57)
==2820==    by 0xECCF89: _zval_dtor (zend_variables.h:35)
==2820==    by 0xECCF89: i_zval_ptr_dtor (zend_execute.h:79)
==2820==    by 0xECCF89: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0A8BC: i_zend_hash_bucket_delete (zend_hash.c:182)
==2820==    by 0xF0A8BC: zend_hash_bucket_delete (zend_hash.c:192)
==2820==    by 0xF0DC7C: zend_hash_reverse_apply (zend_hash.c:733)
==2820==    by 0xECC080: shutdown_destructors (zend_execute_API.c:214)
==2820==    by 0xEF04FE: zend_call_destructors (zend.c:944)
==2820==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid read of size 4
==2820==    at 0xECCEF8: zval_delref_p (zend.h:411)
==2820==    by 0xECCEF8: i_zval_ptr_dtor (zend_execute.h:76)
==2820==    by 0xECCEF8: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0D05D: zend_hash_destroy (zend_hash.c:548)
==2820==    by 0xF42568: zend_object_std_dtor (zend_objects.c:44)
==2820==    by 0xF42CCC: zend_objects_free_object_storage (zend_objects.c:137)
==2820==    by 0xF52282: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2820==    by 0xF51E1C: zend_objects_store_del_ref (zend_objects_API.c:178)
==2820==    by 0xEECC3B: _zval_dtor_func (zend_variables.c:57)
==2820==    by 0xECCF89: _zval_dtor (zend_variables.h:35)
==2820==    by 0xECCF89: i_zval_ptr_dtor (zend_execute.h:79)
==2820==    by 0xECCF89: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0A8BC: i_zend_hash_bucket_delete (zend_hash.c:182)
==2820==    by 0xF0A8BC: zend_hash_bucket_delete (zend_hash.c:192)
==2820==    by 0xF0DC7C: zend_hash_reverse_apply (zend_hash.c:733)
==2820==    by 0xECC080: shutdown_destructors (zend_execute_API.c:214)
==2820==    by 0xEF04FE: zend_call_destructors (zend.c:944)
==2820==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid read of size 4
==2820==    at 0xECCFDD: zval_refcount_p (zend.h:399)
==2820==    by 0xECCFDD: i_zval_ptr_dtor (zend_execute.h:82)
==2820==    by 0xECCFDD: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0D05D: zend_hash_destroy (zend_hash.c:548)
==2820==    by 0xF42568: zend_object_std_dtor (zend_objects.c:44)
==2820==    by 0xF42CCC: zend_objects_free_object_storage (zend_objects.c:137)
==2820==    by 0xF52282: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2820==    by 0xF51E1C: zend_objects_store_del_ref (zend_objects_API.c:178)
==2820==    by 0xEECC3B: _zval_dtor_func (zend_variables.c:57)
==2820==    by 0xECCF89: _zval_dtor (zend_variables.h:35)
==2820==    by 0xECCF89: i_zval_ptr_dtor (zend_execute.h:79)
==2820==    by 0xECCF89: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0A8BC: i_zend_hash_bucket_delete (zend_hash.c:182)
==2820==    by 0xF0A8BC: zend_hash_bucket_delete (zend_hash.c:192)
==2820==    by 0xF0DC7C: zend_hash_reverse_apply (zend_hash.c:733)
==2820==    by 0xECC080: shutdown_destructors (zend_execute_API.c:214)
==2820==    by 0xEF04FE: zend_call_destructors (zend.c:944)
==2820==  Address 0x1540dcf0 is 16 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid write of size 1
==2820==    at 0xECCFF1: zval_unset_isref_p (zend.h:423)
==2820==    by 0xECCFF1: i_zval_ptr_dtor (zend_execute.h:83)
==2820==    by 0xECCFF1: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0D05D: zend_hash_destroy (zend_hash.c:548)
==2820==    by 0xF42568: zend_object_std_dtor (zend_objects.c:44)
==2820==    by 0xF42CCC: zend_objects_free_object_storage (zend_objects.c:137)
==2820==    by 0xF52282: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2820==    by 0xF51E1C: zend_objects_store_del_ref (zend_objects_API.c:178)
==2820==    by 0xEECC3B: _zval_dtor_func (zend_variables.c:57)
==2820==    by 0xECCF89: _zval_dtor (zend_variables.h:35)
==2820==    by 0xECCF89: i_zval_ptr_dtor (zend_execute.h:79)
==2820==    by 0xECCF89: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0A8BC: i_zend_hash_bucket_delete (zend_hash.c:182)
==2820==    by 0xF0A8BC: zend_hash_bucket_delete (zend_hash.c:192)
==2820==    by 0xF0DC7C: zend_hash_reverse_apply (zend_hash.c:733)
==2820==    by 0xECC080: shutdown_destructors (zend_execute_API.c:214)
==2820==    by 0xEF04FE: zend_call_destructors (zend.c:944)
==2820==  Address 0x1540dcf5 is 21 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid read of size 1
==2820==    at 0xECD013: gc_zval_check_possible_root (zend_gc.h:182)
==2820==    by 0xECD013: i_zval_ptr_dtor (zend_execute.h:86)
==2820==    by 0xECD013: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0D05D: zend_hash_destroy (zend_hash.c:548)
==2820==    by 0xF42568: zend_object_std_dtor (zend_objects.c:44)
==2820==    by 0xF42CCC: zend_objects_free_object_storage (zend_objects.c:137)
==2820==    by 0xF52282: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2820==    by 0xF51E1C: zend_objects_store_del_ref (zend_objects_API.c:178)
==2820==    by 0xEECC3B: _zval_dtor_func (zend_variables.c:57)
==2820==    by 0xECCF89: _zval_dtor (zend_variables.h:35)
==2820==    by 0xECCF89: i_zval_ptr_dtor (zend_execute.h:79)
==2820==    by 0xECCF89: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0A8BC: i_zend_hash_bucket_delete (zend_hash.c:182)
==2820==    by 0xF0A8BC: zend_hash_bucket_delete (zend_hash.c:192)
==2820==    by 0xF0DC7C: zend_hash_reverse_apply (zend_hash.c:733)
==2820==    by 0xECC080: shutdown_destructors (zend_execute_API.c:214)
==2820==    by 0xEF04FE: zend_call_destructors (zend.c:944)
==2820==  Address 0x1540dcf4 is 20 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 
==2820== Invalid read of size 1
==2820==    at 0xECD031: gc_zval_check_possible_root (zend_gc.h:182)
==2820==    by 0xECD031: i_zval_ptr_dtor (zend_execute.h:86)
==2820==    by 0xECD031: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0D05D: zend_hash_destroy (zend_hash.c:548)
==2820==    by 0xF42568: zend_object_std_dtor (zend_objects.c:44)
==2820==    by 0xF42CCC: zend_objects_free_object_storage (zend_objects.c:137)
==2820==    by 0xF52282: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==2820==    by 0xF51E1C: zend_objects_store_del_ref (zend_objects_API.c:178)
==2820==    by 0xEECC3B: _zval_dtor_func (zend_variables.c:57)
==2820==    by 0xECCF89: _zval_dtor (zend_variables.h:35)
==2820==    by 0xECCF89: i_zval_ptr_dtor (zend_execute.h:79)
==2820==    by 0xECCF89: _zval_ptr_dtor (zend_execute_API.c:424)
==2820==    by 0xF0A8BC: i_zend_hash_bucket_delete (zend_hash.c:182)
==2820==    by 0xF0A8BC: zend_hash_bucket_delete (zend_hash.c:192)
==2820==    by 0xF0DC7C: zend_hash_reverse_apply (zend_hash.c:733)
==2820==    by 0xECC080: shutdown_destructors (zend_execute_API.c:214)
==2820==    by 0xEF04FE: zend_call_destructors (zend.c:944)
==2820==  Address 0x1540dcf4 is 20 bytes inside a block of size 32 free'd
==2820==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2820==    by 0xE9BB0C: _efree (zend_alloc.c:2437)
==2820==    by 0xF35023: gc_collect_cycles (zend_gc.c:846)
==2820==    by 0xF12EE2: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820==    by 0xF5DB30: execute_ex (zend_vm_execute.h:363)
==2820==    by 0xF5E6D3: zend_execute (zend_vm_execute.h:388)
==2820==    by 0xEF221E: zend_execute_scripts (zend.c:1341)
==2820==    by 0xE0E799: php_execute_script (main.c:2613)
==2820==    by 0x10ACC52: do_cli (php_cli.c:998)
==2820==    by 0x10AE44B: main (php_cli.c:1382)
==2820==  Block was alloc'd at
==2820==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2820==    by 0xE96F43: __zend_malloc (zend_alloc.h:97)
==2820==    by 0xE9BA74: _emalloc (zend_alloc.c:2427)
==2820==    by 0xCFA029: process_nested_data (var_unserializer.re:367)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCFA087: process_nested_data (var_unserializer.re:369)
==2820==    by 0xCFA98E: object_common2 (var_unserializer.re:480)
==2820==    by 0xCFC0F9: php_var_unserialize (var_unserializer.re:899)
==2820==    by 0xCDB591: zif_unserialize (var.c:964)
==2820==    by 0xF600AA: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2820==    by 0xF6BC40: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==2820== 

 

Generated at Tue, 13 Feb 2018 22:58:06 +0000 (7 days ago)

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