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

==27936== Invalid read of size 1
==27936==    at 0xC96CB9: php_var_dump (var.c:99)
==27936==    by 0xC96C29: php_object_property_dump (var.c:82)
==27936==    by 0xEC16FE: zend_hash_apply_with_arguments (zend_hash.c:772)
==27936==    by 0xC975A6: php_var_dump (var.c:146)
==27936==    by 0xC978B8: zif_var_dump (var.c:183)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==  Address 0x153cb834 is 20 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid read of size 1
==27936==    at 0xC96DAC: zval_isref_p (zend.h:413)
==27936==    by 0xC96DAC: php_var_dump (var.c:104)
==27936==    by 0xC96C29: php_object_property_dump (var.c:82)
==27936==    by 0xEC16FE: zend_hash_apply_with_arguments (zend_hash.c:772)
==27936==    by 0xC975A6: php_var_dump (var.c:146)
==27936==    by 0xC978B8: zif_var_dump (var.c:183)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==  Address 0x153cb835 is 21 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid read of size 4
==27936==    at 0xE82E8C: zval_delref_p (zend.h:409)
==27936==    by 0xE82E8C: i_zval_ptr_dtor (zend_execute.h:76)
==27936==    by 0xE82E8C: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC09E5: zend_hash_destroy (zend_hash.c:560)
==27936==    by 0xEEEC20: zend_object_std_dtor (zend_objects.c:44)
==27936==    by 0xEEF384: zend_objects_free_object_storage (zend_objects.c:137)
==27936==    by 0xEFE9CE: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==27936==    by 0xEFE568: zend_objects_store_del_ref (zend_objects_API.c:178)
==27936==    by 0xEA1175: _zval_dtor_func (zend_variables.c:54)
==27936==    by 0xE82F2E: _zval_dtor (zend_variables.h:35)
==27936==    by 0xE82F2E: i_zval_ptr_dtor (zend_execute.h:81)
==27936==    by 0xE82F2E: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC0F46: zend_hash_apply_deleter (zend_hash.c:650)
==27936==    by 0xEC1934: zend_hash_reverse_apply (zend_hash.c:804)
==27936==    by 0xE82025: shutdown_destructors (zend_execute_API.c:214)
==27936==    by 0xEA4A50: zend_call_destructors (zend.c:930)
==27936==  Address 0x153cb830 is 16 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid write of size 4
==27936==    at 0xE82E96: zval_delref_p (zend.h:409)
==27936==    by 0xE82E96: i_zval_ptr_dtor (zend_execute.h:76)
==27936==    by 0xE82E96: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC09E5: zend_hash_destroy (zend_hash.c:560)
==27936==    by 0xEEEC20: zend_object_std_dtor (zend_objects.c:44)
==27936==    by 0xEEF384: zend_objects_free_object_storage (zend_objects.c:137)
==27936==    by 0xEFE9CE: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==27936==    by 0xEFE568: zend_objects_store_del_ref (zend_objects_API.c:178)
==27936==    by 0xEA1175: _zval_dtor_func (zend_variables.c:54)
==27936==    by 0xE82F2E: _zval_dtor (zend_variables.h:35)
==27936==    by 0xE82F2E: i_zval_ptr_dtor (zend_execute.h:81)
==27936==    by 0xE82F2E: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC0F46: zend_hash_apply_deleter (zend_hash.c:650)
==27936==    by 0xEC1934: zend_hash_reverse_apply (zend_hash.c:804)
==27936==    by 0xE82025: shutdown_destructors (zend_execute_API.c:214)
==27936==    by 0xEA4A50: zend_call_destructors (zend.c:930)
==27936==  Address 0x153cb830 is 16 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid read of size 4
==27936==    at 0xE82E9D: zval_delref_p (zend.h:409)
==27936==    by 0xE82E9D: i_zval_ptr_dtor (zend_execute.h:76)
==27936==    by 0xE82E9D: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC09E5: zend_hash_destroy (zend_hash.c:560)
==27936==    by 0xEEEC20: zend_object_std_dtor (zend_objects.c:44)
==27936==    by 0xEEF384: zend_objects_free_object_storage (zend_objects.c:137)
==27936==    by 0xEFE9CE: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==27936==    by 0xEFE568: zend_objects_store_del_ref (zend_objects_API.c:178)
==27936==    by 0xEA1175: _zval_dtor_func (zend_variables.c:54)
==27936==    by 0xE82F2E: _zval_dtor (zend_variables.h:35)
==27936==    by 0xE82F2E: i_zval_ptr_dtor (zend_execute.h:81)
==27936==    by 0xE82F2E: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC0F46: zend_hash_apply_deleter (zend_hash.c:650)
==27936==    by 0xEC1934: zend_hash_reverse_apply (zend_hash.c:804)
==27936==    by 0xE82025: shutdown_destructors (zend_execute_API.c:214)
==27936==    by 0xEA4A50: zend_call_destructors (zend.c:930)
==27936==  Address 0x153cb830 is 16 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid read of size 4
==27936==    at 0xE82F82: zval_refcount_p (zend.h:397)
==27936==    by 0xE82F82: i_zval_ptr_dtor (zend_execute.h:86)
==27936==    by 0xE82F82: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC09E5: zend_hash_destroy (zend_hash.c:560)
==27936==    by 0xEEEC20: zend_object_std_dtor (zend_objects.c:44)
==27936==    by 0xEEF384: zend_objects_free_object_storage (zend_objects.c:137)
==27936==    by 0xEFE9CE: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==27936==    by 0xEFE568: zend_objects_store_del_ref (zend_objects_API.c:178)
==27936==    by 0xEA1175: _zval_dtor_func (zend_variables.c:54)
==27936==    by 0xE82F2E: _zval_dtor (zend_variables.h:35)
==27936==    by 0xE82F2E: i_zval_ptr_dtor (zend_execute.h:81)
==27936==    by 0xE82F2E: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC0F46: zend_hash_apply_deleter (zend_hash.c:650)
==27936==    by 0xEC1934: zend_hash_reverse_apply (zend_hash.c:804)
==27936==    by 0xE82025: shutdown_destructors (zend_execute_API.c:214)
==27936==    by 0xEA4A50: zend_call_destructors (zend.c:930)
==27936==  Address 0x153cb830 is 16 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid write of size 1
==27936==    at 0xE82F96: zval_unset_isref_p (zend.h:421)
==27936==    by 0xE82F96: i_zval_ptr_dtor (zend_execute.h:87)
==27936==    by 0xE82F96: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC09E5: zend_hash_destroy (zend_hash.c:560)
==27936==    by 0xEEEC20: zend_object_std_dtor (zend_objects.c:44)
==27936==    by 0xEEF384: zend_objects_free_object_storage (zend_objects.c:137)
==27936==    by 0xEFE9CE: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==27936==    by 0xEFE568: zend_objects_store_del_ref (zend_objects_API.c:178)
==27936==    by 0xEA1175: _zval_dtor_func (zend_variables.c:54)
==27936==    by 0xE82F2E: _zval_dtor (zend_variables.h:35)
==27936==    by 0xE82F2E: i_zval_ptr_dtor (zend_execute.h:81)
==27936==    by 0xE82F2E: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC0F46: zend_hash_apply_deleter (zend_hash.c:650)
==27936==    by 0xEC1934: zend_hash_reverse_apply (zend_hash.c:804)
==27936==    by 0xE82025: shutdown_destructors (zend_execute_API.c:214)
==27936==    by 0xEA4A50: zend_call_destructors (zend.c:930)
==27936==  Address 0x153cb835 is 21 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid read of size 1
==27936==    at 0xE82FB8: gc_zval_check_possible_root (zend_gc.h:182)
==27936==    by 0xE82FB8: i_zval_ptr_dtor (zend_execute.h:90)
==27936==    by 0xE82FB8: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC09E5: zend_hash_destroy (zend_hash.c:560)
==27936==    by 0xEEEC20: zend_object_std_dtor (zend_objects.c:44)
==27936==    by 0xEEF384: zend_objects_free_object_storage (zend_objects.c:137)
==27936==    by 0xEFE9CE: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==27936==    by 0xEFE568: zend_objects_store_del_ref (zend_objects_API.c:178)
==27936==    by 0xEA1175: _zval_dtor_func (zend_variables.c:54)
==27936==    by 0xE82F2E: _zval_dtor (zend_variables.h:35)
==27936==    by 0xE82F2E: i_zval_ptr_dtor (zend_execute.h:81)
==27936==    by 0xE82F2E: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC0F46: zend_hash_apply_deleter (zend_hash.c:650)
==27936==    by 0xEC1934: zend_hash_reverse_apply (zend_hash.c:804)
==27936==    by 0xE82025: shutdown_destructors (zend_execute_API.c:214)
==27936==    by 0xEA4A50: zend_call_destructors (zend.c:930)
==27936==  Address 0x153cb834 is 20 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 
==27936== Invalid read of size 1
==27936==    at 0xE82FD6: gc_zval_check_possible_root (zend_gc.h:182)
==27936==    by 0xE82FD6: i_zval_ptr_dtor (zend_execute.h:90)
==27936==    by 0xE82FD6: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC09E5: zend_hash_destroy (zend_hash.c:560)
==27936==    by 0xEEEC20: zend_object_std_dtor (zend_objects.c:44)
==27936==    by 0xEEF384: zend_objects_free_object_storage (zend_objects.c:137)
==27936==    by 0xEFE9CE: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==27936==    by 0xEFE568: zend_objects_store_del_ref (zend_objects_API.c:178)
==27936==    by 0xEA1175: _zval_dtor_func (zend_variables.c:54)
==27936==    by 0xE82F2E: _zval_dtor (zend_variables.h:35)
==27936==    by 0xE82F2E: i_zval_ptr_dtor (zend_execute.h:81)
==27936==    by 0xE82F2E: _zval_ptr_dtor (zend_execute_API.c:423)
==27936==    by 0xEC0F46: zend_hash_apply_deleter (zend_hash.c:650)
==27936==    by 0xEC1934: zend_hash_reverse_apply (zend_hash.c:804)
==27936==    by 0xE82025: shutdown_destructors (zend_execute_API.c:214)
==27936==    by 0xEA4A50: zend_call_destructors (zend.c:930)
==27936==  Address 0x153cb834 is 20 bytes inside a block of size 32 free'd
==27936==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==27936==    by 0xE516B8: _efree (zend_alloc.c:2437)
==27936==    by 0xEE8C6F: gc_collect_cycles (zend_gc.c:846)
==27936==    by 0xEC6B0D: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936==    by 0xF0AE6A: zend_execute (zend_vm_execute.h:388)
==27936==    by 0xEA677C: zend_execute_scripts (zend.c:1327)
==27936==    by 0xDC8F9A: php_execute_script (main.c:2525)
==27936==    by 0x10906A9: do_cli (php_cli.c:994)
==27936==    by 0x1091E56: main (php_cli.c:1378)
==27936==  Block was alloc'd at
==27936==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==27936==    by 0xE51620: _emalloc (zend_alloc.c:2427)
==27936==    by 0xCC1861: process_nested_data (var_unserializer.re:329)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCC18BF: process_nested_data (var_unserializer.re:331)
==27936==    by 0xCC21A9: object_common2 (var_unserializer.re:445)
==27936==    by 0xCC36D2: php_var_unserialize (var_unserializer.re:836)
==27936==    by 0xCA51CD: zif_unserialize (var.c:967)
==27936==    by 0xF0C689: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27936==    by 0xF167C3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==27936==    by 0xF0A2D8: execute_ex (zend_vm_execute.h:363)
==27936== 

 

Generated at Tue, 24 May 2016 06:49:08 +0000 (22 hours ago)

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