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

==13669== Invalid read of size 1
==13669==    at 0xC957A5: php_var_dump (var.c:99)
==13669==    by 0xC95715: php_object_property_dump (var.c:82)
==13669==    by 0xEC00F6: zend_hash_apply_with_arguments (zend_hash.c:772)
==13669==    by 0xC96092: php_var_dump (var.c:146)
==13669==    by 0xC963A4: zif_var_dump (var.c:183)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==  Address 0x153b6734 is 20 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid read of size 1
==13669==    at 0xC95898: zval_isref_p (zend.h:413)
==13669==    by 0xC95898: php_var_dump (var.c:104)
==13669==    by 0xC95715: php_object_property_dump (var.c:82)
==13669==    by 0xEC00F6: zend_hash_apply_with_arguments (zend_hash.c:772)
==13669==    by 0xC96092: php_var_dump (var.c:146)
==13669==    by 0xC963A4: zif_var_dump (var.c:183)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==  Address 0x153b6735 is 21 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid read of size 4
==13669==    at 0xE81884: zval_delref_p (zend.h:409)
==13669==    by 0xE81884: i_zval_ptr_dtor (zend_execute.h:76)
==13669==    by 0xE81884: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF3DD: zend_hash_destroy (zend_hash.c:560)
==13669==    by 0xEED618: zend_object_std_dtor (zend_objects.c:44)
==13669==    by 0xEEDD7C: zend_objects_free_object_storage (zend_objects.c:137)
==13669==    by 0xEFD3C6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==13669==    by 0xEFCF60: zend_objects_store_del_ref (zend_objects_API.c:178)
==13669==    by 0xE9FB6D: _zval_dtor_func (zend_variables.c:54)
==13669==    by 0xE81926: _zval_dtor (zend_variables.h:35)
==13669==    by 0xE81926: i_zval_ptr_dtor (zend_execute.h:81)
==13669==    by 0xE81926: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF93E: zend_hash_apply_deleter (zend_hash.c:650)
==13669==    by 0xEC032C: zend_hash_reverse_apply (zend_hash.c:804)
==13669==    by 0xE80A1D: shutdown_destructors (zend_execute_API.c:214)
==13669==    by 0xEA3448: zend_call_destructors (zend.c:930)
==13669==  Address 0x153b6730 is 16 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid write of size 4
==13669==    at 0xE8188E: zval_delref_p (zend.h:409)
==13669==    by 0xE8188E: i_zval_ptr_dtor (zend_execute.h:76)
==13669==    by 0xE8188E: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF3DD: zend_hash_destroy (zend_hash.c:560)
==13669==    by 0xEED618: zend_object_std_dtor (zend_objects.c:44)
==13669==    by 0xEEDD7C: zend_objects_free_object_storage (zend_objects.c:137)
==13669==    by 0xEFD3C6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==13669==    by 0xEFCF60: zend_objects_store_del_ref (zend_objects_API.c:178)
==13669==    by 0xE9FB6D: _zval_dtor_func (zend_variables.c:54)
==13669==    by 0xE81926: _zval_dtor (zend_variables.h:35)
==13669==    by 0xE81926: i_zval_ptr_dtor (zend_execute.h:81)
==13669==    by 0xE81926: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF93E: zend_hash_apply_deleter (zend_hash.c:650)
==13669==    by 0xEC032C: zend_hash_reverse_apply (zend_hash.c:804)
==13669==    by 0xE80A1D: shutdown_destructors (zend_execute_API.c:214)
==13669==    by 0xEA3448: zend_call_destructors (zend.c:930)
==13669==  Address 0x153b6730 is 16 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid read of size 4
==13669==    at 0xE81895: zval_delref_p (zend.h:409)
==13669==    by 0xE81895: i_zval_ptr_dtor (zend_execute.h:76)
==13669==    by 0xE81895: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF3DD: zend_hash_destroy (zend_hash.c:560)
==13669==    by 0xEED618: zend_object_std_dtor (zend_objects.c:44)
==13669==    by 0xEEDD7C: zend_objects_free_object_storage (zend_objects.c:137)
==13669==    by 0xEFD3C6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==13669==    by 0xEFCF60: zend_objects_store_del_ref (zend_objects_API.c:178)
==13669==    by 0xE9FB6D: _zval_dtor_func (zend_variables.c:54)
==13669==    by 0xE81926: _zval_dtor (zend_variables.h:35)
==13669==    by 0xE81926: i_zval_ptr_dtor (zend_execute.h:81)
==13669==    by 0xE81926: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF93E: zend_hash_apply_deleter (zend_hash.c:650)
==13669==    by 0xEC032C: zend_hash_reverse_apply (zend_hash.c:804)
==13669==    by 0xE80A1D: shutdown_destructors (zend_execute_API.c:214)
==13669==    by 0xEA3448: zend_call_destructors (zend.c:930)
==13669==  Address 0x153b6730 is 16 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid read of size 4
==13669==    at 0xE8197A: zval_refcount_p (zend.h:397)
==13669==    by 0xE8197A: i_zval_ptr_dtor (zend_execute.h:86)
==13669==    by 0xE8197A: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF3DD: zend_hash_destroy (zend_hash.c:560)
==13669==    by 0xEED618: zend_object_std_dtor (zend_objects.c:44)
==13669==    by 0xEEDD7C: zend_objects_free_object_storage (zend_objects.c:137)
==13669==    by 0xEFD3C6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==13669==    by 0xEFCF60: zend_objects_store_del_ref (zend_objects_API.c:178)
==13669==    by 0xE9FB6D: _zval_dtor_func (zend_variables.c:54)
==13669==    by 0xE81926: _zval_dtor (zend_variables.h:35)
==13669==    by 0xE81926: i_zval_ptr_dtor (zend_execute.h:81)
==13669==    by 0xE81926: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF93E: zend_hash_apply_deleter (zend_hash.c:650)
==13669==    by 0xEC032C: zend_hash_reverse_apply (zend_hash.c:804)
==13669==    by 0xE80A1D: shutdown_destructors (zend_execute_API.c:214)
==13669==    by 0xEA3448: zend_call_destructors (zend.c:930)
==13669==  Address 0x153b6730 is 16 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid write of size 1
==13669==    at 0xE8198E: zval_unset_isref_p (zend.h:421)
==13669==    by 0xE8198E: i_zval_ptr_dtor (zend_execute.h:87)
==13669==    by 0xE8198E: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF3DD: zend_hash_destroy (zend_hash.c:560)
==13669==    by 0xEED618: zend_object_std_dtor (zend_objects.c:44)
==13669==    by 0xEEDD7C: zend_objects_free_object_storage (zend_objects.c:137)
==13669==    by 0xEFD3C6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==13669==    by 0xEFCF60: zend_objects_store_del_ref (zend_objects_API.c:178)
==13669==    by 0xE9FB6D: _zval_dtor_func (zend_variables.c:54)
==13669==    by 0xE81926: _zval_dtor (zend_variables.h:35)
==13669==    by 0xE81926: i_zval_ptr_dtor (zend_execute.h:81)
==13669==    by 0xE81926: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF93E: zend_hash_apply_deleter (zend_hash.c:650)
==13669==    by 0xEC032C: zend_hash_reverse_apply (zend_hash.c:804)
==13669==    by 0xE80A1D: shutdown_destructors (zend_execute_API.c:214)
==13669==    by 0xEA3448: zend_call_destructors (zend.c:930)
==13669==  Address 0x153b6735 is 21 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid read of size 1
==13669==    at 0xE819B0: gc_zval_check_possible_root (zend_gc.h:182)
==13669==    by 0xE819B0: i_zval_ptr_dtor (zend_execute.h:90)
==13669==    by 0xE819B0: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF3DD: zend_hash_destroy (zend_hash.c:560)
==13669==    by 0xEED618: zend_object_std_dtor (zend_objects.c:44)
==13669==    by 0xEEDD7C: zend_objects_free_object_storage (zend_objects.c:137)
==13669==    by 0xEFD3C6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==13669==    by 0xEFCF60: zend_objects_store_del_ref (zend_objects_API.c:178)
==13669==    by 0xE9FB6D: _zval_dtor_func (zend_variables.c:54)
==13669==    by 0xE81926: _zval_dtor (zend_variables.h:35)
==13669==    by 0xE81926: i_zval_ptr_dtor (zend_execute.h:81)
==13669==    by 0xE81926: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF93E: zend_hash_apply_deleter (zend_hash.c:650)
==13669==    by 0xEC032C: zend_hash_reverse_apply (zend_hash.c:804)
==13669==    by 0xE80A1D: shutdown_destructors (zend_execute_API.c:214)
==13669==    by 0xEA3448: zend_call_destructors (zend.c:930)
==13669==  Address 0x153b6734 is 20 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 
==13669== Invalid read of size 1
==13669==    at 0xE819CE: gc_zval_check_possible_root (zend_gc.h:182)
==13669==    by 0xE819CE: i_zval_ptr_dtor (zend_execute.h:90)
==13669==    by 0xE819CE: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF3DD: zend_hash_destroy (zend_hash.c:560)
==13669==    by 0xEED618: zend_object_std_dtor (zend_objects.c:44)
==13669==    by 0xEEDD7C: zend_objects_free_object_storage (zend_objects.c:137)
==13669==    by 0xEFD3C6: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:226)
==13669==    by 0xEFCF60: zend_objects_store_del_ref (zend_objects_API.c:178)
==13669==    by 0xE9FB6D: _zval_dtor_func (zend_variables.c:54)
==13669==    by 0xE81926: _zval_dtor (zend_variables.h:35)
==13669==    by 0xE81926: i_zval_ptr_dtor (zend_execute.h:81)
==13669==    by 0xE81926: _zval_ptr_dtor (zend_execute_API.c:423)
==13669==    by 0xEBF93E: zend_hash_apply_deleter (zend_hash.c:650)
==13669==    by 0xEC032C: zend_hash_reverse_apply (zend_hash.c:804)
==13669==    by 0xE80A1D: shutdown_destructors (zend_execute_API.c:214)
==13669==    by 0xEA3448: zend_call_destructors (zend.c:930)
==13669==  Address 0x153b6734 is 20 bytes inside a block of size 32 free'd
==13669==    at 0x4C27CA4: free (vg_replace_malloc.c:530)
==13669==    by 0xE500B0: _efree (zend_alloc.c:2437)
==13669==    by 0xEE7667: gc_collect_cycles (zend_gc.c:846)
==13669==    by 0xEC5505: zif_gc_collect_cycles (zend_builtin_functions.c:361)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669==    by 0xF09862: zend_execute (zend_vm_execute.h:388)
==13669==    by 0xEA5174: zend_execute_scripts (zend.c:1327)
==13669==    by 0xDC79DE: php_execute_script (main.c:2525)
==13669==    by 0x108F0A1: do_cli (php_cli.c:994)
==13669==    by 0x109084E: main (php_cli.c:1378)
==13669==  Block was alloc'd at
==13669==    at 0x4C282CA: malloc (vg_replace_malloc.c:299)
==13669==    by 0xE50018: _emalloc (zend_alloc.c:2427)
==13669==    by 0xCC034D: process_nested_data (var_unserializer.re:329)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCC03AB: process_nested_data (var_unserializer.re:331)
==13669==    by 0xCC0C95: object_common2 (var_unserializer.re:445)
==13669==    by 0xCC21BE: php_var_unserialize (var_unserializer.re:836)
==13669==    by 0xCA3CB9: zif_unserialize (var.c:967)
==13669==    by 0xF0B081: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==13669==    by 0xF151BB: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==13669==    by 0xF08CD0: execute_ex (zend_vm_execute.h:363)
==13669== 

 

Generated at Wed, 27 Jan 2016 17:21:32 +0000 (10 days ago)

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