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

==26004== Conditional jump or move depends on uninitialised value(s)
==26004==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==26004==    by 0x140D481: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==26004==    by 0x14131D3: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==26004==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==26004==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==26004==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==26004==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==26004==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==26004==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==26004==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==26004==    by 0x13CE4FE: main (phpdbg.c:1999)
==26004== 
==26004== Conditional jump or move depends on uninitialised value(s)
==26004==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==26004==    by 0x140D4B9: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==26004==    by 0x14131D3: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==26004==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==26004==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==26004==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==26004==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==26004==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==26004==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==26004==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==26004==    by 0x13CE4FE: main (phpdbg.c:1999)
==26004== 
==26004== Conditional jump or move depends on uninitialised value(s)
==26004==    at 0x14132AA: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==26004==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==26004==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==26004==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==26004==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==26004==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==26004==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==26004==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==26004==    by 0x13CE4FE: main (phpdbg.c:1999)
==26004== 
==26004== Conditional jump or move depends on uninitialised value(s)
==26004==    at 0x14132CC: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==26004==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==26004==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==26004==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==26004==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==26004==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==26004==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==26004==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==26004==    by 0x13CE4FE: main (phpdbg.c:1999)
==26004== 
==26004== Conditional jump or move depends on uninitialised value(s)
==26004==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==26004==    by 0x140D4B9: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==26004==    by 0x14131D3: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==26004==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==26004==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==26004==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==26004==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==26004==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==26004==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==26004==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==26004==    by 0x13CE4FE: main (phpdbg.c:1999)
==26004== 
==26004== Conditional jump or move depends on uninitialised value(s)
==26004==    at 0x14131D6: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==26004==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==26004==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==26004==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==26004==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==26004==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==26004==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==26004==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==26004==    by 0x13CE4FE: main (phpdbg.c:1999)
==26004== 
==26004== 
==26004== Process terminating with default action of signal 11 (SIGSEGV)
==26004==  Bad permissions for mapped region at address 0x14F25BEC
==26004==    at 0x11A4E22: _zend_hash_index_add_or_update_i (zend_hash.c:977)
==26004==    by 0x11A4E22: zend_hash_index_add (zend_hash.c:1011)
==26004==    by 0x11A44FE: zend_hash_index_add_empty_element (zend_hash.c:888)
==26004==    by 0x140E1CB: phpdbg_watchpoint_segfault_handler (phpdbg_watch.c:277)
==26004==    by 0x13CBA0C: phpdbg_signal_handler (phpdbg.c:1291)
==26004==    by 0x11FA4B3: zend_signal_handler (zend_signal.c:217)
==26004==    by 0x11F9E63: zend_signal_handler_defer (zend_signal.c:104)
==26004==    by 0xD12956F: ??? (in /lib64/libc-2.12.so)
==26004==    by 0x119FE27: _zend_hash_add_or_update_i (zend_hash.c:715)
==26004==    by 0x119FE27: zend_hash_add (zend_hash.c:823)
==26004==    by 0x140F8D2: zend_hash_add_ptr (zend_hash.h:569)
==26004==    by 0x140F8D2: phpdbg_add_watch_element (phpdbg_watch.c:473)
==26004==    by 0x140F9E4: phpdbg_add_bucket_watch_element (phpdbg_watch.c:485)
==26004==    by 0x140FF99: phpdbg_add_recursive_watch_from_ht (phpdbg_watch.c:537)
==26004==    by 0x14104B7: phpdbg_recurse_watch_element (phpdbg_watch.c:583)

 

Generated at Sat, 15 Sep 2018 00:36:54 +0000 (7 days ago)

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