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

==20971== Invalid read of size 1
==20971==    at 0xC96889: php_var_dump (var.c:99)
==20971==    by 0xC967F9: php_object_property_dump (var.c:82)
==20971==    by 0xEC12AA: zend_hash_apply_with_arguments (zend_hash.c:772)
==20971==    by 0xC97176: php_var_dump (var.c:146)
==20971==    by 0xC97488: zif_var_dump (var.c:183)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==  Address 0x153cb8c4 is 20 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid read of size 1
==20971==    at 0xC9697C: zval_isref_p (zend.h:413)
==20971==    by 0xC9697C: php_var_dump (var.c:104)
==20971==    by 0xC967F9: php_object_property_dump (var.c:82)
==20971==    by 0xEC12AA: zend_hash_apply_with_arguments (zend_hash.c:772)
==20971==    by 0xC97176: php_var_dump (var.c:146)
==20971==    by 0xC97488: zif_var_dump (var.c:183)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==  Address 0x153cb8c5 is 21 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid read of size 4
==20971==    at 0xE82A38: zval_delref_p (zend.h:409)
==20971==    by 0xE82A38: i_zval_ptr_dtor (zend_execute.h:76)
==20971==    by 0xE82A38: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0591: zend_hash_destroy (zend_hash.c:560)
==20971==    by 0xEEE7CC: zend_object_std_dtor (zend_objects.c:44)
==20971==    by 0xEEEF30: zend_objects_free_object_storage (zend_objects.c:137)
==20971==    by 0xEFE57A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==20971==    by 0xEFE114: zend_objects_store_del_ref (zend_objects_API.c:178)
==20971==    by 0xEA0D21: _zval_dtor_func (zend_variables.c:54)
==20971==    by 0xE82ADA: _zval_dtor (zend_variables.h:35)
==20971==    by 0xE82ADA: i_zval_ptr_dtor (zend_execute.h:81)
==20971==    by 0xE82ADA: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0AF2: zend_hash_apply_deleter (zend_hash.c:650)
==20971==    by 0xEC14E0: zend_hash_reverse_apply (zend_hash.c:804)
==20971==    by 0xE81BD1: shutdown_destructors (zend_execute_API.c:214)
==20971==    by 0xEA45FC: zend_call_destructors (zend.c:930)
==20971==  Address 0x153cb8c0 is 16 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid write of size 4
==20971==    at 0xE82A42: zval_delref_p (zend.h:409)
==20971==    by 0xE82A42: i_zval_ptr_dtor (zend_execute.h:76)
==20971==    by 0xE82A42: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0591: zend_hash_destroy (zend_hash.c:560)
==20971==    by 0xEEE7CC: zend_object_std_dtor (zend_objects.c:44)
==20971==    by 0xEEEF30: zend_objects_free_object_storage (zend_objects.c:137)
==20971==    by 0xEFE57A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==20971==    by 0xEFE114: zend_objects_store_del_ref (zend_objects_API.c:178)
==20971==    by 0xEA0D21: _zval_dtor_func (zend_variables.c:54)
==20971==    by 0xE82ADA: _zval_dtor (zend_variables.h:35)
==20971==    by 0xE82ADA: i_zval_ptr_dtor (zend_execute.h:81)
==20971==    by 0xE82ADA: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0AF2: zend_hash_apply_deleter (zend_hash.c:650)
==20971==    by 0xEC14E0: zend_hash_reverse_apply (zend_hash.c:804)
==20971==    by 0xE81BD1: shutdown_destructors (zend_execute_API.c:214)
==20971==    by 0xEA45FC: zend_call_destructors (zend.c:930)
==20971==  Address 0x153cb8c0 is 16 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid read of size 4
==20971==    at 0xE82A49: zval_delref_p (zend.h:409)
==20971==    by 0xE82A49: i_zval_ptr_dtor (zend_execute.h:76)
==20971==    by 0xE82A49: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0591: zend_hash_destroy (zend_hash.c:560)
==20971==    by 0xEEE7CC: zend_object_std_dtor (zend_objects.c:44)
==20971==    by 0xEEEF30: zend_objects_free_object_storage (zend_objects.c:137)
==20971==    by 0xEFE57A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==20971==    by 0xEFE114: zend_objects_store_del_ref (zend_objects_API.c:178)
==20971==    by 0xEA0D21: _zval_dtor_func (zend_variables.c:54)
==20971==    by 0xE82ADA: _zval_dtor (zend_variables.h:35)
==20971==    by 0xE82ADA: i_zval_ptr_dtor (zend_execute.h:81)
==20971==    by 0xE82ADA: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0AF2: zend_hash_apply_deleter (zend_hash.c:650)
==20971==    by 0xEC14E0: zend_hash_reverse_apply (zend_hash.c:804)
==20971==    by 0xE81BD1: shutdown_destructors (zend_execute_API.c:214)
==20971==    by 0xEA45FC: zend_call_destructors (zend.c:930)
==20971==  Address 0x153cb8c0 is 16 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid read of size 4
==20971==    at 0xE82B2E: zval_refcount_p (zend.h:397)
==20971==    by 0xE82B2E: i_zval_ptr_dtor (zend_execute.h:86)
==20971==    by 0xE82B2E: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0591: zend_hash_destroy (zend_hash.c:560)
==20971==    by 0xEEE7CC: zend_object_std_dtor (zend_objects.c:44)
==20971==    by 0xEEEF30: zend_objects_free_object_storage (zend_objects.c:137)
==20971==    by 0xEFE57A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==20971==    by 0xEFE114: zend_objects_store_del_ref (zend_objects_API.c:178)
==20971==    by 0xEA0D21: _zval_dtor_func (zend_variables.c:54)
==20971==    by 0xE82ADA: _zval_dtor (zend_variables.h:35)
==20971==    by 0xE82ADA: i_zval_ptr_dtor (zend_execute.h:81)
==20971==    by 0xE82ADA: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0AF2: zend_hash_apply_deleter (zend_hash.c:650)
==20971==    by 0xEC14E0: zend_hash_reverse_apply (zend_hash.c:804)
==20971==    by 0xE81BD1: shutdown_destructors (zend_execute_API.c:214)
==20971==    by 0xEA45FC: zend_call_destructors (zend.c:930)
==20971==  Address 0x153cb8c0 is 16 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid write of size 1
==20971==    at 0xE82B42: zval_unset_isref_p (zend.h:421)
==20971==    by 0xE82B42: i_zval_ptr_dtor (zend_execute.h:87)
==20971==    by 0xE82B42: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0591: zend_hash_destroy (zend_hash.c:560)
==20971==    by 0xEEE7CC: zend_object_std_dtor (zend_objects.c:44)
==20971==    by 0xEEEF30: zend_objects_free_object_storage (zend_objects.c:137)
==20971==    by 0xEFE57A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==20971==    by 0xEFE114: zend_objects_store_del_ref (zend_objects_API.c:178)
==20971==    by 0xEA0D21: _zval_dtor_func (zend_variables.c:54)
==20971==    by 0xE82ADA: _zval_dtor (zend_variables.h:35)
==20971==    by 0xE82ADA: i_zval_ptr_dtor (zend_execute.h:81)
==20971==    by 0xE82ADA: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0AF2: zend_hash_apply_deleter (zend_hash.c:650)
==20971==    by 0xEC14E0: zend_hash_reverse_apply (zend_hash.c:804)
==20971==    by 0xE81BD1: shutdown_destructors (zend_execute_API.c:214)
==20971==    by 0xEA45FC: zend_call_destructors (zend.c:930)
==20971==  Address 0x153cb8c5 is 21 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid read of size 1
==20971==    at 0xE82B64: gc_zval_check_possible_root (zend_gc.h:182)
==20971==    by 0xE82B64: i_zval_ptr_dtor (zend_execute.h:90)
==20971==    by 0xE82B64: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0591: zend_hash_destroy (zend_hash.c:560)
==20971==    by 0xEEE7CC: zend_object_std_dtor (zend_objects.c:44)
==20971==    by 0xEEEF30: zend_objects_free_object_storage (zend_objects.c:137)
==20971==    by 0xEFE57A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==20971==    by 0xEFE114: zend_objects_store_del_ref (zend_objects_API.c:178)
==20971==    by 0xEA0D21: _zval_dtor_func (zend_variables.c:54)
==20971==    by 0xE82ADA: _zval_dtor (zend_variables.h:35)
==20971==    by 0xE82ADA: i_zval_ptr_dtor (zend_execute.h:81)
==20971==    by 0xE82ADA: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0AF2: zend_hash_apply_deleter (zend_hash.c:650)
==20971==    by 0xEC14E0: zend_hash_reverse_apply (zend_hash.c:804)
==20971==    by 0xE81BD1: shutdown_destructors (zend_execute_API.c:214)
==20971==    by 0xEA45FC: zend_call_destructors (zend.c:930)
==20971==  Address 0x153cb8c4 is 20 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 
==20971== Invalid read of size 1
==20971==    at 0xE82B82: gc_zval_check_possible_root (zend_gc.h:182)
==20971==    by 0xE82B82: i_zval_ptr_dtor (zend_execute.h:90)
==20971==    by 0xE82B82: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0591: zend_hash_destroy (zend_hash.c:560)
==20971==    by 0xEEE7CC: zend_object_std_dtor (zend_objects.c:44)
==20971==    by 0xEEEF30: zend_objects_free_object_storage (zend_objects.c:137)
==20971==    by 0xEFE57A: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==20971==    by 0xEFE114: zend_objects_store_del_ref (zend_objects_API.c:178)
==20971==    by 0xEA0D21: _zval_dtor_func (zend_variables.c:54)
==20971==    by 0xE82ADA: _zval_dtor (zend_variables.h:35)
==20971==    by 0xE82ADA: i_zval_ptr_dtor (zend_execute.h:81)
==20971==    by 0xE82ADA: _zval_ptr_dtor (zend_execute_API.c:423)
==20971==    by 0xEC0AF2: zend_hash_apply_deleter (zend_hash.c:650)
==20971==    by 0xEC14E0: zend_hash_reverse_apply (zend_hash.c:804)
==20971==    by 0xE81BD1: shutdown_destructors (zend_execute_API.c:214)
==20971==    by 0xEA45FC: zend_call_destructors (zend.c:930)
==20971==  Address 0x153cb8c4 is 20 bytes inside a block of size 32 free'd
==20971==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==20971==    by 0xE51264: _efree (zend_alloc.c:2437)
==20971==    by 0xEE881B: gc_collect_cycles (zend_gc.c:846)
==20971==    by 0xEC66B9: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971==    by 0xF0AA16: zend_execute (zend_vm_execute.h:388)
==20971==    by 0xEA6328: zend_execute_scripts (zend.c:1327)
==20971==    by 0xDC8B46: php_execute_script (main.c:2525)
==20971==    by 0x1090255: do_cli (php_cli.c:994)
==20971==    by 0x1091A02: main (php_cli.c:1378)
==20971==  Block was alloc'd at
==20971==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==20971==    by 0xE511CC: _emalloc (zend_alloc.c:2427)
==20971==    by 0xCC1431: process_nested_data (var_unserializer.re:329)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCC148F: process_nested_data (var_unserializer.re:331)
==20971==    by 0xCC1D79: object_common2 (var_unserializer.re:445)
==20971==    by 0xCC32A2: php_var_unserialize (var_unserializer.re:836)
==20971==    by 0xCA4D9D: zif_unserialize (var.c:967)
==20971==    by 0xF0C235: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==20971==    by 0xF1636F: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==20971==    by 0xF09E84: execute_ex (zend_vm_execute.h:363)
==20971== 

 

Generated at Mon, 25 Apr 2016 08:54:27 +0000 (6 days ago)

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