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_005.phpt ('Test proper watch comparisons when having multiple levels of indirection from a zval to its value')

Script

1: <?php
2:
3: $b 
"a";
4:
$a $b.$b;
5:
$c = &$a;
6:
$a[1] = "b";
7:
8: exit;
9:

Report

==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==6723==    by 0x127D8D4: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==6723==    by 0x1283401: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==6723==    by 0x127D90C: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==6723==    by 0x1283401: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==6723==    by 0x127D90C: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==6723==    by 0x1283401: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x1283404: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x12834D8: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x12834FA: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==6723==    by 0x127D8D4: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==6723==    by 0x1283401: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Conditional jump or move depends on uninitialised value(s)
==6723==    at 0x127D8D7: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==6723==    by 0x1283401: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==6723==    by 0x1283F75: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==6723==    by 0x1254CB8: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==6723==    by 0x10CFD7F: zend_execute (zend_vm_execute.h:474)
==6723==    by 0x124E851: phpdbg_do_run (phpdbg_prompt.c:945)
==6723==    by 0x1278028: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==6723==    by 0x12781F9: phpdbg_stack_execute (phpdbg_cmd.c:733)
==6723==    by 0x1252C70: phpdbg_interactive (phpdbg_prompt.c:1634)
==6723==    by 0x123EA63: main (phpdbg.c:2005)
==6723== 
==6723== Invalid read of size 4
==6723==    at 0xA537562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA7FA8B: zm_shutdown_pdo_oci (pdo_oci.c:140)
==6723==    by 0x1003404: module_destructor (zend_API.c:2501)
==6723==    by 0xFED793: module_destructor_zval (zend.c:633)
==6723==    by 0x10266C4: _zend_hash_del_el_ex (zend_hash.c:997)
==6723==    by 0x10266C4: _zend_hash_del_el (zend_hash.c:1020)
==6723==    by 0x10266C4: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==6723==    by 0xFFED3C: zend_destroy_modules (zend_API.c:1978)
==6723==    by 0xFEE1F8: zend_shutdown (zend.c:876)
==6723==    by 0xEE3957: php_module_shutdown (main.c:2445)
==6723==    by 0x123F75F: main (phpdbg.c:2166)
==6723==  Address 0x1502fc90 is 0 bytes inside a block of size 43,632 free'd
==6723==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==6723==    by 0xA82DCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA8F3ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xB283F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA53D6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA7FA8B: zm_shutdown_pdo_oci (pdo_oci.c:140)
==6723==    by 0x1003404: module_destructor (zend_API.c:2501)
==6723==    by 0xFED793: module_destructor_zval (zend.c:633)
==6723==    by 0x10266C4: _zend_hash_del_el_ex (zend_hash.c:997)
==6723==    by 0x10266C4: _zend_hash_del_el (zend_hash.c:1020)
==6723==    by 0x10266C4: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==6723==    by 0xFFED3C: zend_destroy_modules (zend_API.c:1978)
==6723==  Block was alloc'd at
==6723==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==6723==    by 0xA82DCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA8F3EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xB283EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA547030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA5452FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA4074E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==6723==    by 0xA7F9F9: zm_activate_pdo_oci (pdo_oci.c:118)
==6723==    by 0x10035C5: zend_activate_modules (zend_API.c:2539)
==6723==    by 0xEE130E: php_request_startup (main.c:1698)
==6723==    by 0x123DC1D: main (phpdbg.c:1810)
==6723== 

 

Generated at Mon, 10 Sep 2018 14:11:54 +0000 (11 days ago)

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