PHP  
 PHP_7_1
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for sapi/phpdbg/tests/watch_006.phpt ('Test multiple watch elements pointing to the same watchpoint')

Script

1: <?php
2:
3: $a 
= [0];
4:
$a[0] = 1;
5:
$b = &$a;
6:
$a[0] = 2;
7:
$a[1] = 3;
8:
$c = [1];
9:
$b = &$c;
10:

Report

==5637== Conditional jump or move depends on uninitialised value(s)
==5637==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==5637==    by 0x1283C5A: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==5637==    by 0x1289787: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==5637==    by 0x128A2FB: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==5637==    by 0x125B03E: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==5637==    by 0x10D6105: zend_execute (zend_vm_execute.h:474)
==5637==    by 0x1254BD7: phpdbg_do_run (phpdbg_prompt.c:945)
==5637==    by 0x127E3AE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5637==    by 0x127E57F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5637==    by 0x1258FF6: phpdbg_interactive (phpdbg_prompt.c:1634)
==5637==    by 0x1244DE9: main (phpdbg.c:2005)
==5637== 
==5637== Conditional jump or move depends on uninitialised value(s)
==5637==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==5637==    by 0x1283C92: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==5637==    by 0x1289787: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==5637==    by 0x128A2FB: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==5637==    by 0x125B03E: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==5637==    by 0x10D6105: zend_execute (zend_vm_execute.h:474)
==5637==    by 0x1254BD7: phpdbg_do_run (phpdbg_prompt.c:945)
==5637==    by 0x127E3AE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5637==    by 0x127E57F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5637==    by 0x1258FF6: phpdbg_interactive (phpdbg_prompt.c:1634)
==5637==    by 0x1244DE9: main (phpdbg.c:2005)
==5637== 
==5637== Conditional jump or move depends on uninitialised value(s)
==5637==    at 0x128985E: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==5637==    by 0x128A2FB: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==5637==    by 0x125B03E: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==5637==    by 0x10D6105: zend_execute (zend_vm_execute.h:474)
==5637==    by 0x1254BD7: phpdbg_do_run (phpdbg_prompt.c:945)
==5637==    by 0x127E3AE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5637==    by 0x127E57F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5637==    by 0x1258FF6: phpdbg_interactive (phpdbg_prompt.c:1634)
==5637==    by 0x1244DE9: main (phpdbg.c:2005)
==5637== 
==5637== Conditional jump or move depends on uninitialised value(s)
==5637==    at 0x1289880: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==5637==    by 0x128A2FB: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==5637==    by 0x125B03E: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==5637==    by 0x10D6105: zend_execute (zend_vm_execute.h:474)
==5637==    by 0x1254BD7: phpdbg_do_run (phpdbg_prompt.c:945)
==5637==    by 0x127E3AE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5637==    by 0x127E57F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5637==    by 0x1258FF6: phpdbg_interactive (phpdbg_prompt.c:1634)
==5637==    by 0x1244DE9: main (phpdbg.c:2005)
==5637== 
==5637== Conditional jump or move depends on uninitialised value(s)
==5637==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==5637==    by 0x1283C92: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==5637==    by 0x1289787: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==5637==    by 0x128A2FB: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==5637==    by 0x125B03E: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==5637==    by 0x10D6105: zend_execute (zend_vm_execute.h:474)
==5637==    by 0x1254BD7: phpdbg_do_run (phpdbg_prompt.c:945)
==5637==    by 0x127E3AE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5637==    by 0x127E57F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5637==    by 0x1258FF6: phpdbg_interactive (phpdbg_prompt.c:1634)
==5637==    by 0x1244DE9: main (phpdbg.c:2005)
==5637== 
==5637== Conditional jump or move depends on uninitialised value(s)
==5637==    at 0x128978A: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==5637==    by 0x128A2FB: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==5637==    by 0x125B03E: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==5637==    by 0x10D6105: zend_execute (zend_vm_execute.h:474)
==5637==    by 0x1254BD7: phpdbg_do_run (phpdbg_prompt.c:945)
==5637==    by 0x127E3AE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5637==    by 0x127E57F: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5637==    by 0x1258FF6: phpdbg_interactive (phpdbg_prompt.c:1634)
==5637==    by 0x1244DE9: main (phpdbg.c:2005)
==5637== 
==5637== 
==5637== Process terminating with default action of signal 11 (SIGSEGV)
==5637==  Bad permissions for mapped region at address 0x15C5FA70
==5637==    at 0x1022938: _zend_hash_index_add_or_update_i (zend_hash.c:808)
==5637==    by 0x1022938: _zend_hash_index_add (zend_hash.c:825)
==5637==    by 0x1020CF7: zend_hash_index_add_empty_element (zend_hash.c:684)
==5637==    by 0x128499A: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==5637==    by 0x12422D9: phpdbg_signal_handler (phpdbg.c:1304)
==5637==    by 0x1072D11: zend_signal_handler (zend_signal.c:219)
==5637==    by 0x10726C1: zend_signal_handler_defer (zend_signal.c:106)
==5637==    by 0xD2C356F: ??? (in /lib64/libc-2.12.so)
==5637==    by 0x101A043: _zend_hash_add_or_update_i (zend_hash.c:592)
==5637==    by 0x101A043: _zend_hash_add (zend_hash.c:621)
==5637==    by 0x128605D: zend_hash_add_ptr (zend_hash.h:527)
==5637==    by 0x128605D: phpdbg_add_watch_element (phpdbg_watch.c:472)
==5637==    by 0x128616F: phpdbg_add_bucket_watch_element (phpdbg_watch.c:484)
==5637==    by 0x1286715: phpdbg_add_recursive_watch_from_ht (phpdbg_watch.c:536)
==5637==    by 0x1286BF7: phpdbg_recurse_watch_element (phpdbg_watch.c:582)

 

Generated at Tue, 13 Nov 2018 22:33:50 +0000 (3 days ago)

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