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

==528== Invalid read of size 1
==528==    at 0xCB79A2: php_var_dump (var.c:99)
==528==    by 0xCB7916: php_object_property_dump (var.c:82)
==528==    by 0xEF3B78: zend_hash_apply_with_arguments (zend_hash.c:701)
==528==    by 0xCB8223: php_var_dump (var.c:146)
==528==    by 0xCB8550: zif_var_dump (var.c:183)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==  Address 0x15426244 is 20 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid read of size 1
==528==    at 0xCB7A82: zval_isref_p (zend.h:415)
==528==    by 0xCB7A82: php_var_dump (var.c:104)
==528==    by 0xCB7916: php_object_property_dump (var.c:82)
==528==    by 0xEF3B78: zend_hash_apply_with_arguments (zend_hash.c:701)
==528==    by 0xCB8223: php_var_dump (var.c:146)
==528==    by 0xCB8550: zif_var_dump (var.c:183)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==  Address 0x15426245 is 21 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid read of size 4
==528==    at 0xEB38E1: zval_delref_p (zend.h:411)
==528==    by 0xEB38E1: i_zval_ptr_dtor (zend_execute.h:76)
==528==    by 0xEB38E1: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF31D4: zend_hash_destroy (zend_hash.c:548)
==528==    by 0xF27C41: zend_object_std_dtor (zend_objects.c:44)
==528==    by 0xF28394: zend_objects_free_object_storage (zend_objects.c:137)
==528==    by 0xF37434: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==528==    by 0xF36FCE: zend_objects_store_del_ref (zend_objects_API.c:178)
==528==    by 0xED31C3: _zval_dtor_func (zend_variables.c:57)
==528==    by 0xEB3983: _zval_dtor (zend_variables.h:35)
==528==    by 0xEB3983: i_zval_ptr_dtor (zend_execute.h:79)
==528==    by 0xEB3983: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF0A41: i_zend_hash_bucket_delete (zend_hash.c:182)
==528==    by 0xEF0A41: zend_hash_bucket_delete (zend_hash.c:192)
==528==    by 0xEF3D79: zend_hash_reverse_apply (zend_hash.c:733)
==528==    by 0xEB2A90: shutdown_destructors (zend_execute_API.c:214)
==528==    by 0xED69DB: zend_call_destructors (zend.c:944)
==528==  Address 0x15426240 is 16 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid write of size 4
==528==    at 0xEB38EB: zval_delref_p (zend.h:411)
==528==    by 0xEB38EB: i_zval_ptr_dtor (zend_execute.h:76)
==528==    by 0xEB38EB: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF31D4: zend_hash_destroy (zend_hash.c:548)
==528==    by 0xF27C41: zend_object_std_dtor (zend_objects.c:44)
==528==    by 0xF28394: zend_objects_free_object_storage (zend_objects.c:137)
==528==    by 0xF37434: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==528==    by 0xF36FCE: zend_objects_store_del_ref (zend_objects_API.c:178)
==528==    by 0xED31C3: _zval_dtor_func (zend_variables.c:57)
==528==    by 0xEB3983: _zval_dtor (zend_variables.h:35)
==528==    by 0xEB3983: i_zval_ptr_dtor (zend_execute.h:79)
==528==    by 0xEB3983: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF0A41: i_zend_hash_bucket_delete (zend_hash.c:182)
==528==    by 0xEF0A41: zend_hash_bucket_delete (zend_hash.c:192)
==528==    by 0xEF3D79: zend_hash_reverse_apply (zend_hash.c:733)
==528==    by 0xEB2A90: shutdown_destructors (zend_execute_API.c:214)
==528==    by 0xED69DB: zend_call_destructors (zend.c:944)
==528==  Address 0x15426240 is 16 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid read of size 4
==528==    at 0xEB38F2: zval_delref_p (zend.h:411)
==528==    by 0xEB38F2: i_zval_ptr_dtor (zend_execute.h:76)
==528==    by 0xEB38F2: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF31D4: zend_hash_destroy (zend_hash.c:548)
==528==    by 0xF27C41: zend_object_std_dtor (zend_objects.c:44)
==528==    by 0xF28394: zend_objects_free_object_storage (zend_objects.c:137)
==528==    by 0xF37434: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==528==    by 0xF36FCE: zend_objects_store_del_ref (zend_objects_API.c:178)
==528==    by 0xED31C3: _zval_dtor_func (zend_variables.c:57)
==528==    by 0xEB3983: _zval_dtor (zend_variables.h:35)
==528==    by 0xEB3983: i_zval_ptr_dtor (zend_execute.h:79)
==528==    by 0xEB3983: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF0A41: i_zend_hash_bucket_delete (zend_hash.c:182)
==528==    by 0xEF0A41: zend_hash_bucket_delete (zend_hash.c:192)
==528==    by 0xEF3D79: zend_hash_reverse_apply (zend_hash.c:733)
==528==    by 0xEB2A90: shutdown_destructors (zend_execute_API.c:214)
==528==    by 0xED69DB: zend_call_destructors (zend.c:944)
==528==  Address 0x15426240 is 16 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid read of size 4
==528==    at 0xEB39C5: zval_refcount_p (zend.h:399)
==528==    by 0xEB39C5: i_zval_ptr_dtor (zend_execute.h:82)
==528==    by 0xEB39C5: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF31D4: zend_hash_destroy (zend_hash.c:548)
==528==    by 0xF27C41: zend_object_std_dtor (zend_objects.c:44)
==528==    by 0xF28394: zend_objects_free_object_storage (zend_objects.c:137)
==528==    by 0xF37434: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==528==    by 0xF36FCE: zend_objects_store_del_ref (zend_objects_API.c:178)
==528==    by 0xED31C3: _zval_dtor_func (zend_variables.c:57)
==528==    by 0xEB3983: _zval_dtor (zend_variables.h:35)
==528==    by 0xEB3983: i_zval_ptr_dtor (zend_execute.h:79)
==528==    by 0xEB3983: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF0A41: i_zend_hash_bucket_delete (zend_hash.c:182)
==528==    by 0xEF0A41: zend_hash_bucket_delete (zend_hash.c:192)
==528==    by 0xEF3D79: zend_hash_reverse_apply (zend_hash.c:733)
==528==    by 0xEB2A90: shutdown_destructors (zend_execute_API.c:214)
==528==    by 0xED69DB: zend_call_destructors (zend.c:944)
==528==  Address 0x15426240 is 16 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid write of size 1
==528==    at 0xEB39EB: zval_unset_isref_p (zend.h:423)
==528==    by 0xEB39EB: i_zval_ptr_dtor (zend_execute.h:83)
==528==    by 0xEB39EB: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF31D4: zend_hash_destroy (zend_hash.c:548)
==528==    by 0xF27C41: zend_object_std_dtor (zend_objects.c:44)
==528==    by 0xF28394: zend_objects_free_object_storage (zend_objects.c:137)
==528==    by 0xF37434: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==528==    by 0xF36FCE: zend_objects_store_del_ref (zend_objects_API.c:178)
==528==    by 0xED31C3: _zval_dtor_func (zend_variables.c:57)
==528==    by 0xEB3983: _zval_dtor (zend_variables.h:35)
==528==    by 0xEB3983: i_zval_ptr_dtor (zend_execute.h:79)
==528==    by 0xEB3983: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF0A41: i_zend_hash_bucket_delete (zend_hash.c:182)
==528==    by 0xEF0A41: zend_hash_bucket_delete (zend_hash.c:192)
==528==    by 0xEF3D79: zend_hash_reverse_apply (zend_hash.c:733)
==528==    by 0xEB2A90: shutdown_destructors (zend_execute_API.c:214)
==528==    by 0xED69DB: zend_call_destructors (zend.c:944)
==528==  Address 0x15426245 is 21 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid read of size 1
==528==    at 0xEB3A0D: gc_zval_check_possible_root (zend_gc.h:182)
==528==    by 0xEB3A0D: i_zval_ptr_dtor (zend_execute.h:86)
==528==    by 0xEB3A0D: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF31D4: zend_hash_destroy (zend_hash.c:548)
==528==    by 0xF27C41: zend_object_std_dtor (zend_objects.c:44)
==528==    by 0xF28394: zend_objects_free_object_storage (zend_objects.c:137)
==528==    by 0xF37434: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==528==    by 0xF36FCE: zend_objects_store_del_ref (zend_objects_API.c:178)
==528==    by 0xED31C3: _zval_dtor_func (zend_variables.c:57)
==528==    by 0xEB3983: _zval_dtor (zend_variables.h:35)
==528==    by 0xEB3983: i_zval_ptr_dtor (zend_execute.h:79)
==528==    by 0xEB3983: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF0A41: i_zend_hash_bucket_delete (zend_hash.c:182)
==528==    by 0xEF0A41: zend_hash_bucket_delete (zend_hash.c:192)
==528==    by 0xEF3D79: zend_hash_reverse_apply (zend_hash.c:733)
==528==    by 0xEB2A90: shutdown_destructors (zend_execute_API.c:214)
==528==    by 0xED69DB: zend_call_destructors (zend.c:944)
==528==  Address 0x15426244 is 20 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 
==528== Invalid read of size 1
==528==    at 0xEB3A2B: gc_zval_check_possible_root (zend_gc.h:182)
==528==    by 0xEB3A2B: i_zval_ptr_dtor (zend_execute.h:86)
==528==    by 0xEB3A2B: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF31D4: zend_hash_destroy (zend_hash.c:548)
==528==    by 0xF27C41: zend_object_std_dtor (zend_objects.c:44)
==528==    by 0xF28394: zend_objects_free_object_storage (zend_objects.c:137)
==528==    by 0xF37434: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==528==    by 0xF36FCE: zend_objects_store_del_ref (zend_objects_API.c:178)
==528==    by 0xED31C3: _zval_dtor_func (zend_variables.c:57)
==528==    by 0xEB3983: _zval_dtor (zend_variables.h:35)
==528==    by 0xEB3983: i_zval_ptr_dtor (zend_execute.h:79)
==528==    by 0xEB3983: _zval_ptr_dtor (zend_execute_API.c:424)
==528==    by 0xEF0A41: i_zend_hash_bucket_delete (zend_hash.c:182)
==528==    by 0xEF0A41: zend_hash_bucket_delete (zend_hash.c:192)
==528==    by 0xEF3D79: zend_hash_reverse_apply (zend_hash.c:733)
==528==    by 0xEB2A90: shutdown_destructors (zend_execute_API.c:214)
==528==    by 0xED69DB: zend_call_destructors (zend.c:944)
==528==  Address 0x15426244 is 20 bytes inside a block of size 32 free'd
==528==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==528==    by 0xE826A1: _efree (zend_alloc.c:2437)
==528==    by 0xF1A518: gc_collect_cycles (zend_gc.c:846)
==528==    by 0xEF8F56: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528==    by 0xF42A5F: execute_ex (zend_vm_execute.h:363)
==528==    by 0xF43638: zend_execute (zend_vm_execute.h:388)
==528==    by 0xED8617: zend_execute_scripts (zend.c:1341)
==528==    by 0xDF83AE: php_execute_script (main.c:2613)
==528==    by 0x1089F48: do_cli (php_cli.c:998)
==528==    by 0x108B82D: main (php_cli.c:1382)
==528==  Block was alloc'd at
==528==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==528==    by 0xE7DC72: __zend_malloc (zend_alloc.h:97)
==528==    by 0xE82600: _emalloc (zend_alloc.c:2427)
==528==    by 0xCE66FA: process_nested_data (var_unserializer.re:367)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCE6758: process_nested_data (var_unserializer.re:369)
==528==    by 0xCE705D: object_common2 (var_unserializer.re:480)
==528==    by 0xCE86BA: php_var_unserialize (var_unserializer.re:899)
==528==    by 0xCC843B: zif_unserialize (var.c:964)
==528==    by 0xF44F31: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==528==    by 0xF506F4: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==528== 

 

Generated at Mon, 24 Sep 2018 07:30:26 +0000 (54 days ago)

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