PHP  
 PHP_HEAD
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

==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==5881==    by 0x13DD900: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==5881==    by 0x13E3652: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==5881==    by 0x13DD938: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==5881==    by 0x13E3652: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x13E3729: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x13E374B: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==5881==    by 0x13DD938: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==5881==    by 0x13E3652: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x13E3655: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==5881==    by 0x13DD900: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==5881==    by 0x13E3652: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== Conditional jump or move depends on uninitialised value(s)
==5881==    at 0x13DD903: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==5881==    by 0x13E3652: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==5881==    by 0x13B4EF4: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==5881==    by 0x1392B54: zend_execute (zend_vm_execute.h:60358)
==5881==    by 0x13AE939: phpdbg_do_run (phpdbg_prompt.c:942)
==5881==    by 0x13D7F9F: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==5881==    by 0x13D8170: phpdbg_stack_execute (phpdbg_cmd.c:733)
==5881==    by 0x13B2D7F: phpdbg_interactive (phpdbg_prompt.c:1631)
==5881==    by 0x139E969: main (phpdbg.c:2002)
==5881== 
==5881== 
==5881== Process terminating with default action of signal 11 (SIGSEGV)
==5881==  Bad permissions for mapped region at address 0x14F14D70
==5881==    at 0x1172D77: _zend_hash_index_add_or_update_i (zend_hash.c:956)
==5881==    by 0x1172D77: _zend_hash_index_add (zend_hash.c:989)
==5881==    by 0x1172432: zend_hash_index_add_empty_element (zend_hash.c:866)
==5881==    by 0x13DE64A: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==5881==    by 0x139BE77: phpdbg_signal_handler (phpdbg.c:1294)
==5881==    by 0x11C7BE3: zend_signal_handler (zend_signal.c:219)
==5881==    by 0x11C7593: zend_signal_handler_defer (zend_signal.c:106)
==5881==    by 0xD12956F: ??? (in /lib64/libc-2.12.so)
==5881==    by 0x1145366: zend_print_flat_zval_r (zend.c:383)
==5881==    by 0x1145717: zend_print_flat_zval_r (zend.c:415)
==5881==    by 0x13DDDF8: phpdbg_print_watch_diff (phpdbg_watch.c:181)
==5881==    by 0x13E3C46: phpdbg_check_watchpoint (phpdbg_watch.c:1052)
==5881==    by 0x13E4227: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)

 

Generated at Thu, 19 Jul 2018 09:51:32 +0000 (3 days ago)

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