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

==25997== Conditional jump or move depends on uninitialised value(s)
==25997==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==25997==    by 0x140D481: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==25997==    by 0x14131D3: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==25997==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==25997==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==25997==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==25997==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==25997==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==25997==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==25997==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==25997==    by 0x13CE4FE: main (phpdbg.c:1999)
==25997== 
==25997== Conditional jump or move depends on uninitialised value(s)
==25997==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==25997==    by 0x140D4B9: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==25997==    by 0x14131D3: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==25997==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==25997==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==25997==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==25997==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==25997==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==25997==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==25997==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==25997==    by 0x13CE4FE: main (phpdbg.c:1999)
==25997== 
==25997== Conditional jump or move depends on uninitialised value(s)
==25997==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==25997==    by 0x140D4B9: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==25997==    by 0x14131D3: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==25997==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==25997==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==25997==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==25997==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==25997==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==25997==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==25997==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==25997==    by 0x13CE4FE: main (phpdbg.c:1999)
==25997== 
==25997== Conditional jump or move depends on uninitialised value(s)
==25997==    at 0x14131D6: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==25997==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==25997==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==25997==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==25997==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==25997==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==25997==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==25997==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==25997==    by 0x13CE4FE: main (phpdbg.c:1999)
==25997== 
==25997== Conditional jump or move depends on uninitialised value(s)
==25997==    at 0x14132AA: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==25997==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==25997==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==25997==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==25997==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==25997==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==25997==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==25997==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==25997==    by 0x13CE4FE: main (phpdbg.c:1999)
==25997== 
==25997== Conditional jump or move depends on uninitialised value(s)
==25997==    at 0x14132CC: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==25997==    by 0x1413DA8: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==25997==    by 0x13E4A6C: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==25997==    by 0x13C2710: zend_execute (zend_vm_execute.h:60749)
==25997==    by 0x13DE4B1: phpdbg_do_run (phpdbg_prompt.c:942)
==25997==    by 0x1407B20: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==25997==    by 0x1407CF1: phpdbg_stack_execute (phpdbg_cmd.c:733)
==25997==    by 0x13E28F7: phpdbg_interactive (phpdbg_prompt.c:1631)
==25997==    by 0x13CE4FE: main (phpdbg.c:1999)
==25997== 
==25997== Invalid read of size 4
==25997==    at 0xA50C562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA512952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA3DC5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xB3A7EA: zm_shutdown_pdo_oci (pdo_oci.c:138)
==25997==    by 0x118F290: module_destructor (zend_API.c:2573)
==25997==    by 0x117942B: module_destructor_zval (zend.c:745)
==25997==    by 0x11AE51A: _zend_hash_del_el_ex (zend_hash.c:1244)
==25997==    by 0x11AE51A: _zend_hash_del_el (zend_hash.c:1267)
==25997==    by 0x11AE51A: zend_hash_graceful_reverse_destroy (zend_hash.c:1721)
==25997==    by 0x118A79B: zend_destroy_modules (zend_API.c:2013)
==25997==    by 0x1179BDB: zend_shutdown (zend.c:976)
==25997==    by 0x106A2AC: php_module_shutdown (main.c:2501)
==25997==    by 0x13CF185: main (phpdbg.c:2161)
==25997==  Address 0x14ecc430 is 0 bytes inside a block of size 43,632 free'd
==25997==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==25997==    by 0xA802CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA8C8ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xB258F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA5126E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA512952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA3DC5C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xB3A7EA: zm_shutdown_pdo_oci (pdo_oci.c:138)
==25997==    by 0x118F290: module_destructor (zend_API.c:2573)
==25997==    by 0x117942B: module_destructor_zval (zend.c:745)
==25997==    by 0x11AE51A: _zend_hash_del_el_ex (zend_hash.c:1244)
==25997==    by 0x11AE51A: _zend_hash_del_el (zend_hash.c:1267)
==25997==    by 0x11AE51A: zend_hash_graceful_reverse_destroy (zend_hash.c:1721)
==25997==    by 0x118A79B: zend_destroy_modules (zend_API.c:2013)
==25997==  Block was alloc'd at
==25997==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==25997==    by 0xA802CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA8C8EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xB258EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA51C030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA51A2FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xA3DC4E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==25997==    by 0xB3A758: zm_activate_pdo_oci (pdo_oci.c:116)
==25997==    by 0x118F472: zend_activate_modules (zend_API.c:2609)
==25997==    by 0x1068060: php_request_startup (main.c:1837)
==25997==    by 0x13CD6DC: main (phpdbg.c:1799)
==25997== 

 

Generated at Sat, 15 Sep 2018 00:36:54 +0000 (7 days ago)

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