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_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

==14140== Conditional jump or move depends on uninitialised value(s)
==14140==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==14140==    by 0x13B8644: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==14140==    by 0x13BE232: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==14140==    by 0x13BEDD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==14140==    by 0x138F777: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==14140==    by 0x136DA3D: zend_execute (zend_vm_execute.h:63760)
==14140==    by 0x1389308: phpdbg_do_run (phpdbg_prompt.c:942)
==14140==    by 0x13B2D8D: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==14140==    by 0x13B2F5E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==14140==    by 0x138D72F: phpdbg_interactive (phpdbg_prompt.c:1631)
==14140==    by 0x1379517: main (phpdbg.c:2001)
==14140== 
==14140== Conditional jump or move depends on uninitialised value(s)
==14140==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==14140==    by 0x13B867C: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==14140==    by 0x13BE232: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==14140==    by 0x13BEDD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==14140==    by 0x138F777: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==14140==    by 0x136DA3D: zend_execute (zend_vm_execute.h:63760)
==14140==    by 0x1389308: phpdbg_do_run (phpdbg_prompt.c:942)
==14140==    by 0x13B2D8D: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==14140==    by 0x13B2F5E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==14140==    by 0x138D72F: phpdbg_interactive (phpdbg_prompt.c:1631)
==14140==    by 0x1379517: main (phpdbg.c:2001)
==14140== 
==14140== Conditional jump or move depends on uninitialised value(s)
==14140==    at 0x13BE309: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==14140==    by 0x13BEDD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==14140==    by 0x138F777: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==14140==    by 0x136DA3D: zend_execute (zend_vm_execute.h:63760)
==14140==    by 0x1389308: phpdbg_do_run (phpdbg_prompt.c:942)
==14140==    by 0x13B2D8D: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==14140==    by 0x13B2F5E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==14140==    by 0x138D72F: phpdbg_interactive (phpdbg_prompt.c:1631)
==14140==    by 0x1379517: main (phpdbg.c:2001)
==14140== 
==14140== Conditional jump or move depends on uninitialised value(s)
==14140==    at 0x13BE32B: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==14140==    by 0x13BEDD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==14140==    by 0x138F777: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==14140==    by 0x136DA3D: zend_execute (zend_vm_execute.h:63760)
==14140==    by 0x1389308: phpdbg_do_run (phpdbg_prompt.c:942)
==14140==    by 0x13B2D8D: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==14140==    by 0x13B2F5E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==14140==    by 0x138D72F: phpdbg_interactive (phpdbg_prompt.c:1631)
==14140==    by 0x1379517: main (phpdbg.c:2001)
==14140== 
==14140== Conditional jump or move depends on uninitialised value(s)
==14140==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==14140==    by 0x13B867C: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==14140==    by 0x13BE232: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==14140==    by 0x13BEDD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==14140==    by 0x138F777: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==14140==    by 0x136DA3D: zend_execute (zend_vm_execute.h:63760)
==14140==    by 0x1389308: phpdbg_do_run (phpdbg_prompt.c:942)
==14140==    by 0x13B2D8D: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==14140==    by 0x13B2F5E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==14140==    by 0x138D72F: phpdbg_interactive (phpdbg_prompt.c:1631)
==14140==    by 0x1379517: main (phpdbg.c:2001)
==14140== 
==14140== Conditional jump or move depends on uninitialised value(s)
==14140==    at 0x13BE235: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==14140==    by 0x13BEDD0: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==14140==    by 0x138F777: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==14140==    by 0x136DA3D: zend_execute (zend_vm_execute.h:63760)
==14140==    by 0x1389308: phpdbg_do_run (phpdbg_prompt.c:942)
==14140==    by 0x13B2D8D: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==14140==    by 0x13B2F5E: phpdbg_stack_execute (phpdbg_cmd.c:733)
==14140==    by 0x138D72F: phpdbg_interactive (phpdbg_prompt.c:1631)
==14140==    by 0x1379517: main (phpdbg.c:2001)
==14140== 
==14140== 
==14140== Process terminating with default action of signal 11 (SIGSEGV)
==14140==  Bad permissions for mapped region at address 0x14F3C8F0
==14140==    at 0x111ED49: _zend_hash_index_add_or_update_i (zend_hash.c:807)
==14140==    by 0x111ED49: _zend_hash_index_add (zend_hash.c:824)
==14140==    by 0x111D1CA: zend_hash_index_add_empty_element (zend_hash.c:686)
==14140==    by 0x13B9384: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==14140==    by 0x1376A07: phpdbg_signal_handler (phpdbg.c:1300)
==14140==    by 0x1170D03: zend_signal_handler (zend_signal.c:219)
==14140==    by 0x11706B3: zend_signal_handler_defer (zend_signal.c:106)
==14140==    by 0xCF2150F: ??? (in /lib64/libc-2.12.so)
==14140==    by 0x13BB8AA: phpdbg_watch_parent_ht (phpdbg_watch.c:609)
==14140==    by 0x13BAB81: phpdbg_add_bucket_watch_element (phpdbg_watch.c:485)
==14140==    by 0x13BB0FF: phpdbg_add_recursive_watch_from_ht (phpdbg_watch.c:536)
==14140==    by 0x13BB61D: phpdbg_recurse_watch_element (phpdbg_watch.c:582)
==14140==    by 0x13BAACD: phpdbg_add_watch_element (phpdbg_watch.c:475)

 

Generated at Tue, 12 Jun 2018 01:30:23 +0000 (6 days ago)

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