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

==17076== Conditional jump or move depends on uninitialised value(s)
==17076==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==17076==    by 0x13B8C93: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==17076==    by 0x13BE881: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==17076==    by 0x13BF41F: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==17076==    by 0x138FDC6: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17076==    by 0x136E08C: zend_execute (zend_vm_execute.h:63776)
==17076==    by 0x1389957: phpdbg_do_run (phpdbg_prompt.c:942)
==17076==    by 0x13B33DC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17076==    by 0x13B35AD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17076==    by 0x138DD7E: phpdbg_interactive (phpdbg_prompt.c:1631)
==17076==    by 0x1379B66: main (phpdbg.c:2001)
==17076== 
==17076== Conditional jump or move depends on uninitialised value(s)
==17076==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==17076==    by 0x13B8CCB: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==17076==    by 0x13BE881: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==17076==    by 0x13BF41F: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==17076==    by 0x138FDC6: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17076==    by 0x136E08C: zend_execute (zend_vm_execute.h:63776)
==17076==    by 0x1389957: phpdbg_do_run (phpdbg_prompt.c:942)
==17076==    by 0x13B33DC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17076==    by 0x13B35AD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17076==    by 0x138DD7E: phpdbg_interactive (phpdbg_prompt.c:1631)
==17076==    by 0x1379B66: main (phpdbg.c:2001)
==17076== 
==17076== Conditional jump or move depends on uninitialised value(s)
==17076==    at 0x13BE958: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==17076==    by 0x13BF41F: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==17076==    by 0x138FDC6: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17076==    by 0x136E08C: zend_execute (zend_vm_execute.h:63776)
==17076==    by 0x1389957: phpdbg_do_run (phpdbg_prompt.c:942)
==17076==    by 0x13B33DC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17076==    by 0x13B35AD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17076==    by 0x138DD7E: phpdbg_interactive (phpdbg_prompt.c:1631)
==17076==    by 0x1379B66: main (phpdbg.c:2001)
==17076== 
==17076== Conditional jump or move depends on uninitialised value(s)
==17076==    at 0x13BE97A: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==17076==    by 0x13BF41F: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==17076==    by 0x138FDC6: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17076==    by 0x136E08C: zend_execute (zend_vm_execute.h:63776)
==17076==    by 0x1389957: phpdbg_do_run (phpdbg_prompt.c:942)
==17076==    by 0x13B33DC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17076==    by 0x13B35AD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17076==    by 0x138DD7E: phpdbg_interactive (phpdbg_prompt.c:1631)
==17076==    by 0x1379B66: main (phpdbg.c:2001)
==17076== 
==17076== Conditional jump or move depends on uninitialised value(s)
==17076==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==17076==    by 0x13B8CCB: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==17076==    by 0x13BE881: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==17076==    by 0x13BF41F: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==17076==    by 0x138FDC6: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17076==    by 0x136E08C: zend_execute (zend_vm_execute.h:63776)
==17076==    by 0x1389957: phpdbg_do_run (phpdbg_prompt.c:942)
==17076==    by 0x13B33DC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17076==    by 0x13B35AD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17076==    by 0x138DD7E: phpdbg_interactive (phpdbg_prompt.c:1631)
==17076==    by 0x1379B66: main (phpdbg.c:2001)
==17076== 
==17076== Conditional jump or move depends on uninitialised value(s)
==17076==    at 0x13BE884: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==17076==    by 0x13BF41F: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==17076==    by 0x138FDC6: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17076==    by 0x136E08C: zend_execute (zend_vm_execute.h:63776)
==17076==    by 0x1389957: phpdbg_do_run (phpdbg_prompt.c:942)
==17076==    by 0x13B33DC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17076==    by 0x13B35AD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17076==    by 0x138DD7E: phpdbg_interactive (phpdbg_prompt.c:1631)
==17076==    by 0x1379B66: main (phpdbg.c:2001)
==17076== 
==17076== 
==17076== Process terminating with default action of signal 11 (SIGSEGV)
==17076==  Bad permissions for mapped region at address 0x14F4B930
==17076==    at 0x111EEEA: _zend_hash_index_add_or_update_i (zend_hash.c:807)
==17076==    by 0x111EEEA: _zend_hash_index_add (zend_hash.c:824)
==17076==    by 0x111D36B: zend_hash_index_add_empty_element (zend_hash.c:686)
==17076==    by 0x13B99D3: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==17076==    by 0x1377056: phpdbg_signal_handler (phpdbg.c:1300)
==17076==    by 0x1170E89: zend_signal_handler (zend_signal.c:219)
==17076==    by 0x1170839: zend_signal_handler_defer (zend_signal.c:106)
==17076==    by 0xCF2156F: ??? (in /lib64/libc-2.12.so)
==17076==    by 0x111679D: _zend_hash_add_or_update_i (zend_hash.c:601)
==17076==    by 0x111679D: _zend_hash_add (zend_hash.c:623)
==17076==    by 0x13BB096: zend_hash_add_ptr (zend_hash.h:532)
==17076==    by 0x13BB096: phpdbg_add_watch_element (phpdbg_watch.c:472)
==17076==    by 0x13BB1A8: phpdbg_add_bucket_watch_element (phpdbg_watch.c:484)
==17076==    by 0x13BB74E: phpdbg_add_recursive_watch_from_ht (phpdbg_watch.c:536)
==17076==    by 0x13BBC6C: phpdbg_recurse_watch_element (phpdbg_watch.c:582)

 

Generated at Fri, 03 Aug 2018 22:39:28 +0000 (14 days ago)

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