PHP  
 PHP_5_5
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

==3529== Invalid read of size 1
==3529==    at 0xCA9B49: php_var_dump (var.c:99)
==3529==    by 0xCA9AB9: php_object_property_dump (var.c:82)
==3529==    by 0xED923A: zend_hash_apply_with_arguments (zend_hash.c:772)
==3529==    by 0xCAA436: php_var_dump (var.c:146)
==3529==    by 0xCAA748: zif_var_dump (var.c:183)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==  Address 0x153d1d24 is 20 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid read of size 1
==3529==    at 0xCA9C3C: zval_isref_p (zend.h:413)
==3529==    by 0xCA9C3C: php_var_dump (var.c:104)
==3529==    by 0xCA9AB9: php_object_property_dump (var.c:82)
==3529==    by 0xED923A: zend_hash_apply_with_arguments (zend_hash.c:772)
==3529==    by 0xCAA436: php_var_dump (var.c:146)
==3529==    by 0xCAA748: zif_var_dump (var.c:183)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==  Address 0x153d1d25 is 21 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid read of size 4
==3529==    at 0xE9A938: zval_delref_p (zend.h:409)
==3529==    by 0xE9A938: i_zval_ptr_dtor (zend_execute.h:76)
==3529==    by 0xE9A938: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8521: zend_hash_destroy (zend_hash.c:560)
==3529==    by 0xF0675C: zend_object_std_dtor (zend_objects.c:44)
==3529==    by 0xF06EC0: zend_objects_free_object_storage (zend_objects.c:137)
==3529==    by 0xF1650A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==3529==    by 0xF160A4: zend_objects_store_del_ref (zend_objects_API.c:178)
==3529==    by 0xEB8CB1: _zval_dtor_func (zend_variables.c:54)
==3529==    by 0xE9A9DA: _zval_dtor (zend_variables.h:35)
==3529==    by 0xE9A9DA: i_zval_ptr_dtor (zend_execute.h:81)
==3529==    by 0xE9A9DA: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8A82: zend_hash_apply_deleter (zend_hash.c:650)
==3529==    by 0xED9470: zend_hash_reverse_apply (zend_hash.c:804)
==3529==    by 0xE99AD1: shutdown_destructors (zend_execute_API.c:214)
==3529==    by 0xEBC58C: zend_call_destructors (zend.c:930)
==3529==  Address 0x153d1d20 is 16 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid write of size 4
==3529==    at 0xE9A942: zval_delref_p (zend.h:409)
==3529==    by 0xE9A942: i_zval_ptr_dtor (zend_execute.h:76)
==3529==    by 0xE9A942: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8521: zend_hash_destroy (zend_hash.c:560)
==3529==    by 0xF0675C: zend_object_std_dtor (zend_objects.c:44)
==3529==    by 0xF06EC0: zend_objects_free_object_storage (zend_objects.c:137)
==3529==    by 0xF1650A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==3529==    by 0xF160A4: zend_objects_store_del_ref (zend_objects_API.c:178)
==3529==    by 0xEB8CB1: _zval_dtor_func (zend_variables.c:54)
==3529==    by 0xE9A9DA: _zval_dtor (zend_variables.h:35)
==3529==    by 0xE9A9DA: i_zval_ptr_dtor (zend_execute.h:81)
==3529==    by 0xE9A9DA: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8A82: zend_hash_apply_deleter (zend_hash.c:650)
==3529==    by 0xED9470: zend_hash_reverse_apply (zend_hash.c:804)
==3529==    by 0xE99AD1: shutdown_destructors (zend_execute_API.c:214)
==3529==    by 0xEBC58C: zend_call_destructors (zend.c:930)
==3529==  Address 0x153d1d20 is 16 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid read of size 4
==3529==    at 0xE9A949: zval_delref_p (zend.h:409)
==3529==    by 0xE9A949: i_zval_ptr_dtor (zend_execute.h:76)
==3529==    by 0xE9A949: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8521: zend_hash_destroy (zend_hash.c:560)
==3529==    by 0xF0675C: zend_object_std_dtor (zend_objects.c:44)
==3529==    by 0xF06EC0: zend_objects_free_object_storage (zend_objects.c:137)
==3529==    by 0xF1650A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==3529==    by 0xF160A4: zend_objects_store_del_ref (zend_objects_API.c:178)
==3529==    by 0xEB8CB1: _zval_dtor_func (zend_variables.c:54)
==3529==    by 0xE9A9DA: _zval_dtor (zend_variables.h:35)
==3529==    by 0xE9A9DA: i_zval_ptr_dtor (zend_execute.h:81)
==3529==    by 0xE9A9DA: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8A82: zend_hash_apply_deleter (zend_hash.c:650)
==3529==    by 0xED9470: zend_hash_reverse_apply (zend_hash.c:804)
==3529==    by 0xE99AD1: shutdown_destructors (zend_execute_API.c:214)
==3529==    by 0xEBC58C: zend_call_destructors (zend.c:930)
==3529==  Address 0x153d1d20 is 16 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid read of size 4
==3529==    at 0xE9AA2E: zval_refcount_p (zend.h:397)
==3529==    by 0xE9AA2E: i_zval_ptr_dtor (zend_execute.h:86)
==3529==    by 0xE9AA2E: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8521: zend_hash_destroy (zend_hash.c:560)
==3529==    by 0xF0675C: zend_object_std_dtor (zend_objects.c:44)
==3529==    by 0xF06EC0: zend_objects_free_object_storage (zend_objects.c:137)
==3529==    by 0xF1650A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==3529==    by 0xF160A4: zend_objects_store_del_ref (zend_objects_API.c:178)
==3529==    by 0xEB8CB1: _zval_dtor_func (zend_variables.c:54)
==3529==    by 0xE9A9DA: _zval_dtor (zend_variables.h:35)
==3529==    by 0xE9A9DA: i_zval_ptr_dtor (zend_execute.h:81)
==3529==    by 0xE9A9DA: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8A82: zend_hash_apply_deleter (zend_hash.c:650)
==3529==    by 0xED9470: zend_hash_reverse_apply (zend_hash.c:804)
==3529==    by 0xE99AD1: shutdown_destructors (zend_execute_API.c:214)
==3529==    by 0xEBC58C: zend_call_destructors (zend.c:930)
==3529==  Address 0x153d1d20 is 16 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid write of size 1
==3529==    at 0xE9AA42: zval_unset_isref_p (zend.h:421)
==3529==    by 0xE9AA42: i_zval_ptr_dtor (zend_execute.h:87)
==3529==    by 0xE9AA42: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8521: zend_hash_destroy (zend_hash.c:560)
==3529==    by 0xF0675C: zend_object_std_dtor (zend_objects.c:44)
==3529==    by 0xF06EC0: zend_objects_free_object_storage (zend_objects.c:137)
==3529==    by 0xF1650A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==3529==    by 0xF160A4: zend_objects_store_del_ref (zend_objects_API.c:178)
==3529==    by 0xEB8CB1: _zval_dtor_func (zend_variables.c:54)
==3529==    by 0xE9A9DA: _zval_dtor (zend_variables.h:35)
==3529==    by 0xE9A9DA: i_zval_ptr_dtor (zend_execute.h:81)
==3529==    by 0xE9A9DA: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8A82: zend_hash_apply_deleter (zend_hash.c:650)
==3529==    by 0xED9470: zend_hash_reverse_apply (zend_hash.c:804)
==3529==    by 0xE99AD1: shutdown_destructors (zend_execute_API.c:214)
==3529==    by 0xEBC58C: zend_call_destructors (zend.c:930)
==3529==  Address 0x153d1d25 is 21 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid read of size 1
==3529==    at 0xE9AA64: gc_zval_check_possible_root (zend_gc.h:182)
==3529==    by 0xE9AA64: i_zval_ptr_dtor (zend_execute.h:90)
==3529==    by 0xE9AA64: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8521: zend_hash_destroy (zend_hash.c:560)
==3529==    by 0xF0675C: zend_object_std_dtor (zend_objects.c:44)
==3529==    by 0xF06EC0: zend_objects_free_object_storage (zend_objects.c:137)
==3529==    by 0xF1650A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==3529==    by 0xF160A4: zend_objects_store_del_ref (zend_objects_API.c:178)
==3529==    by 0xEB8CB1: _zval_dtor_func (zend_variables.c:54)
==3529==    by 0xE9A9DA: _zval_dtor (zend_variables.h:35)
==3529==    by 0xE9A9DA: i_zval_ptr_dtor (zend_execute.h:81)
==3529==    by 0xE9A9DA: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8A82: zend_hash_apply_deleter (zend_hash.c:650)
==3529==    by 0xED9470: zend_hash_reverse_apply (zend_hash.c:804)
==3529==    by 0xE99AD1: shutdown_destructors (zend_execute_API.c:214)
==3529==    by 0xEBC58C: zend_call_destructors (zend.c:930)
==3529==  Address 0x153d1d24 is 20 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 
==3529== Invalid read of size 1
==3529==    at 0xE9AA82: gc_zval_check_possible_root (zend_gc.h:182)
==3529==    by 0xE9AA82: i_zval_ptr_dtor (zend_execute.h:90)
==3529==    by 0xE9AA82: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8521: zend_hash_destroy (zend_hash.c:560)
==3529==    by 0xF0675C: zend_object_std_dtor (zend_objects.c:44)
==3529==    by 0xF06EC0: zend_objects_free_object_storage (zend_objects.c:137)
==3529==    by 0xF1650A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==3529==    by 0xF160A4: zend_objects_store_del_ref (zend_objects_API.c:178)
==3529==    by 0xEB8CB1: _zval_dtor_func (zend_variables.c:54)
==3529==    by 0xE9A9DA: _zval_dtor (zend_variables.h:35)
==3529==    by 0xE9A9DA: i_zval_ptr_dtor (zend_execute.h:81)
==3529==    by 0xE9A9DA: _zval_ptr_dtor (zend_execute_API.c:423)
==3529==    by 0xED8A82: zend_hash_apply_deleter (zend_hash.c:650)
==3529==    by 0xED9470: zend_hash_reverse_apply (zend_hash.c:804)
==3529==    by 0xE99AD1: shutdown_destructors (zend_execute_API.c:214)
==3529==    by 0xEBC58C: zend_call_destructors (zend.c:930)
==3529==  Address 0x153d1d24 is 20 bytes inside a block of size 32 free'd
==3529==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==3529==    by 0xE69164: _efree (zend_alloc.c:2437)
==3529==    by 0xF007AB: gc_collect_cycles (zend_gc.c:846)
==3529==    by 0xEDE649: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==3529==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==3529==    by 0xDE0582: php_execute_script (main.c:2525)
==3529==    by 0x10A81E5: do_cli (php_cli.c:994)
==3529==    by 0x10A9992: main (php_cli.c:1378)
==3529==  Block was alloc'd at
==3529==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==3529==    by 0xE690CC: _emalloc (zend_alloc.c:2427)
==3529==    by 0xCD73BD: process_nested_data (var_unserializer.re:329)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCD741B: process_nested_data (var_unserializer.re:331)
==3529==    by 0xCD7D05: object_common2 (var_unserializer.re:445)
==3529==    by 0xCD922E: php_var_unserialize (var_unserializer.re:836)
==3529==    by 0xCB9E45: zif_unserialize (var.c:967)
==3529==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==3529==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==3529==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==3529== 

 

Generated at Thu, 28 Jul 2016 13:06:15 +0000 (47 hours ago)

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