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_004.phpt ('Test detection of inline string manipulations on zval watch')

Script

1: <?php
2:
3: $b 
"a";
4:
$a $b.$b;
5:
$a[1] = "b";
6:

Report

==18205== Conditional jump or move depends on uninitialised value(s)
==18205==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18205==    by 0x1382E8F: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==18205==    by 0x1388762: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18205==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18205==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18205==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18205==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18205==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18205==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18205==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18205==    by 0x134484B: main (phpdbg.c:1996)
==18205== 
==18205== Conditional jump or move depends on uninitialised value(s)
==18205==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18205==    by 0x1382EC7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==18205==    by 0x1388762: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18205==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18205==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18205==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18205==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18205==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18205==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18205==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18205==    by 0x134484B: main (phpdbg.c:1996)
==18205== 
==18205== Conditional jump or move depends on uninitialised value(s)
==18205==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18205==    by 0x1382EC7: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==18205==    by 0x1388762: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18205==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18205==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18205==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18205==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18205==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18205==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18205==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18205==    by 0x134484B: main (phpdbg.c:1996)
==18205== 
==18205== Conditional jump or move depends on uninitialised value(s)
==18205==    at 0x1388765: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==18205==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18205==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18205==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18205==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18205==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18205==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18205==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18205==    by 0x134484B: main (phpdbg.c:1996)
==18205== 
==18205== Conditional jump or move depends on uninitialised value(s)
==18205==    at 0x138884A: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==18205==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18205==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18205==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18205==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18205==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18205==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18205==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18205==    by 0x134484B: main (phpdbg.c:1996)
==18205== 
==18205== Conditional jump or move depends on uninitialised value(s)
==18205==    at 0x138886C: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==18205==    by 0x13892CC: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==18205==    by 0x135AACC: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18205==    by 0x1338FEF: zend_execute (zend_vm_execute.h:64031)
==18205==    by 0x1354566: phpdbg_do_run (phpdbg_prompt.c:942)
==18205==    by 0x137D4DE: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18205==    by 0x137D69D: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18205==    by 0x13589CF: phpdbg_interactive (phpdbg_prompt.c:1631)
==18205==    by 0x134484B: main (phpdbg.c:1996)
==18205== 
==18205== Invalid read of size 4
==18205==    at 0xA0EA562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xA0F0952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0x9FBA5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xAEDBDC: zm_shutdown_pdo_oci (pdo_oci.c:140)
==18205==    by 0x10E1C75: module_destructor (zend_API.c:2496)
==18205==    by 0x10CBCAC: module_destructor_zval (zend.c:697)
==18205==    by 0x1104D01: _zend_hash_del_el_ex (zend_hash.c:1058)
==18205==    by 0x1104D01: _zend_hash_del_el (zend_hash.c:1081)
==18205==    by 0x1104D01: zend_hash_graceful_reverse_destroy (zend_hash.c:1537)
==18205==    by 0x10DD327: zend_destroy_modules (zend_API.c:1940)
==18205==    by 0x10CC51C: zend_shutdown (zend.c:923)
==18205==    by 0xFB8928: php_module_shutdown (main.c:2328)
==18205==    by 0x134549A: main (phpdbg.c:2158)
==18205==  Address 0x14ec3240 is 0 bytes inside a block of size 43,632 free'd
==18205==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18205==    by 0xA3E0CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xA4A6ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xAE36F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xA0F06E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xA0F0952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0x9FBA5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xAEDBDC: zm_shutdown_pdo_oci (pdo_oci.c:140)
==18205==    by 0x10E1C75: module_destructor (zend_API.c:2496)
==18205==    by 0x10CBCAC: module_destructor_zval (zend.c:697)
==18205==    by 0x1104D01: _zend_hash_del_el_ex (zend_hash.c:1058)
==18205==    by 0x1104D01: _zend_hash_del_el (zend_hash.c:1081)
==18205==    by 0x1104D01: zend_hash_graceful_reverse_destroy (zend_hash.c:1537)
==18205==    by 0x10DD327: zend_destroy_modules (zend_API.c:1940)
==18205==  Block was alloc'd at
==18205==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18205==    by 0xA3E0CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xA4A6EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xAE36EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xA0FA030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xA0F82FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0x9FBA4E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18205==    by 0xAEDB50: zm_activate_pdo_oci (pdo_oci.c:118)
==18205==    by 0x10E1E32: zend_activate_modules (zend_API.c:2532)
==18205==    by 0xFB6773: php_request_startup (main.c:1666)
==18205==    by 0x1343A2B: main (phpdbg.c:1806)
==18205== 

 

Generated at Sun, 12 Nov 2017 21:17:35 +0000 (4 days ago)

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