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

==25680== Invalid read of size 1
==25680==    at 0xC96E69: php_var_dump (var.c:99)
==25680==    by 0xC96DD9: php_object_property_dump (var.c:82)
==25680==    by 0xEC193E: zend_hash_apply_with_arguments (zend_hash.c:772)
==25680==    by 0xC97756: php_var_dump (var.c:146)
==25680==    by 0xC97A68: zif_var_dump (var.c:183)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==  Address 0x153d18c4 is 20 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid read of size 1
==25680==    at 0xC96F5C: zval_isref_p (zend.h:413)
==25680==    by 0xC96F5C: php_var_dump (var.c:104)
==25680==    by 0xC96DD9: php_object_property_dump (var.c:82)
==25680==    by 0xEC193E: zend_hash_apply_with_arguments (zend_hash.c:772)
==25680==    by 0xC97756: php_var_dump (var.c:146)
==25680==    by 0xC97A68: zif_var_dump (var.c:183)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==  Address 0x153d18c5 is 21 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid read of size 4
==25680==    at 0xE8303C: zval_delref_p (zend.h:409)
==25680==    by 0xE8303C: i_zval_ptr_dtor (zend_execute.h:76)
==25680==    by 0xE8303C: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC0C25: zend_hash_destroy (zend_hash.c:560)
==25680==    by 0xEEEE60: zend_object_std_dtor (zend_objects.c:44)
==25680==    by 0xEEF5C4: zend_objects_free_object_storage (zend_objects.c:137)
==25680==    by 0xEFEC0E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==25680==    by 0xEFE7A8: zend_objects_store_del_ref (zend_objects_API.c:178)
==25680==    by 0xEA13B5: _zval_dtor_func (zend_variables.c:54)
==25680==    by 0xE830DE: _zval_dtor (zend_variables.h:35)
==25680==    by 0xE830DE: i_zval_ptr_dtor (zend_execute.h:81)
==25680==    by 0xE830DE: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC1186: zend_hash_apply_deleter (zend_hash.c:650)
==25680==    by 0xEC1B74: zend_hash_reverse_apply (zend_hash.c:804)
==25680==    by 0xE821D5: shutdown_destructors (zend_execute_API.c:214)
==25680==    by 0xEA4C90: zend_call_destructors (zend.c:930)
==25680==  Address 0x153d18c0 is 16 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid write of size 4
==25680==    at 0xE83046: zval_delref_p (zend.h:409)
==25680==    by 0xE83046: i_zval_ptr_dtor (zend_execute.h:76)
==25680==    by 0xE83046: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC0C25: zend_hash_destroy (zend_hash.c:560)
==25680==    by 0xEEEE60: zend_object_std_dtor (zend_objects.c:44)
==25680==    by 0xEEF5C4: zend_objects_free_object_storage (zend_objects.c:137)
==25680==    by 0xEFEC0E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==25680==    by 0xEFE7A8: zend_objects_store_del_ref (zend_objects_API.c:178)
==25680==    by 0xEA13B5: _zval_dtor_func (zend_variables.c:54)
==25680==    by 0xE830DE: _zval_dtor (zend_variables.h:35)
==25680==    by 0xE830DE: i_zval_ptr_dtor (zend_execute.h:81)
==25680==    by 0xE830DE: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC1186: zend_hash_apply_deleter (zend_hash.c:650)
==25680==    by 0xEC1B74: zend_hash_reverse_apply (zend_hash.c:804)
==25680==    by 0xE821D5: shutdown_destructors (zend_execute_API.c:214)
==25680==    by 0xEA4C90: zend_call_destructors (zend.c:930)
==25680==  Address 0x153d18c0 is 16 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid read of size 4
==25680==    at 0xE8304D: zval_delref_p (zend.h:409)
==25680==    by 0xE8304D: i_zval_ptr_dtor (zend_execute.h:76)
==25680==    by 0xE8304D: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC0C25: zend_hash_destroy (zend_hash.c:560)
==25680==    by 0xEEEE60: zend_object_std_dtor (zend_objects.c:44)
==25680==    by 0xEEF5C4: zend_objects_free_object_storage (zend_objects.c:137)
==25680==    by 0xEFEC0E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==25680==    by 0xEFE7A8: zend_objects_store_del_ref (zend_objects_API.c:178)
==25680==    by 0xEA13B5: _zval_dtor_func (zend_variables.c:54)
==25680==    by 0xE830DE: _zval_dtor (zend_variables.h:35)
==25680==    by 0xE830DE: i_zval_ptr_dtor (zend_execute.h:81)
==25680==    by 0xE830DE: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC1186: zend_hash_apply_deleter (zend_hash.c:650)
==25680==    by 0xEC1B74: zend_hash_reverse_apply (zend_hash.c:804)
==25680==    by 0xE821D5: shutdown_destructors (zend_execute_API.c:214)
==25680==    by 0xEA4C90: zend_call_destructors (zend.c:930)
==25680==  Address 0x153d18c0 is 16 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid read of size 4
==25680==    at 0xE83132: zval_refcount_p (zend.h:397)
==25680==    by 0xE83132: i_zval_ptr_dtor (zend_execute.h:86)
==25680==    by 0xE83132: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC0C25: zend_hash_destroy (zend_hash.c:560)
==25680==    by 0xEEEE60: zend_object_std_dtor (zend_objects.c:44)
==25680==    by 0xEEF5C4: zend_objects_free_object_storage (zend_objects.c:137)
==25680==    by 0xEFEC0E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==25680==    by 0xEFE7A8: zend_objects_store_del_ref (zend_objects_API.c:178)
==25680==    by 0xEA13B5: _zval_dtor_func (zend_variables.c:54)
==25680==    by 0xE830DE: _zval_dtor (zend_variables.h:35)
==25680==    by 0xE830DE: i_zval_ptr_dtor (zend_execute.h:81)
==25680==    by 0xE830DE: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC1186: zend_hash_apply_deleter (zend_hash.c:650)
==25680==    by 0xEC1B74: zend_hash_reverse_apply (zend_hash.c:804)
==25680==    by 0xE821D5: shutdown_destructors (zend_execute_API.c:214)
==25680==    by 0xEA4C90: zend_call_destructors (zend.c:930)
==25680==  Address 0x153d18c0 is 16 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid write of size 1
==25680==    at 0xE83146: zval_unset_isref_p (zend.h:421)
==25680==    by 0xE83146: i_zval_ptr_dtor (zend_execute.h:87)
==25680==    by 0xE83146: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC0C25: zend_hash_destroy (zend_hash.c:560)
==25680==    by 0xEEEE60: zend_object_std_dtor (zend_objects.c:44)
==25680==    by 0xEEF5C4: zend_objects_free_object_storage (zend_objects.c:137)
==25680==    by 0xEFEC0E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==25680==    by 0xEFE7A8: zend_objects_store_del_ref (zend_objects_API.c:178)
==25680==    by 0xEA13B5: _zval_dtor_func (zend_variables.c:54)
==25680==    by 0xE830DE: _zval_dtor (zend_variables.h:35)
==25680==    by 0xE830DE: i_zval_ptr_dtor (zend_execute.h:81)
==25680==    by 0xE830DE: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC1186: zend_hash_apply_deleter (zend_hash.c:650)
==25680==    by 0xEC1B74: zend_hash_reverse_apply (zend_hash.c:804)
==25680==    by 0xE821D5: shutdown_destructors (zend_execute_API.c:214)
==25680==    by 0xEA4C90: zend_call_destructors (zend.c:930)
==25680==  Address 0x153d18c5 is 21 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid read of size 1
==25680==    at 0xE83168: gc_zval_check_possible_root (zend_gc.h:182)
==25680==    by 0xE83168: i_zval_ptr_dtor (zend_execute.h:90)
==25680==    by 0xE83168: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC0C25: zend_hash_destroy (zend_hash.c:560)
==25680==    by 0xEEEE60: zend_object_std_dtor (zend_objects.c:44)
==25680==    by 0xEEF5C4: zend_objects_free_object_storage (zend_objects.c:137)
==25680==    by 0xEFEC0E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==25680==    by 0xEFE7A8: zend_objects_store_del_ref (zend_objects_API.c:178)
==25680==    by 0xEA13B5: _zval_dtor_func (zend_variables.c:54)
==25680==    by 0xE830DE: _zval_dtor (zend_variables.h:35)
==25680==    by 0xE830DE: i_zval_ptr_dtor (zend_execute.h:81)
==25680==    by 0xE830DE: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC1186: zend_hash_apply_deleter (zend_hash.c:650)
==25680==    by 0xEC1B74: zend_hash_reverse_apply (zend_hash.c:804)
==25680==    by 0xE821D5: shutdown_destructors (zend_execute_API.c:214)
==25680==    by 0xEA4C90: zend_call_destructors (zend.c:930)
==25680==  Address 0x153d18c4 is 20 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 
==25680== Invalid read of size 1
==25680==    at 0xE83186: gc_zval_check_possible_root (zend_gc.h:182)
==25680==    by 0xE83186: i_zval_ptr_dtor (zend_execute.h:90)
==25680==    by 0xE83186: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC0C25: zend_hash_destroy (zend_hash.c:560)
==25680==    by 0xEEEE60: zend_object_std_dtor (zend_objects.c:44)
==25680==    by 0xEEF5C4: zend_objects_free_object_storage (zend_objects.c:137)
==25680==    by 0xEFEC0E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==25680==    by 0xEFE7A8: zend_objects_store_del_ref (zend_objects_API.c:178)
==25680==    by 0xEA13B5: _zval_dtor_func (zend_variables.c:54)
==25680==    by 0xE830DE: _zval_dtor (zend_variables.h:35)
==25680==    by 0xE830DE: i_zval_ptr_dtor (zend_execute.h:81)
==25680==    by 0xE830DE: _zval_ptr_dtor (zend_execute_API.c:423)
==25680==    by 0xEC1186: zend_hash_apply_deleter (zend_hash.c:650)
==25680==    by 0xEC1B74: zend_hash_reverse_apply (zend_hash.c:804)
==25680==    by 0xE821D5: shutdown_destructors (zend_execute_API.c:214)
==25680==    by 0xEA4C90: zend_call_destructors (zend.c:930)
==25680==  Address 0x153d18c4 is 20 bytes inside a block of size 32 free'd
==25680==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==25680==    by 0xE51868: _efree (zend_alloc.c:2437)
==25680==    by 0xEE8EAF: gc_collect_cycles (zend_gc.c:846)
==25680==    by 0xEC6D4D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680==    by 0xF0B0AA: zend_execute (zend_vm_execute.h:388)
==25680==    by 0xEA69BC: zend_execute_scripts (zend.c:1327)
==25680==    by 0xDC914A: php_execute_script (main.c:2525)
==25680==    by 0x10908E9: do_cli (php_cli.c:994)
==25680==    by 0x1092096: main (php_cli.c:1378)
==25680==  Block was alloc'd at
==25680==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==25680==    by 0xE517D0: _emalloc (zend_alloc.c:2427)
==25680==    by 0xCC1A11: process_nested_data (var_unserializer.re:329)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCC1A6F: process_nested_data (var_unserializer.re:331)
==25680==    by 0xCC2359: object_common2 (var_unserializer.re:445)
==25680==    by 0xCC3882: php_var_unserialize (var_unserializer.re:836)
==25680==    by 0xCA537D: zif_unserialize (var.c:967)
==25680==    by 0xF0C8C9: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==25680==    by 0xF16A03: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==25680==    by 0xF0A518: execute_ex (zend_vm_execute.h:363)
==25680== 

 

Generated at Wed, 22 Jun 2016 23:04:17 +0000 (8 days ago)

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