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

==22416== Invalid read of size 1
==22416==    at 0xCA5279: php_var_dump (var.c:99)
==22416==    by 0xCA51E9: php_object_property_dump (var.c:82)
==22416==    by 0xEDDC7D: zend_hash_apply_with_arguments (zend_hash.c:701)
==22416==    by 0xCA5B66: php_var_dump (var.c:146)
==22416==    by 0xCA5E78: zif_var_dump (var.c:183)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==  Address 0x153e2b44 is 20 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid read of size 1
==22416==    at 0xCA536C: zval_isref_p (zend.h:415)
==22416==    by 0xCA536C: php_var_dump (var.c:104)
==22416==    by 0xCA51E9: php_object_property_dump (var.c:82)
==22416==    by 0xEDDC7D: zend_hash_apply_with_arguments (zend_hash.c:701)
==22416==    by 0xCA5B66: php_var_dump (var.c:146)
==22416==    by 0xCA5E78: zif_var_dump (var.c:183)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==  Address 0x153e2b45 is 21 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid read of size 4
==22416==    at 0xE9D803: zval_delref_p (zend.h:411)
==22416==    by 0xE9D803: i_zval_ptr_dtor (zend_execute.h:76)
==22416==    by 0xE9D803: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDD291: zend_hash_destroy (zend_hash.c:548)
==22416==    by 0xF129A4: zend_object_std_dtor (zend_objects.c:44)
==22416==    by 0xF13108: zend_objects_free_object_storage (zend_objects.c:137)
==22416==    by 0xF22626: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==22416==    by 0xF221C0: zend_objects_store_del_ref (zend_objects_API.c:178)
==22416==    by 0xEBD49F: _zval_dtor_func (zend_variables.c:57)
==22416==    by 0xE9D8A5: _zval_dtor (zend_variables.h:35)
==22416==    by 0xE9D8A5: i_zval_ptr_dtor (zend_execute.h:79)
==22416==    by 0xE9D8A5: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDAAF0: i_zend_hash_bucket_delete (zend_hash.c:182)
==22416==    by 0xEDAAF0: zend_hash_bucket_delete (zend_hash.c:192)
==22416==    by 0xEDDEB0: zend_hash_reverse_apply (zend_hash.c:733)
==22416==    by 0xE9C99C: shutdown_destructors (zend_execute_API.c:214)
==22416==    by 0xEC0D62: zend_call_destructors (zend.c:944)
==22416==  Address 0x153e2b40 is 16 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid write of size 4
==22416==    at 0xE9D80D: zval_delref_p (zend.h:411)
==22416==    by 0xE9D80D: i_zval_ptr_dtor (zend_execute.h:76)
==22416==    by 0xE9D80D: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDD291: zend_hash_destroy (zend_hash.c:548)
==22416==    by 0xF129A4: zend_object_std_dtor (zend_objects.c:44)
==22416==    by 0xF13108: zend_objects_free_object_storage (zend_objects.c:137)
==22416==    by 0xF22626: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==22416==    by 0xF221C0: zend_objects_store_del_ref (zend_objects_API.c:178)
==22416==    by 0xEBD49F: _zval_dtor_func (zend_variables.c:57)
==22416==    by 0xE9D8A5: _zval_dtor (zend_variables.h:35)
==22416==    by 0xE9D8A5: i_zval_ptr_dtor (zend_execute.h:79)
==22416==    by 0xE9D8A5: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDAAF0: i_zend_hash_bucket_delete (zend_hash.c:182)
==22416==    by 0xEDAAF0: zend_hash_bucket_delete (zend_hash.c:192)
==22416==    by 0xEDDEB0: zend_hash_reverse_apply (zend_hash.c:733)
==22416==    by 0xE9C99C: shutdown_destructors (zend_execute_API.c:214)
==22416==    by 0xEC0D62: zend_call_destructors (zend.c:944)
==22416==  Address 0x153e2b40 is 16 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid read of size 4
==22416==    at 0xE9D814: zval_delref_p (zend.h:411)
==22416==    by 0xE9D814: i_zval_ptr_dtor (zend_execute.h:76)
==22416==    by 0xE9D814: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDD291: zend_hash_destroy (zend_hash.c:548)
==22416==    by 0xF129A4: zend_object_std_dtor (zend_objects.c:44)
==22416==    by 0xF13108: zend_objects_free_object_storage (zend_objects.c:137)
==22416==    by 0xF22626: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==22416==    by 0xF221C0: zend_objects_store_del_ref (zend_objects_API.c:178)
==22416==    by 0xEBD49F: _zval_dtor_func (zend_variables.c:57)
==22416==    by 0xE9D8A5: _zval_dtor (zend_variables.h:35)
==22416==    by 0xE9D8A5: i_zval_ptr_dtor (zend_execute.h:79)
==22416==    by 0xE9D8A5: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDAAF0: i_zend_hash_bucket_delete (zend_hash.c:182)
==22416==    by 0xEDAAF0: zend_hash_bucket_delete (zend_hash.c:192)
==22416==    by 0xEDDEB0: zend_hash_reverse_apply (zend_hash.c:733)
==22416==    by 0xE9C99C: shutdown_destructors (zend_execute_API.c:214)
==22416==    by 0xEC0D62: zend_call_destructors (zend.c:944)
==22416==  Address 0x153e2b40 is 16 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid read of size 4
==22416==    at 0xE9D8F9: zval_refcount_p (zend.h:399)
==22416==    by 0xE9D8F9: i_zval_ptr_dtor (zend_execute.h:82)
==22416==    by 0xE9D8F9: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDD291: zend_hash_destroy (zend_hash.c:548)
==22416==    by 0xF129A4: zend_object_std_dtor (zend_objects.c:44)
==22416==    by 0xF13108: zend_objects_free_object_storage (zend_objects.c:137)
==22416==    by 0xF22626: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==22416==    by 0xF221C0: zend_objects_store_del_ref (zend_objects_API.c:178)
==22416==    by 0xEBD49F: _zval_dtor_func (zend_variables.c:57)
==22416==    by 0xE9D8A5: _zval_dtor (zend_variables.h:35)
==22416==    by 0xE9D8A5: i_zval_ptr_dtor (zend_execute.h:79)
==22416==    by 0xE9D8A5: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDAAF0: i_zend_hash_bucket_delete (zend_hash.c:182)
==22416==    by 0xEDAAF0: zend_hash_bucket_delete (zend_hash.c:192)
==22416==    by 0xEDDEB0: zend_hash_reverse_apply (zend_hash.c:733)
==22416==    by 0xE9C99C: shutdown_destructors (zend_execute_API.c:214)
==22416==    by 0xEC0D62: zend_call_destructors (zend.c:944)
==22416==  Address 0x153e2b40 is 16 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid write of size 1
==22416==    at 0xE9D90D: zval_unset_isref_p (zend.h:423)
==22416==    by 0xE9D90D: i_zval_ptr_dtor (zend_execute.h:83)
==22416==    by 0xE9D90D: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDD291: zend_hash_destroy (zend_hash.c:548)
==22416==    by 0xF129A4: zend_object_std_dtor (zend_objects.c:44)
==22416==    by 0xF13108: zend_objects_free_object_storage (zend_objects.c:137)
==22416==    by 0xF22626: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==22416==    by 0xF221C0: zend_objects_store_del_ref (zend_objects_API.c:178)
==22416==    by 0xEBD49F: _zval_dtor_func (zend_variables.c:57)
==22416==    by 0xE9D8A5: _zval_dtor (zend_variables.h:35)
==22416==    by 0xE9D8A5: i_zval_ptr_dtor (zend_execute.h:79)
==22416==    by 0xE9D8A5: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDAAF0: i_zend_hash_bucket_delete (zend_hash.c:182)
==22416==    by 0xEDAAF0: zend_hash_bucket_delete (zend_hash.c:192)
==22416==    by 0xEDDEB0: zend_hash_reverse_apply (zend_hash.c:733)
==22416==    by 0xE9C99C: shutdown_destructors (zend_execute_API.c:214)
==22416==    by 0xEC0D62: zend_call_destructors (zend.c:944)
==22416==  Address 0x153e2b45 is 21 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid read of size 1
==22416==    at 0xE9D92F: gc_zval_check_possible_root (zend_gc.h:182)
==22416==    by 0xE9D92F: i_zval_ptr_dtor (zend_execute.h:86)
==22416==    by 0xE9D92F: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDD291: zend_hash_destroy (zend_hash.c:548)
==22416==    by 0xF129A4: zend_object_std_dtor (zend_objects.c:44)
==22416==    by 0xF13108: zend_objects_free_object_storage (zend_objects.c:137)
==22416==    by 0xF22626: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==22416==    by 0xF221C0: zend_objects_store_del_ref (zend_objects_API.c:178)
==22416==    by 0xEBD49F: _zval_dtor_func (zend_variables.c:57)
==22416==    by 0xE9D8A5: _zval_dtor (zend_variables.h:35)
==22416==    by 0xE9D8A5: i_zval_ptr_dtor (zend_execute.h:79)
==22416==    by 0xE9D8A5: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDAAF0: i_zend_hash_bucket_delete (zend_hash.c:182)
==22416==    by 0xEDAAF0: zend_hash_bucket_delete (zend_hash.c:192)
==22416==    by 0xEDDEB0: zend_hash_reverse_apply (zend_hash.c:733)
==22416==    by 0xE9C99C: shutdown_destructors (zend_execute_API.c:214)
==22416==    by 0xEC0D62: zend_call_destructors (zend.c:944)
==22416==  Address 0x153e2b44 is 20 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 
==22416== Invalid read of size 1
==22416==    at 0xE9D94D: gc_zval_check_possible_root (zend_gc.h:182)
==22416==    by 0xE9D94D: i_zval_ptr_dtor (zend_execute.h:86)
==22416==    by 0xE9D94D: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDD291: zend_hash_destroy (zend_hash.c:548)
==22416==    by 0xF129A4: zend_object_std_dtor (zend_objects.c:44)
==22416==    by 0xF13108: zend_objects_free_object_storage (zend_objects.c:137)
==22416==    by 0xF22626: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==22416==    by 0xF221C0: zend_objects_store_del_ref (zend_objects_API.c:178)
==22416==    by 0xEBD49F: _zval_dtor_func (zend_variables.c:57)
==22416==    by 0xE9D8A5: _zval_dtor (zend_variables.h:35)
==22416==    by 0xE9D8A5: i_zval_ptr_dtor (zend_execute.h:79)
==22416==    by 0xE9D8A5: _zval_ptr_dtor (zend_execute_API.c:424)
==22416==    by 0xEDAAF0: i_zend_hash_bucket_delete (zend_hash.c:182)
==22416==    by 0xEDAAF0: zend_hash_bucket_delete (zend_hash.c:192)
==22416==    by 0xEDDEB0: zend_hash_reverse_apply (zend_hash.c:733)
==22416==    by 0xE9C99C: shutdown_destructors (zend_execute_API.c:214)
==22416==    by 0xEC0D62: zend_call_destructors (zend.c:944)
==22416==  Address 0x153e2b44 is 20 bytes inside a block of size 32 free'd
==22416==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==22416==    by 0xE6C770: _efree (zend_alloc.c:2437)
==22416==    by 0xF0545B: gc_collect_cycles (zend_gc.c:846)
==22416==    by 0xEE3116: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416==    by 0xF2EADD: zend_execute (zend_vm_execute.h:388)
==22416==    by 0xEC2A33: zend_execute_scripts (zend.c:1341)
==22416==    by 0xDE05C1: php_execute_script (main.c:2613)
==22416==    by 0x107B1BA: do_cli (php_cli.c:994)
==22416==    by 0x107C967: main (php_cli.c:1378)
==22416==  Block was alloc'd at
==22416==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==22416==    by 0xE6C6D8: _emalloc (zend_alloc.c:2427)
==22416==    by 0xCD0075: process_nested_data (var_unserializer.re:328)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCD00D3: process_nested_data (var_unserializer.re:330)
==22416==    by 0xCD0954: object_common2 (var_unserializer.re:440)
==22416==    by 0xCD1E7D: php_var_unserialize (var_unserializer.re:831)
==22416==    by 0xCB3643: zif_unserialize (var.c:964)
==22416==    by 0xF304B4: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==22416==    by 0xF3C04A: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==22416==    by 0xF2DF3A: execute_ex (zend_vm_execute.h:363)
==22416== 

 

Generated at Sun, 01 May 2016 19:01:00 +0000 (4 days ago)

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