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

==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==12801==    by 0x12A1F64: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==12801==    by 0x12A79F6: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==12801==    by 0x12A1F9C: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==12801==    by 0x12A79F6: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x12A7ACD: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x12A7AEF: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==12801==    by 0x12A1F9C: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==12801==    by 0x12A79F6: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x12A79F9: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==12801==    by 0x12A1F64: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==12801==    by 0x12A79F6: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Conditional jump or move depends on uninitialised value(s)
==12801==    at 0x12A1F67: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==12801==    by 0x12A79F6: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==12801==    by 0x12A856A: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==12801==    by 0x12796D7: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==12801==    by 0x10F4CAF: zend_execute (zend_vm_execute.h:474)
==12801==    by 0x1273270: phpdbg_do_run (phpdbg_prompt.c:945)
==12801==    by 0x129C6B8: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==12801==    by 0x129C889: phpdbg_stack_execute (phpdbg_cmd.c:733)
==12801==    by 0x127768F: phpdbg_interactive (phpdbg_prompt.c:1634)
==12801==    by 0x1263482: main (phpdbg.c:2005)
==12801== 
==12801== Invalid read of size 4
==12801==    at 0xA6C6562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA6CC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA5965C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xAA4932: zm_shutdown_pdo_oci (pdo_oci.c:140)
==12801==    by 0x1028352: module_destructor (zend_API.c:2501)
==12801==    by 0x1012737: module_destructor_zval (zend.c:633)
==12801==    by 0x104B523: _zend_hash_del_el_ex (zend_hash.c:997)
==12801==    by 0x104B523: _zend_hash_del_el (zend_hash.c:1020)
==12801==    by 0x104B523: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==12801==    by 0x1023C8A: zend_destroy_modules (zend_API.c:1978)
==12801==    by 0x101319C: zend_shutdown (zend.c:876)
==12801==    by 0xF086E8: php_module_shutdown (main.c:2445)
==12801==    by 0x126417E: main (phpdbg.c:2166)
==12801==  Address 0x15c2c2c0 is 0 bytes inside a block of size 43,632 free'd
==12801==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==12801==    by 0xA9BCCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xAA82ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xB412F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA6CC6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA6CC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA5965C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xAA4932: zm_shutdown_pdo_oci (pdo_oci.c:140)
==12801==    by 0x1028352: module_destructor (zend_API.c:2501)
==12801==    by 0x1012737: module_destructor_zval (zend.c:633)
==12801==    by 0x104B523: _zend_hash_del_el_ex (zend_hash.c:997)
==12801==    by 0x104B523: _zend_hash_del_el (zend_hash.c:1020)
==12801==    by 0x104B523: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==12801==    by 0x1023C8A: zend_destroy_modules (zend_API.c:1978)
==12801==  Block was alloc'd at
==12801==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==12801==    by 0xA9BCCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xAA82EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xB412EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA6D6030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA6D42FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xA5964E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==12801==    by 0xAA48A0: zm_activate_pdo_oci (pdo_oci.c:118)
==12801==    by 0x1028513: zend_activate_modules (zend_API.c:2539)
==12801==    by 0xF0609D: php_request_startup (main.c:1698)
==12801==    by 0x126263C: main (phpdbg.c:1810)
==12801== 

 

Generated at Sun, 23 Feb 2020 16:49:06 +0000 (2 days ago)

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