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

==28274== Conditional jump or move depends on uninitialised value(s)
==28274==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==28274==    by 0x13CB51D: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==28274==    by 0x13D110B: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==28274==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28274==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28274==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28274==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28274==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28274==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28274==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28274==    by 0x138C3F0: main (phpdbg.c:2001)
==28274== 
==28274== Conditional jump or move depends on uninitialised value(s)
==28274==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==28274==    by 0x13CB555: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==28274==    by 0x13D110B: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==28274==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28274==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28274==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28274==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28274==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28274==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28274==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28274==    by 0x138C3F0: main (phpdbg.c:2001)
==28274== 
==28274== Conditional jump or move depends on uninitialised value(s)
==28274==    at 0x13D11E2: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==28274==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28274==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28274==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28274==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28274==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28274==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28274==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28274==    by 0x138C3F0: main (phpdbg.c:2001)
==28274== 
==28274== Conditional jump or move depends on uninitialised value(s)
==28274==    at 0x13D1204: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==28274==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28274==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28274==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28274==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28274==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28274==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28274==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28274==    by 0x138C3F0: main (phpdbg.c:2001)
==28274== 
==28274== Conditional jump or move depends on uninitialised value(s)
==28274==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==28274==    by 0x13CB555: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==28274==    by 0x13D110B: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==28274==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28274==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28274==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28274==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28274==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28274==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28274==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28274==    by 0x138C3F0: main (phpdbg.c:2001)
==28274== 
==28274== Conditional jump or move depends on uninitialised value(s)
==28274==    at 0x4C2D00F: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==28274==    by 0x13CB555: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==28274==    by 0x13D110B: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==28274==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28274==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28274==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28274==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28274==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28274==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28274==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28274==    by 0x138C3F0: main (phpdbg.c:2001)
==28274== 
==28274== Conditional jump or move depends on uninitialised value(s)
==28274==    at 0x13D110E: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==28274==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28274==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28274==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28274==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28274==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28274==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28274==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28274==    by 0x138C3F0: main (phpdbg.c:2001)
==28274== 
==28274== 
==28274== Process terminating with default action of signal 11 (SIGSEGV)
==28274==  Bad permissions for mapped region at address 0x15B22920
==28274==    at 0x1131248: _zend_hash_index_add_or_update_i (zend_hash.c:807)
==28274==    by 0x1131248: _zend_hash_index_add (zend_hash.c:824)
==28274==    by 0x112F6C9: zend_hash_index_add_empty_element (zend_hash.c:686)
==28274==    by 0x13CC25D: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==28274==    by 0x13898E0: phpdbg_signal_handler (phpdbg.c:1300)
==28274==    by 0x1183212: zend_signal_handler (zend_signal.c:219)
==28274==    by 0x1182BC2: zend_signal_handler_defer (zend_signal.c:106)
==28274==    by 0xD09056F: ??? (in /lib64/libc-2.12.so)
==28274==    by 0x1128AFB: _zend_hash_add_or_update_i (zend_hash.c:601)
==28274==    by 0x1128AFB: _zend_hash_add (zend_hash.c:623)
==28274==    by 0x13CD920: zend_hash_add_ptr (zend_hash.h:532)
==28274==    by 0x13CD920: phpdbg_add_watch_element (phpdbg_watch.c:472)
==28274==    by 0x13CDA32: phpdbg_add_bucket_watch_element (phpdbg_watch.c:484)
==28274==    by 0x13CDFD8: phpdbg_add_recursive_watch_from_ht (phpdbg_watch.c:536)
==28274==    by 0x13CE4F6: phpdbg_recurse_watch_element (phpdbg_watch.c:582)

 

Generated at Wed, 09 Jan 2019 04:17:14 +0000 (9 days ago)

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