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

Valgrind Report for sapi/phpdbg/tests/watch_005.phpt ('Test proper watch comparisons when having multiple levels of indirection from a zval to its value')

Script

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

Report

==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==15961==    by 0x13E84DF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==15961==    by 0x13EE032: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==15961==    by 0x13E8517: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==15961==    by 0x13EE032: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==15961==    by 0x13E8517: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==15961==    by 0x13EE032: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x13EE035: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x13EE109: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x13EE12B: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==15961==    by 0x13E84DF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==15961==    by 0x13EE032: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x4C2D00F: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==15961==    by 0x13E84DF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==15961==    by 0x13EE032: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== Conditional jump or move depends on uninitialised value(s)
==15961==    at 0x13E84E2: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==15961==    by 0x13EE032: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==15961==    by 0x13EEBD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==15961==    by 0x13BF847: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==15961==    by 0x139DC2E: zend_execute (zend_vm_execute.h:63804)
==15961==    by 0x13B941D: phpdbg_do_run (phpdbg_prompt.c:942)
==15961==    by 0x13E2E07: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==15961==    by 0x13E2FD8: phpdbg_stack_execute (phpdbg_cmd.c:733)
==15961==    by 0x13BD7FF: phpdbg_interactive (phpdbg_prompt.c:1635)
==15961==    by 0x13A962C: main (phpdbg.c:2001)
==15961== 
==15961== 
==15961== Process terminating with default action of signal 11 (SIGSEGV)
==15961==  Bad permissions for mapped region at address 0x15B47F90
==15961==    at 0x114E0A4: _zend_hash_index_add_or_update_i (zend_hash.c:812)
==15961==    by 0x114E0A4: _zend_hash_index_add (zend_hash.c:824)
==15961==    by 0x114C46B: zend_hash_index_add_empty_element (zend_hash.c:686)
==15961==    by 0x13E921F: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==15961==    by 0x13A6BF8: phpdbg_signal_handler (phpdbg.c:1300)
==15961==    by 0x11A05D0: zend_signal_handler (zend_signal.c:219)
==15961==    by 0x119FF80: zend_signal_handler_defer (zend_signal.c:106)
==15961==    by 0xD0B156F: ??? (in /lib64/libc-2.12.so)
==15961==    by 0x114DFE9: _zend_hash_index_add_or_update_i (zend_hash.c:807)
==15961==    by 0x114DFE9: _zend_hash_index_add (zend_hash.c:824)
==15961==    by 0x13EA0C8: zend_hash_index_add_ptr (zend_hash.h:660)
==15961==    by 0x13EA0C8: phpdbg_update_watch_ref (phpdbg_watch.c:409)
==15961==    by 0x13E9E7E: phpdbg_update_watch_ref (phpdbg_watch.c:392)
==15961==    by 0x13EA36D: phpdbg_update_watch_ref (phpdbg_watch.c:427)
==15961==    by 0x13EE749: phpdbg_check_watchpoint (phpdbg_watch.c:1057)

 

Generated at Fri, 16 Oct 2020 02:28:14 +0000 (5 days ago)

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