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

==11291== Conditional jump or move depends on uninitialised value(s)
==11291==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==11291==    by 0x1286AA5: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==11291==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11291==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11291==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11291==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11291==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11291==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11291==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11291==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11291==    by 0x1247C34: main (phpdbg.c:2005)
==11291== 
==11291== Conditional jump or move depends on uninitialised value(s)
==11291==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==11291==    by 0x1286ADD: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==11291==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11291==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11291==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11291==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11291==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11291==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11291==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11291==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11291==    by 0x1247C34: main (phpdbg.c:2005)
==11291== 
==11291== Conditional jump or move depends on uninitialised value(s)
==11291==    at 0x128C6A9: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==11291==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11291==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11291==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11291==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11291==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11291==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11291==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11291==    by 0x1247C34: main (phpdbg.c:2005)
==11291== 
==11291== Conditional jump or move depends on uninitialised value(s)
==11291==    at 0x128C6CB: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==11291==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11291==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11291==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11291==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11291==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11291==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11291==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11291==    by 0x1247C34: main (phpdbg.c:2005)
==11291== 
==11291== Conditional jump or move depends on uninitialised value(s)
==11291==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==11291==    by 0x1286ADD: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==11291==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11291==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11291==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11291==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11291==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11291==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11291==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11291==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11291==    by 0x1247C34: main (phpdbg.c:2005)
==11291== 
==11291== Conditional jump or move depends on uninitialised value(s)
==11291==    at 0x128C5D5: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11291==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11291==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11291==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11291==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11291==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11291==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11291==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11291==    by 0x1247C34: main (phpdbg.c:2005)
==11291== 
==11291== 
==11291== Process terminating with default action of signal 11 (SIGSEGV)
==11291==  Bad permissions for mapped region at address 0x15C5FBE0
==11291==    at 0x1025783: _zend_hash_index_add_or_update_i (zend_hash.c:808)
==11291==    by 0x1025783: _zend_hash_index_add (zend_hash.c:825)
==11291==    by 0x1023B42: zend_hash_index_add_empty_element (zend_hash.c:684)
==11291==    by 0x12877E5: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==11291==    by 0x1245124: phpdbg_signal_handler (phpdbg.c:1304)
==11291==    by 0x1075B5C: zend_signal_handler (zend_signal.c:219)
==11291==    by 0x107550C: zend_signal_handler_defer (zend_signal.c:106)
==11291==    by 0xD2C356F: ??? (in /lib64/libc-2.12.so)
==11291==    by 0x101CE8E: _zend_hash_add_or_update_i (zend_hash.c:592)
==11291==    by 0x101CE8E: _zend_hash_add (zend_hash.c:621)
==11291==    by 0x1288EA8: zend_hash_add_ptr (zend_hash.h:527)
==11291==    by 0x1288EA8: phpdbg_add_watch_element (phpdbg_watch.c:472)
==11291==    by 0x1288FBA: phpdbg_add_bucket_watch_element (phpdbg_watch.c:484)
==11291==    by 0x1289560: phpdbg_add_recursive_watch_from_ht (phpdbg_watch.c:536)
==11291==    by 0x1289A42: phpdbg_recurse_watch_element (phpdbg_watch.c:582)

 

Generated at Tue, 12 Feb 2019 16:11:15 +0000 (11 days ago)

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