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

==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==2202==    by 0x127E77D: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==2202==    by 0x12842AA: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==2202==    by 0x127E7B5: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==2202==    by 0x12842AA: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==2202==    by 0x127E7B5: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==2202==    by 0x12842AA: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x12842AD: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x1284381: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x12843A3: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==2202==    by 0x127E77D: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==2202==    by 0x12842AA: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Conditional jump or move depends on uninitialised value(s)
==2202==    at 0x127E780: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==2202==    by 0x12842AA: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==2202==    by 0x1284E1E: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==2202==    by 0x1255B61: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==2202==    by 0x10D0C28: zend_execute (zend_vm_execute.h:474)
==2202==    by 0x124F6FA: phpdbg_do_run (phpdbg_prompt.c:945)
==2202==    by 0x1278ED1: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==2202==    by 0x12790A2: phpdbg_stack_execute (phpdbg_cmd.c:733)
==2202==    by 0x1253B19: phpdbg_interactive (phpdbg_prompt.c:1634)
==2202==    by 0x123F90C: main (phpdbg.c:2005)
==2202== 
==2202== Invalid read of size 4
==2202==    at 0xA537562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA7F6F1: zm_shutdown_pdo_oci (pdo_oci.c:140)
==2202==    by 0x10044C9: module_destructor (zend_API.c:2501)
==2202==    by 0xFEE858: module_destructor_zval (zend.c:633)
==2202==    by 0x1027789: _zend_hash_del_el_ex (zend_hash.c:997)
==2202==    by 0x1027789: _zend_hash_del_el (zend_hash.c:1020)
==2202==    by 0x1027789: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==2202==    by 0xFFFE01: zend_destroy_modules (zend_API.c:1978)
==2202==    by 0xFEF2BD: zend_shutdown (zend.c:876)
==2202==    by 0xEE4A49: php_module_shutdown (main.c:2445)
==2202==    by 0x1240608: main (phpdbg.c:2166)
==2202==  Address 0x1502fce0 is 0 bytes inside a block of size 43,632 free'd
==2202==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==2202==    by 0xA82DCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA8F3ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xB283F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA53D6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA53D952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA4075C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA7F6F1: zm_shutdown_pdo_oci (pdo_oci.c:140)
==2202==    by 0x10044C9: module_destructor (zend_API.c:2501)
==2202==    by 0xFEE858: module_destructor_zval (zend.c:633)
==2202==    by 0x1027789: _zend_hash_del_el_ex (zend_hash.c:997)
==2202==    by 0x1027789: _zend_hash_del_el (zend_hash.c:1020)
==2202==    by 0x1027789: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==2202==    by 0xFFFE01: zend_destroy_modules (zend_API.c:1978)
==2202==  Block was alloc'd at
==2202==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==2202==    by 0xA82DCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA8F3EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xB283EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA547030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA5452FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA4074E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==2202==    by 0xA7F65F: zm_activate_pdo_oci (pdo_oci.c:118)
==2202==    by 0x100468A: zend_activate_modules (zend_API.c:2539)
==2202==    by 0xEE2400: php_request_startup (main.c:1698)
==2202==    by 0x123EAC6: main (phpdbg.c:1810)
==2202== 

 

Generated at Sun, 15 Jul 2018 02:47:46 +0000 (4 days ago)

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