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

==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==9240==    by 0x127CBBF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==9240==    by 0x12826EC: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==9240==    by 0x127CBF7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==9240==    by 0x12826EC: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x12827C3: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x12827E5: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==9240==    by 0x127CBF7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==9240==    by 0x12826EC: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x12826EF: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==9240==    by 0x127CBBF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==9240==    by 0x12826EC: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x127CBC2: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==9240==    by 0x12826EC: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== Conditional jump or move depends on uninitialised value(s)
==9240==    at 0x4C2D00F: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==9240==    by 0x127CBBF: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==9240==    by 0x12826EC: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==9240==    by 0x1253FA3: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==9240==    by 0x10CF172: zend_execute (zend_vm_execute.h:474)
==9240==    by 0x124DB3C: phpdbg_do_run (phpdbg_prompt.c:945)
==9240==    by 0x1277313: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==9240==    by 0x12774E4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==9240==    by 0x1251F5B: phpdbg_interactive (phpdbg_prompt.c:1634)
==9240==    by 0x123DD4E: main (phpdbg.c:2005)
==9240== 
==9240== 
==9240== Process terminating with default action of signal 11 (SIGSEGV)
==9240==  Bad permissions for mapped region at address 0x1507AF80
==9240==    at 0x101C24D: _zend_hash_index_add_or_update_i (zend_hash.c:808)
==9240==    by 0x101C24D: _zend_hash_index_add (zend_hash.c:825)
==9240==    by 0x101A60C: zend_hash_index_add_empty_element (zend_hash.c:684)
==9240==    by 0x127D8FF: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==9240==    by 0x123B23E: phpdbg_signal_handler (phpdbg.c:1304)
==9240==    by 0x106C634: zend_signal_handler (zend_signal.c:219)
==9240==    by 0x106BFE4: zend_signal_handler_defer (zend_signal.c:106)
==9240==    by 0xD15450F: ??? (in /lib64/libc-2.12.so)
==9240==    by 0xFEB376: zend_print_flat_zval_r (zend.c:270)
==9240==    by 0xFEB714: zend_print_flat_zval_r (zend.c:305)
==9240==    by 0x127D0BD: phpdbg_print_watch_diff (phpdbg_watch.c:181)
==9240==    by 0x1282CC5: phpdbg_check_watchpoint (phpdbg_watch.c:1051)
==9240==    by 0x1283260: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)

 

Generated at Sat, 19 May 2018 03:02:55 +0000 (6 days ago)

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