PHP  
 PHP_HEAD
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

==18215== Conditional jump or move depends on uninitialised value(s)
==18215==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18215==    by 0x1382E8F: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==18215==    by 0x1388762: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18215==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18215==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18215==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18215==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18215==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18215==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18215==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18215==    by 0x134484B: main (phpdbg.c:1996)
==18215== 
==18215== Conditional jump or move depends on uninitialised value(s)
==18215==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18215==    by 0x1382EC7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==18215==    by 0x1388762: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18215==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18215==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18215==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18215==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18215==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18215==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18215==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18215==    by 0x134484B: main (phpdbg.c:1996)
==18215== 
==18215== Conditional jump or move depends on uninitialised value(s)
==18215==    at 0x138884A: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==18215==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18215==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18215==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18215==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18215==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18215==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18215==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18215==    by 0x134484B: main (phpdbg.c:1996)
==18215== 
==18215== Conditional jump or move depends on uninitialised value(s)
==18215==    at 0x138886C: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==18215==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18215==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18215==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18215==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18215==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18215==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18215==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18215==    by 0x134484B: main (phpdbg.c:1996)
==18215== 
==18215== Conditional jump or move depends on uninitialised value(s)
==18215==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18215==    by 0x1382EC7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==18215==    by 0x1388762: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18215==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18215==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18215==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18215==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18215==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18215==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18215==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18215==    by 0x134484B: main (phpdbg.c:1996)
==18215== 
==18215== Conditional jump or move depends on uninitialised value(s)
==18215==    at 0x4C2D00F: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18215==    by 0x1382EC7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==18215==    by 0x1388762: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18215==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18215==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18215==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18215==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18215==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18215==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18215==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18215==    by 0x134484B: main (phpdbg.c:1996)
==18215== 
==18215== Conditional jump or move depends on uninitialised value(s)
==18215==    at 0x1388765: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18215==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18215==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18215==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18215==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18215==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18215==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18215==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18215==    by 0x134484B: main (phpdbg.c:1996)
==18215== 
==18215== 
==18215== Process terminating with default action of signal 11 (SIGSEGV)
==18215==  Bad permissions for mapped region at address 0x14F1C920
==18215==    at 0x10FAB7A: _zend_hash_index_add_or_update_i (zend_hash.c:869)
==18215==    by 0x10FAB7A: _zend_hash_index_add (zend_hash.c:886)
==18215==    by 0x10F8E62: zend_hash_index_add_empty_element (zend_hash.c:748)
==18215==    by 0x1383BBA: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==18215==    by 0x1341D07: phpdbg_signal_handler (phpdbg.c:1300)
==18215==    by 0x114D467: zend_signal_handler (zend_signal.c:219)
==18215==    by 0x114CE05: zend_signal_handler_defer (zend_signal.c:106)
==18215==    by 0xCD0750F: ??? (in /lib64/libc-2.12.so)
==18215==    by 0x10F2E26: _zend_hash_add_or_update_i (zend_hash.c:597)
==18215==    by 0x10F2E26: _zend_hash_add (zend_hash.c:690)
==18215==    by 0x13850E3: zend_hash_add_ptr (zend_hash.h:545)
==18215==    by 0x13850E3: phpdbg_add_watch_element (phpdbg_watch.c:473)
==18215==    by 0x13851D0: phpdbg_add_bucket_watch_element (phpdbg_watch.c:485)
==18215==    by 0x1385752: phpdbg_add_recursive_watch_from_ht (phpdbg_watch.c:537)
==18215==    by 0x1385C5E: phpdbg_recurse_watch_element (phpdbg_watch.c:583)

 

Generated at Sun, 12 Nov 2017 21:17:35 +0000 (6 days ago)

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