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

==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==21742==    by 0x12779AF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==21742==    by 0x127D119: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==21742==    by 0x12779E7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==21742==    by 0x127D119: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x127D201: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x127D223: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==21742==    by 0x12779E7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==21742==    by 0x127D119: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x127D11C: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==21742==    by 0x12779AF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==21742==    by 0x127D119: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== Conditional jump or move depends on uninitialised value(s)
==21742==    at 0x12779B2: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==21742==    by 0x127D119: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==21742==    by 0x124FDA1: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==21742==    by 0x10CB243: zend_execute (zend_vm_execute.h:474)
==21742==    by 0x124991F: phpdbg_do_run (phpdbg_prompt.c:945)
==21742==    by 0x1272086: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==21742==    by 0x1272245: phpdbg_stack_execute (phpdbg_cmd.c:733)
==21742==    by 0x124DD54: phpdbg_interactive (phpdbg_prompt.c:1634)
==21742==    by 0x1239D4D: main (phpdbg.c:2000)
==21742== 
==21742== 
==21742== Process terminating with default action of signal 11 (SIGSEGV)
==21742==  Bad permissions for mapped region at address 0x15062F60
==21742==    at 0x10190A4: _zend_hash_index_add_or_update_i (zend_hash.c:808)
==21742==    by 0x10190A4: _zend_hash_index_add (zend_hash.c:825)
==21742==    by 0x10172BC: zend_hash_index_add_empty_element (zend_hash.c:684)
==21742==    by 0x12786C6: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==21742==    by 0x1237212: phpdbg_signal_handler (phpdbg.c:1304)
==21742==    by 0x1068EB7: zend_signal_handler (zend_signal.c:219)
==21742==    by 0x1068855: zend_signal_handler_defer (zend_signal.c:106)
==21742==    by 0xCF3A50F: ??? (in /lib64/libc-2.12.so)
==21742==    by 0xFE826B: zend_print_flat_zval_r (zend.c:270)
==21742==    by 0xFE8606: zend_print_flat_zval_r (zend.c:305)
==21742==    by 0x1277E94: phpdbg_print_watch_diff (phpdbg_watch.c:181)
==21742==    by 0x127D6C0: phpdbg_check_watchpoint (phpdbg_watch.c:1051)
==21742==    by 0x127DC4D: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)

 

Generated at Mon, 12 Feb 2018 03:40:49 +0000 (8 days ago)

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