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

==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==11282==    by 0x1286AA5: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==11282==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==11282==    by 0x1286ADD: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==11282==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==11282==    by 0x1286ADD: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==11282==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x128C5D5: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x128C6A9: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x128C6CB: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==11282==    by 0x1286AA5: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==11282==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Conditional jump or move depends on uninitialised value(s)
==11282==    at 0x1286AA8: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==11282==    by 0x128C5D2: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==11282==    by 0x128D146: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==11282==    by 0x125DE89: phpdbg_execute_ex (phpdbg_prompt.c:1867)
==11282==    by 0x10D8F50: zend_execute (zend_vm_execute.h:474)
==11282==    by 0x1257A22: phpdbg_do_run (phpdbg_prompt.c:945)
==11282==    by 0x12811F9: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==11282==    by 0x12813CA: phpdbg_stack_execute (phpdbg_cmd.c:733)
==11282==    by 0x125BE41: phpdbg_interactive (phpdbg_prompt.c:1634)
==11282==    by 0x1247C34: main (phpdbg.c:2005)
==11282== 
==11282== Invalid read of size 4
==11282==    at 0xA6A6562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA6AC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA5765C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA87C97: zm_shutdown_pdo_oci (pdo_oci.c:140)
==11282==    by 0x100C2E3: module_destructor (zend_API.c:2501)
==11282==    by 0xFF6672: module_destructor_zval (zend.c:633)
==11282==    by 0x102F5A3: _zend_hash_del_el_ex (zend_hash.c:997)
==11282==    by 0x102F5A3: _zend_hash_del_el (zend_hash.c:1020)
==11282==    by 0x102F5A3: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==11282==    by 0x1007C1B: zend_destroy_modules (zend_API.c:1978)
==11282==    by 0xFF70D7: zend_shutdown (zend.c:876)
==11282==    by 0xEEC64D: php_module_shutdown (main.c:2445)
==11282==    by 0x1248930: main (phpdbg.c:2166)
==11282==  Address 0x15c06120 is 0 bytes inside a block of size 43,632 free'd
==11282==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==11282==    by 0xA99CCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xAA62ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xB3F2F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA6AC6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA6AC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA5765C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA87C97: zm_shutdown_pdo_oci (pdo_oci.c:140)
==11282==    by 0x100C2E3: module_destructor (zend_API.c:2501)
==11282==    by 0xFF6672: module_destructor_zval (zend.c:633)
==11282==    by 0x102F5A3: _zend_hash_del_el_ex (zend_hash.c:997)
==11282==    by 0x102F5A3: _zend_hash_del_el (zend_hash.c:1020)
==11282==    by 0x102F5A3: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==11282==    by 0x1007C1B: zend_destroy_modules (zend_API.c:1978)
==11282==  Block was alloc'd at
==11282==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==11282==    by 0xA99CCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xAA62EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xB3F2EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA6B6030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA6B42FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA5764E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==11282==    by 0xA87C05: zm_activate_pdo_oci (pdo_oci.c:118)
==11282==    by 0x100C4A4: zend_activate_modules (zend_API.c:2539)
==11282==    by 0xEEA004: php_request_startup (main.c:1698)
==11282==    by 0x1246DEE: main (phpdbg.c:1810)
==11282== 

 

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

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