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

==11837== Invalid read of size 1
==11837==    at 0xCCD85D: php_var_dump (var.c:99)
==11837==    by 0xCCD7CD: php_object_property_dump (var.c:82)
==11837==    by 0xF102E5: zend_hash_apply_with_arguments (zend_hash.c:701)
==11837==    by 0xCCE14A: php_var_dump (var.c:146)
==11837==    by 0xCCE45C: zif_var_dump (var.c:183)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==  Address 0x153ea4b4 is 20 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid read of size 1
==11837==    at 0xCCD950: zval_isref_p (zend.h:415)
==11837==    by 0xCCD950: php_var_dump (var.c:104)
==11837==    by 0xCCD7CD: php_object_property_dump (var.c:82)
==11837==    by 0xF102E5: zend_hash_apply_with_arguments (zend_hash.c:701)
==11837==    by 0xCCE14A: php_var_dump (var.c:146)
==11837==    by 0xCCE45C: zif_var_dump (var.c:183)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==  Address 0x153ea4b5 is 21 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid read of size 4
==11837==    at 0xECF783: zval_delref_p (zend.h:411)
==11837==    by 0xECF783: i_zval_ptr_dtor (zend_execute.h:76)
==11837==    by 0xECF783: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0F8F9: zend_hash_destroy (zend_hash.c:548)
==11837==    by 0xF44E04: zend_object_std_dtor (zend_objects.c:44)
==11837==    by 0xF45568: zend_objects_free_object_storage (zend_objects.c:137)
==11837==    by 0xF54B1E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==11837==    by 0xF546B8: zend_objects_store_del_ref (zend_objects_API.c:178)
==11837==    by 0xEEF4D7: _zval_dtor_func (zend_variables.c:57)
==11837==    by 0xECF825: _zval_dtor (zend_variables.h:35)
==11837==    by 0xECF825: i_zval_ptr_dtor (zend_execute.h:79)
==11837==    by 0xECF825: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0D158: i_zend_hash_bucket_delete (zend_hash.c:182)
==11837==    by 0xF0D158: zend_hash_bucket_delete (zend_hash.c:192)
==11837==    by 0xF10518: zend_hash_reverse_apply (zend_hash.c:733)
==11837==    by 0xECE91C: shutdown_destructors (zend_execute_API.c:214)
==11837==    by 0xEF2D9A: zend_call_destructors (zend.c:944)
==11837==  Address 0x153ea4b0 is 16 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid write of size 4
==11837==    at 0xECF78D: zval_delref_p (zend.h:411)
==11837==    by 0xECF78D: i_zval_ptr_dtor (zend_execute.h:76)
==11837==    by 0xECF78D: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0F8F9: zend_hash_destroy (zend_hash.c:548)
==11837==    by 0xF44E04: zend_object_std_dtor (zend_objects.c:44)
==11837==    by 0xF45568: zend_objects_free_object_storage (zend_objects.c:137)
==11837==    by 0xF54B1E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==11837==    by 0xF546B8: zend_objects_store_del_ref (zend_objects_API.c:178)
==11837==    by 0xEEF4D7: _zval_dtor_func (zend_variables.c:57)
==11837==    by 0xECF825: _zval_dtor (zend_variables.h:35)
==11837==    by 0xECF825: i_zval_ptr_dtor (zend_execute.h:79)
==11837==    by 0xECF825: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0D158: i_zend_hash_bucket_delete (zend_hash.c:182)
==11837==    by 0xF0D158: zend_hash_bucket_delete (zend_hash.c:192)
==11837==    by 0xF10518: zend_hash_reverse_apply (zend_hash.c:733)
==11837==    by 0xECE91C: shutdown_destructors (zend_execute_API.c:214)
==11837==    by 0xEF2D9A: zend_call_destructors (zend.c:944)
==11837==  Address 0x153ea4b0 is 16 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid read of size 4
==11837==    at 0xECF794: zval_delref_p (zend.h:411)
==11837==    by 0xECF794: i_zval_ptr_dtor (zend_execute.h:76)
==11837==    by 0xECF794: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0F8F9: zend_hash_destroy (zend_hash.c:548)
==11837==    by 0xF44E04: zend_object_std_dtor (zend_objects.c:44)
==11837==    by 0xF45568: zend_objects_free_object_storage (zend_objects.c:137)
==11837==    by 0xF54B1E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==11837==    by 0xF546B8: zend_objects_store_del_ref (zend_objects_API.c:178)
==11837==    by 0xEEF4D7: _zval_dtor_func (zend_variables.c:57)
==11837==    by 0xECF825: _zval_dtor (zend_variables.h:35)
==11837==    by 0xECF825: i_zval_ptr_dtor (zend_execute.h:79)
==11837==    by 0xECF825: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0D158: i_zend_hash_bucket_delete (zend_hash.c:182)
==11837==    by 0xF0D158: zend_hash_bucket_delete (zend_hash.c:192)
==11837==    by 0xF10518: zend_hash_reverse_apply (zend_hash.c:733)
==11837==    by 0xECE91C: shutdown_destructors (zend_execute_API.c:214)
==11837==    by 0xEF2D9A: zend_call_destructors (zend.c:944)
==11837==  Address 0x153ea4b0 is 16 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid read of size 4
==11837==    at 0xECF879: zval_refcount_p (zend.h:399)
==11837==    by 0xECF879: i_zval_ptr_dtor (zend_execute.h:82)
==11837==    by 0xECF879: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0F8F9: zend_hash_destroy (zend_hash.c:548)
==11837==    by 0xF44E04: zend_object_std_dtor (zend_objects.c:44)
==11837==    by 0xF45568: zend_objects_free_object_storage (zend_objects.c:137)
==11837==    by 0xF54B1E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==11837==    by 0xF546B8: zend_objects_store_del_ref (zend_objects_API.c:178)
==11837==    by 0xEEF4D7: _zval_dtor_func (zend_variables.c:57)
==11837==    by 0xECF825: _zval_dtor (zend_variables.h:35)
==11837==    by 0xECF825: i_zval_ptr_dtor (zend_execute.h:79)
==11837==    by 0xECF825: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0D158: i_zend_hash_bucket_delete (zend_hash.c:182)
==11837==    by 0xF0D158: zend_hash_bucket_delete (zend_hash.c:192)
==11837==    by 0xF10518: zend_hash_reverse_apply (zend_hash.c:733)
==11837==    by 0xECE91C: shutdown_destructors (zend_execute_API.c:214)
==11837==    by 0xEF2D9A: zend_call_destructors (zend.c:944)
==11837==  Address 0x153ea4b0 is 16 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid write of size 1
==11837==    at 0xECF88D: zval_unset_isref_p (zend.h:423)
==11837==    by 0xECF88D: i_zval_ptr_dtor (zend_execute.h:83)
==11837==    by 0xECF88D: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0F8F9: zend_hash_destroy (zend_hash.c:548)
==11837==    by 0xF44E04: zend_object_std_dtor (zend_objects.c:44)
==11837==    by 0xF45568: zend_objects_free_object_storage (zend_objects.c:137)
==11837==    by 0xF54B1E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==11837==    by 0xF546B8: zend_objects_store_del_ref (zend_objects_API.c:178)
==11837==    by 0xEEF4D7: _zval_dtor_func (zend_variables.c:57)
==11837==    by 0xECF825: _zval_dtor (zend_variables.h:35)
==11837==    by 0xECF825: i_zval_ptr_dtor (zend_execute.h:79)
==11837==    by 0xECF825: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0D158: i_zend_hash_bucket_delete (zend_hash.c:182)
==11837==    by 0xF0D158: zend_hash_bucket_delete (zend_hash.c:192)
==11837==    by 0xF10518: zend_hash_reverse_apply (zend_hash.c:733)
==11837==    by 0xECE91C: shutdown_destructors (zend_execute_API.c:214)
==11837==    by 0xEF2D9A: zend_call_destructors (zend.c:944)
==11837==  Address 0x153ea4b5 is 21 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid read of size 1
==11837==    at 0xECF8AF: gc_zval_check_possible_root (zend_gc.h:182)
==11837==    by 0xECF8AF: i_zval_ptr_dtor (zend_execute.h:86)
==11837==    by 0xECF8AF: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0F8F9: zend_hash_destroy (zend_hash.c:548)
==11837==    by 0xF44E04: zend_object_std_dtor (zend_objects.c:44)
==11837==    by 0xF45568: zend_objects_free_object_storage (zend_objects.c:137)
==11837==    by 0xF54B1E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==11837==    by 0xF546B8: zend_objects_store_del_ref (zend_objects_API.c:178)
==11837==    by 0xEEF4D7: _zval_dtor_func (zend_variables.c:57)
==11837==    by 0xECF825: _zval_dtor (zend_variables.h:35)
==11837==    by 0xECF825: i_zval_ptr_dtor (zend_execute.h:79)
==11837==    by 0xECF825: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0D158: i_zend_hash_bucket_delete (zend_hash.c:182)
==11837==    by 0xF0D158: zend_hash_bucket_delete (zend_hash.c:192)
==11837==    by 0xF10518: zend_hash_reverse_apply (zend_hash.c:733)
==11837==    by 0xECE91C: shutdown_destructors (zend_execute_API.c:214)
==11837==    by 0xEF2D9A: zend_call_destructors (zend.c:944)
==11837==  Address 0x153ea4b4 is 20 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 
==11837== Invalid read of size 1
==11837==    at 0xECF8CD: gc_zval_check_possible_root (zend_gc.h:182)
==11837==    by 0xECF8CD: i_zval_ptr_dtor (zend_execute.h:86)
==11837==    by 0xECF8CD: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0F8F9: zend_hash_destroy (zend_hash.c:548)
==11837==    by 0xF44E04: zend_object_std_dtor (zend_objects.c:44)
==11837==    by 0xF45568: zend_objects_free_object_storage (zend_objects.c:137)
==11837==    by 0xF54B1E: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==11837==    by 0xF546B8: zend_objects_store_del_ref (zend_objects_API.c:178)
==11837==    by 0xEEF4D7: _zval_dtor_func (zend_variables.c:57)
==11837==    by 0xECF825: _zval_dtor (zend_variables.h:35)
==11837==    by 0xECF825: i_zval_ptr_dtor (zend_execute.h:79)
==11837==    by 0xECF825: _zval_ptr_dtor (zend_execute_API.c:424)
==11837==    by 0xF0D158: i_zend_hash_bucket_delete (zend_hash.c:182)
==11837==    by 0xF0D158: zend_hash_bucket_delete (zend_hash.c:192)
==11837==    by 0xF10518: zend_hash_reverse_apply (zend_hash.c:733)
==11837==    by 0xECE91C: shutdown_destructors (zend_execute_API.c:214)
==11837==    by 0xEF2D9A: zend_call_destructors (zend.c:944)
==11837==  Address 0x153ea4b4 is 20 bytes inside a block of size 32 free'd
==11837==    at 0x4C27B94: free (vg_replace_malloc.c:529)
==11837==    by 0xE9E3A8: _efree (zend_alloc.c:2437)
==11837==    by 0xF378BF: gc_collect_cycles (zend_gc.c:846)
==11837==    by 0xF1577E: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837==    by 0xF603CC: execute_ex (zend_vm_execute.h:363)
==11837==    by 0xF60F6F: zend_execute (zend_vm_execute.h:388)
==11837==    by 0xEF4ABA: zend_execute_scripts (zend.c:1341)
==11837==    by 0xE110A1: php_execute_script (main.c:2613)
==11837==    by 0x10AF4EE: do_cli (php_cli.c:998)
==11837==    by 0x10B0CE7: main (php_cli.c:1382)
==11837==  Block was alloc'd at
==11837==    at 0x4C281BA: malloc (vg_replace_malloc.c:298)
==11837==    by 0xE997DF: __zend_malloc (zend_alloc.h:97)
==11837==    by 0xE9E310: _emalloc (zend_alloc.c:2427)
==11837==    by 0xCFCCAD: process_nested_data (var_unserializer.re:328)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCFCD0B: process_nested_data (var_unserializer.re:330)
==11837==    by 0xCFD58C: object_common2 (var_unserializer.re:440)
==11837==    by 0xCFEC16: php_var_unserialize (var_unserializer.re:852)
==11837==    by 0xCDE455: zif_unserialize (var.c:964)
==11837==    by 0xF62946: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==11837==    by 0xF6E4DC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==11837== 

 

Generated at Fri, 02 Dec 2016 03:24:46 +0000 (16 hours ago)

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