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

==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==24099==    by 0x13E8427: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==24099==    by 0x13EDF7A: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==24099==    by 0x13E845F: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==24099==    by 0x13EDF7A: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==24099==    by 0x13E845F: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==24099==    by 0x13EDF7A: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x13EDF7D: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x13EE051: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x13EE073: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==24099==    by 0x13E8427: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==24099==    by 0x13EDF7A: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x4C2D00F: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==24099==    by 0x13E8427: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==24099==    by 0x13EDF7A: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== Conditional jump or move depends on uninitialised value(s)
==24099==    at 0x13E842A: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==24099==    by 0x13EDF7A: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==24099==    by 0x13EEB18: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==24099==    by 0x13BF78F: phpdbg_execute_ex (phpdbg_prompt.c:1868)
==24099==    by 0x139DB76: zend_execute (zend_vm_execute.h:63804)
==24099==    by 0x13B9365: phpdbg_do_run (phpdbg_prompt.c:942)
==24099==    by 0x13E2D4F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==24099==    by 0x13E2F20: phpdbg_stack_execute (phpdbg_cmd.c:733)
==24099==    by 0x13BD747: phpdbg_interactive (phpdbg_prompt.c:1635)
==24099==    by 0x13A9574: main (phpdbg.c:2001)
==24099== 
==24099== 
==24099== Process terminating with default action of signal 11 (SIGSEGV)
==24099==  Bad permissions for mapped region at address 0x15B47F90
==24099==    at 0x114DFEC: _zend_hash_index_add_or_update_i (zend_hash.c:812)
==24099==    by 0x114DFEC: _zend_hash_index_add (zend_hash.c:824)
==24099==    by 0x114C3B3: zend_hash_index_add_empty_element (zend_hash.c:686)
==24099==    by 0x13E9167: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==24099==    by 0x13A6B40: phpdbg_signal_handler (phpdbg.c:1300)
==24099==    by 0x11A0518: zend_signal_handler (zend_signal.c:219)
==24099==    by 0x119FEC8: zend_signal_handler_defer (zend_signal.c:106)
==24099==    by 0xD0B156F: ??? (in /lib64/libc-2.12.so)
==24099==    by 0x114DF31: _zend_hash_index_add_or_update_i (zend_hash.c:807)
==24099==    by 0x114DF31: _zend_hash_index_add (zend_hash.c:824)
==24099==    by 0x13EA010: zend_hash_index_add_ptr (zend_hash.h:660)
==24099==    by 0x13EA010: phpdbg_update_watch_ref (phpdbg_watch.c:409)
==24099==    by 0x13E9DC6: phpdbg_update_watch_ref (phpdbg_watch.c:392)
==24099==    by 0x13EA2B5: phpdbg_update_watch_ref (phpdbg_watch.c:427)
==24099==    by 0x13EE691: phpdbg_check_watchpoint (phpdbg_watch.c:1057)

 

Generated at Fri, 22 May 2020 15:51:44 +0000 (2 days ago)

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