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

==17496== Conditional jump or move depends on uninitialised value(s)
==17496==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==17496==    by 0x127CA5D: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==17496==    by 0x12827AF: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==17496==    by 0x1283384: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==17496==    by 0x1253E79: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17496==    by 0x1231AD0: zend_execute (zend_vm_execute.h:60223)
==17496==    by 0x124D816: phpdbg_do_run (phpdbg_prompt.c:942)
==17496==    by 0x12770FC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17496==    by 0x12772CD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17496==    by 0x1251C95: phpdbg_interactive (phpdbg_prompt.c:1631)
==17496==    by 0x123D924: main (phpdbg.c:1999)
==17496== 
==17496== Conditional jump or move depends on uninitialised value(s)
==17496==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==17496==    by 0x127CA95: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==17496==    by 0x12827AF: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==17496==    by 0x1283384: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==17496==    by 0x1253E79: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17496==    by 0x1231AD0: zend_execute (zend_vm_execute.h:60223)
==17496==    by 0x124D816: phpdbg_do_run (phpdbg_prompt.c:942)
==17496==    by 0x12770FC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17496==    by 0x12772CD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17496==    by 0x1251C95: phpdbg_interactive (phpdbg_prompt.c:1631)
==17496==    by 0x123D924: main (phpdbg.c:1999)
==17496== 
==17496== Conditional jump or move depends on uninitialised value(s)
==17496==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==17496==    by 0x127CA95: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==17496==    by 0x12827AF: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==17496==    by 0x1283384: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==17496==    by 0x1253E79: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17496==    by 0x1231AD0: zend_execute (zend_vm_execute.h:60223)
==17496==    by 0x124D816: phpdbg_do_run (phpdbg_prompt.c:942)
==17496==    by 0x12770FC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17496==    by 0x12772CD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17496==    by 0x1251C95: phpdbg_interactive (phpdbg_prompt.c:1631)
==17496==    by 0x123D924: main (phpdbg.c:1999)
==17496== 
==17496== Conditional jump or move depends on uninitialised value(s)
==17496==    at 0x12827B2: phpdbg_check_watchpoint (phpdbg_watch.c:1008)
==17496==    by 0x1283384: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==17496==    by 0x1253E79: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17496==    by 0x1231AD0: zend_execute (zend_vm_execute.h:60223)
==17496==    by 0x124D816: phpdbg_do_run (phpdbg_prompt.c:942)
==17496==    by 0x12770FC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17496==    by 0x12772CD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17496==    by 0x1251C95: phpdbg_interactive (phpdbg_prompt.c:1631)
==17496==    by 0x123D924: main (phpdbg.c:1999)
==17496== 
==17496== Conditional jump or move depends on uninitialised value(s)
==17496==    at 0x1282886: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==17496==    by 0x1283384: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==17496==    by 0x1253E79: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17496==    by 0x1231AD0: zend_execute (zend_vm_execute.h:60223)
==17496==    by 0x124D816: phpdbg_do_run (phpdbg_prompt.c:942)
==17496==    by 0x12770FC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17496==    by 0x12772CD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17496==    by 0x1251C95: phpdbg_interactive (phpdbg_prompt.c:1631)
==17496==    by 0x123D924: main (phpdbg.c:1999)
==17496== 
==17496== Conditional jump or move depends on uninitialised value(s)
==17496==    at 0x12828A8: phpdbg_check_watchpoint (phpdbg_watch.c:1016)
==17496==    by 0x1283384: phpdbg_print_changed_zvals (phpdbg_watch.c:1108)
==17496==    by 0x1253E79: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17496==    by 0x1231AD0: zend_execute (zend_vm_execute.h:60223)
==17496==    by 0x124D816: phpdbg_do_run (phpdbg_prompt.c:942)
==17496==    by 0x12770FC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17496==    by 0x12772CD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17496==    by 0x1251C95: phpdbg_interactive (phpdbg_prompt.c:1631)
==17496==    by 0x123D924: main (phpdbg.c:1999)
==17496== 
==17496== Invalid read of size 4
==17496==    at 0xAB29562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xAB2F952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xA9F95C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0x9C8630: zm_shutdown_pdo_oci (pdo_oci.c:138)
==17496==    by 0x1000CE5: module_destructor (zend_API.c:2584)
==17496==    by 0xFEA2A7: module_destructor_zval (zend.c:753)
==17496==    by 0x101FDB4: _zend_hash_del_el_ex (zend_hash.c:1246)
==17496==    by 0x101FDB4: _zend_hash_del_el (zend_hash.c:1269)
==17496==    by 0x101FDB4: zend_hash_graceful_reverse_destroy (zend_hash.c:1723)
==17496==    by 0xFFC18D: zend_destroy_modules (zend_API.c:2024)
==17496==    by 0xFEAAA2: zend_shutdown (zend.c:1005)
==17496==    by 0xEDAA41: php_module_shutdown (main.c:2495)
==17496==    by 0x123E548: main (phpdbg.c:2160)
==17496==  Address 0x15f56c60 is 0 bytes inside a block of size 43,632 free'd
==17496==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==17496==    by 0xAE1FCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xAEE5ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xB875F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xAB2F6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xAB2F952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xA9F95C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0x9C8630: zm_shutdown_pdo_oci (pdo_oci.c:138)
==17496==    by 0x1000CE5: module_destructor (zend_API.c:2584)
==17496==    by 0xFEA2A7: module_destructor_zval (zend.c:753)
==17496==    by 0x101FDB4: _zend_hash_del_el_ex (zend_hash.c:1246)
==17496==    by 0x101FDB4: _zend_hash_del_el (zend_hash.c:1269)
==17496==    by 0x101FDB4: zend_hash_graceful_reverse_destroy (zend_hash.c:1723)
==17496==    by 0xFFC18D: zend_destroy_modules (zend_API.c:2024)
==17496==  Block was alloc'd at
==17496==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==17496==    by 0xAE1FCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xAEE5EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xB875EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xAB39030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xAB372FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0xA9F94E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17496==    by 0x9C859E: zm_activate_pdo_oci (pdo_oci.c:116)
==17496==    by 0x1000EC7: zend_activate_modules (zend_API.c:2620)
==17496==    by 0xED87F5: php_request_startup (main.c:1831)
==17496==    by 0x123CB02: main (phpdbg.c:1799)
==17496== 

 

Generated at Tue, 06 Nov 2018 09:43:32 +0000 (11 days ago)

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