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

==18863== Invalid read of size 1
==18863==    at 0xCC5B45: php_var_dump (var.c:99)
==18863==    by 0xCC5AB5: php_object_property_dump (var.c:82)
==18863==    by 0xF06535: zend_hash_apply_with_arguments (zend_hash.c:701)
==18863==    by 0xCC6432: php_var_dump (var.c:146)
==18863==    by 0xCC6744: zif_var_dump (var.c:183)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==  Address 0x153e91f4 is 20 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid read of size 1
==18863==    at 0xCC5C38: zval_isref_p (zend.h:415)
==18863==    by 0xCC5C38: php_var_dump (var.c:104)
==18863==    by 0xCC5AB5: php_object_property_dump (var.c:82)
==18863==    by 0xF06535: zend_hash_apply_with_arguments (zend_hash.c:701)
==18863==    by 0xCC6432: php_var_dump (var.c:146)
==18863==    by 0xCC6744: zif_var_dump (var.c:183)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==  Address 0x153e91f5 is 21 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid read of size 4
==18863==    at 0xEC5BCB: zval_delref_p (zend.h:411)
==18863==    by 0xEC5BCB: i_zval_ptr_dtor (zend_execute.h:76)
==18863==    by 0xEC5BCB: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF05B49: zend_hash_destroy (zend_hash.c:548)
==18863==    by 0xF3B418: zend_object_std_dtor (zend_objects.c:44)
==18863==    by 0xF3BB7C: zend_objects_free_object_storage (zend_objects.c:137)
==18863==    by 0xF4B132: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==18863==    by 0xF4ACCC: zend_objects_store_del_ref (zend_objects_API.c:178)
==18863==    by 0xEE58F7: _zval_dtor_func (zend_variables.c:57)
==18863==    by 0xEC5C6D: _zval_dtor (zend_variables.h:35)
==18863==    by 0xEC5C6D: i_zval_ptr_dtor (zend_execute.h:79)
==18863==    by 0xEC5C6D: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF033A8: i_zend_hash_bucket_delete (zend_hash.c:182)
==18863==    by 0xF033A8: zend_hash_bucket_delete (zend_hash.c:192)
==18863==    by 0xF06768: zend_hash_reverse_apply (zend_hash.c:733)
==18863==    by 0xEC4D64: shutdown_destructors (zend_execute_API.c:214)
==18863==    by 0xEE91BA: zend_call_destructors (zend.c:944)
==18863==  Address 0x153e91f0 is 16 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid write of size 4
==18863==    at 0xEC5BD5: zval_delref_p (zend.h:411)
==18863==    by 0xEC5BD5: i_zval_ptr_dtor (zend_execute.h:76)
==18863==    by 0xEC5BD5: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF05B49: zend_hash_destroy (zend_hash.c:548)
==18863==    by 0xF3B418: zend_object_std_dtor (zend_objects.c:44)
==18863==    by 0xF3BB7C: zend_objects_free_object_storage (zend_objects.c:137)
==18863==    by 0xF4B132: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==18863==    by 0xF4ACCC: zend_objects_store_del_ref (zend_objects_API.c:178)
==18863==    by 0xEE58F7: _zval_dtor_func (zend_variables.c:57)
==18863==    by 0xEC5C6D: _zval_dtor (zend_variables.h:35)
==18863==    by 0xEC5C6D: i_zval_ptr_dtor (zend_execute.h:79)
==18863==    by 0xEC5C6D: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF033A8: i_zend_hash_bucket_delete (zend_hash.c:182)
==18863==    by 0xF033A8: zend_hash_bucket_delete (zend_hash.c:192)
==18863==    by 0xF06768: zend_hash_reverse_apply (zend_hash.c:733)
==18863==    by 0xEC4D64: shutdown_destructors (zend_execute_API.c:214)
==18863==    by 0xEE91BA: zend_call_destructors (zend.c:944)
==18863==  Address 0x153e91f0 is 16 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid read of size 4
==18863==    at 0xEC5BDC: zval_delref_p (zend.h:411)
==18863==    by 0xEC5BDC: i_zval_ptr_dtor (zend_execute.h:76)
==18863==    by 0xEC5BDC: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF05B49: zend_hash_destroy (zend_hash.c:548)
==18863==    by 0xF3B418: zend_object_std_dtor (zend_objects.c:44)
==18863==    by 0xF3BB7C: zend_objects_free_object_storage (zend_objects.c:137)
==18863==    by 0xF4B132: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==18863==    by 0xF4ACCC: zend_objects_store_del_ref (zend_objects_API.c:178)
==18863==    by 0xEE58F7: _zval_dtor_func (zend_variables.c:57)
==18863==    by 0xEC5C6D: _zval_dtor (zend_variables.h:35)
==18863==    by 0xEC5C6D: i_zval_ptr_dtor (zend_execute.h:79)
==18863==    by 0xEC5C6D: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF033A8: i_zend_hash_bucket_delete (zend_hash.c:182)
==18863==    by 0xF033A8: zend_hash_bucket_delete (zend_hash.c:192)
==18863==    by 0xF06768: zend_hash_reverse_apply (zend_hash.c:733)
==18863==    by 0xEC4D64: shutdown_destructors (zend_execute_API.c:214)
==18863==    by 0xEE91BA: zend_call_destructors (zend.c:944)
==18863==  Address 0x153e91f0 is 16 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid read of size 4
==18863==    at 0xEC5CC1: zval_refcount_p (zend.h:399)
==18863==    by 0xEC5CC1: i_zval_ptr_dtor (zend_execute.h:82)
==18863==    by 0xEC5CC1: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF05B49: zend_hash_destroy (zend_hash.c:548)
==18863==    by 0xF3B418: zend_object_std_dtor (zend_objects.c:44)
==18863==    by 0xF3BB7C: zend_objects_free_object_storage (zend_objects.c:137)
==18863==    by 0xF4B132: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==18863==    by 0xF4ACCC: zend_objects_store_del_ref (zend_objects_API.c:178)
==18863==    by 0xEE58F7: _zval_dtor_func (zend_variables.c:57)
==18863==    by 0xEC5C6D: _zval_dtor (zend_variables.h:35)
==18863==    by 0xEC5C6D: i_zval_ptr_dtor (zend_execute.h:79)
==18863==    by 0xEC5C6D: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF033A8: i_zend_hash_bucket_delete (zend_hash.c:182)
==18863==    by 0xF033A8: zend_hash_bucket_delete (zend_hash.c:192)
==18863==    by 0xF06768: zend_hash_reverse_apply (zend_hash.c:733)
==18863==    by 0xEC4D64: shutdown_destructors (zend_execute_API.c:214)
==18863==    by 0xEE91BA: zend_call_destructors (zend.c:944)
==18863==  Address 0x153e91f0 is 16 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid write of size 1
==18863==    at 0xEC5CD5: zval_unset_isref_p (zend.h:423)
==18863==    by 0xEC5CD5: i_zval_ptr_dtor (zend_execute.h:83)
==18863==    by 0xEC5CD5: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF05B49: zend_hash_destroy (zend_hash.c:548)
==18863==    by 0xF3B418: zend_object_std_dtor (zend_objects.c:44)
==18863==    by 0xF3BB7C: zend_objects_free_object_storage (zend_objects.c:137)
==18863==    by 0xF4B132: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==18863==    by 0xF4ACCC: zend_objects_store_del_ref (zend_objects_API.c:178)
==18863==    by 0xEE58F7: _zval_dtor_func (zend_variables.c:57)
==18863==    by 0xEC5C6D: _zval_dtor (zend_variables.h:35)
==18863==    by 0xEC5C6D: i_zval_ptr_dtor (zend_execute.h:79)
==18863==    by 0xEC5C6D: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF033A8: i_zend_hash_bucket_delete (zend_hash.c:182)
==18863==    by 0xF033A8: zend_hash_bucket_delete (zend_hash.c:192)
==18863==    by 0xF06768: zend_hash_reverse_apply (zend_hash.c:733)
==18863==    by 0xEC4D64: shutdown_destructors (zend_execute_API.c:214)
==18863==    by 0xEE91BA: zend_call_destructors (zend.c:944)
==18863==  Address 0x153e91f5 is 21 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid read of size 1
==18863==    at 0xEC5CF7: gc_zval_check_possible_root (zend_gc.h:182)
==18863==    by 0xEC5CF7: i_zval_ptr_dtor (zend_execute.h:86)
==18863==    by 0xEC5CF7: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF05B49: zend_hash_destroy (zend_hash.c:548)
==18863==    by 0xF3B418: zend_object_std_dtor (zend_objects.c:44)
==18863==    by 0xF3BB7C: zend_objects_free_object_storage (zend_objects.c:137)
==18863==    by 0xF4B132: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==18863==    by 0xF4ACCC: zend_objects_store_del_ref (zend_objects_API.c:178)
==18863==    by 0xEE58F7: _zval_dtor_func (zend_variables.c:57)
==18863==    by 0xEC5C6D: _zval_dtor (zend_variables.h:35)
==18863==    by 0xEC5C6D: i_zval_ptr_dtor (zend_execute.h:79)
==18863==    by 0xEC5C6D: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF033A8: i_zend_hash_bucket_delete (zend_hash.c:182)
==18863==    by 0xF033A8: zend_hash_bucket_delete (zend_hash.c:192)
==18863==    by 0xF06768: zend_hash_reverse_apply (zend_hash.c:733)
==18863==    by 0xEC4D64: shutdown_destructors (zend_execute_API.c:214)
==18863==    by 0xEE91BA: zend_call_destructors (zend.c:944)
==18863==  Address 0x153e91f4 is 20 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 
==18863== Invalid read of size 1
==18863==    at 0xEC5D15: gc_zval_check_possible_root (zend_gc.h:182)
==18863==    by 0xEC5D15: i_zval_ptr_dtor (zend_execute.h:86)
==18863==    by 0xEC5D15: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF05B49: zend_hash_destroy (zend_hash.c:548)
==18863==    by 0xF3B418: zend_object_std_dtor (zend_objects.c:44)
==18863==    by 0xF3BB7C: zend_objects_free_object_storage (zend_objects.c:137)
==18863==    by 0xF4B132: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==18863==    by 0xF4ACCC: zend_objects_store_del_ref (zend_objects_API.c:178)
==18863==    by 0xEE58F7: _zval_dtor_func (zend_variables.c:57)
==18863==    by 0xEC5C6D: _zval_dtor (zend_variables.h:35)
==18863==    by 0xEC5C6D: i_zval_ptr_dtor (zend_execute.h:79)
==18863==    by 0xEC5C6D: _zval_ptr_dtor (zend_execute_API.c:424)
==18863==    by 0xF033A8: i_zend_hash_bucket_delete (zend_hash.c:182)
==18863==    by 0xF033A8: zend_hash_bucket_delete (zend_hash.c:192)
==18863==    by 0xF06768: zend_hash_reverse_apply (zend_hash.c:733)
==18863==    by 0xEC4D64: shutdown_destructors (zend_execute_API.c:214)
==18863==    by 0xEE91BA: zend_call_destructors (zend.c:944)
==18863==  Address 0x153e91f4 is 20 bytes inside a block of size 32 free'd
==18863==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==18863==    by 0xE9489C: _efree (zend_alloc.c:2437)
==18863==    by 0xF2DED3: gc_collect_cycles (zend_gc.c:846)
==18863==    by 0xF0B9CE: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863==    by 0xF57583: zend_execute (zend_vm_execute.h:388)
==18863==    by 0xEEAEDA: zend_execute_scripts (zend.c:1341)
==18863==    by 0xE07819: php_execute_script (main.c:2613)
==18863==    by 0x10A533A: do_cli (php_cli.c:998)
==18863==    by 0x10A6B33: main (php_cli.c:1382)
==18863==  Block was alloc'd at
==18863==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==18863==    by 0xE94804: _emalloc (zend_alloc.c:2427)
==18863==    by 0xCF3DB5: process_nested_data (var_unserializer.re:328)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCF3E13: process_nested_data (var_unserializer.re:330)
==18863==    by 0xCF4694: object_common2 (var_unserializer.re:440)
==18863==    by 0xCF5D1E: php_var_unserialize (var_unserializer.re:852)
==18863==    by 0xCD5C9D: zif_unserialize (var.c:964)
==18863==    by 0xF58F5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==18863==    by 0xF64AF0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==18863==    by 0xF569E0: execute_ex (zend_vm_execute.h:363)
==18863== 

 

Generated at Sun, 25 Sep 2016 00:39:48 +0000 (6 days ago)

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