PHP  
 PHP_7_2
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

==23461== Conditional jump or move depends on uninitialised value(s)
==23461==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==23461==    by 0x13CD5E7: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==23461==    by 0x13D31D5: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==23461==    by 0x13D3D73: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==23461==    by 0x13A471A: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==23461==    by 0x13829E0: zend_execute (zend_vm_execute.h:63776)
==23461==    by 0x139E2AB: phpdbg_do_run (phpdbg_prompt.c:942)
==23461==    by 0x13C7D30: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==23461==    by 0x13C7F01: phpdbg_stack_execute (phpdbg_cmd.c:733)
==23461==    by 0x13A26D2: phpdbg_interactive (phpdbg_prompt.c:1631)
==23461==    by 0x138E4BA: main (phpdbg.c:2001)
==23461== 
==23461== Conditional jump or move depends on uninitialised value(s)
==23461==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==23461==    by 0x13CD61F: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==23461==    by 0x13D31D5: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==23461==    by 0x13D3D73: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==23461==    by 0x13A471A: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==23461==    by 0x13829E0: zend_execute (zend_vm_execute.h:63776)
==23461==    by 0x139E2AB: phpdbg_do_run (phpdbg_prompt.c:942)
==23461==    by 0x13C7D30: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==23461==    by 0x13C7F01: phpdbg_stack_execute (phpdbg_cmd.c:733)
==23461==    by 0x13A26D2: phpdbg_interactive (phpdbg_prompt.c:1631)
==23461==    by 0x138E4BA: main (phpdbg.c:2001)
==23461== 
==23461== Conditional jump or move depends on uninitialised value(s)
==23461==    at 0x4C2CFF1: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==23461==    by 0x13CD61F: phpdbg_check_watch_diff (phpdbg_watch.c:139)
==23461==    by 0x13D31D5: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==23461==    by 0x13D3D73: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==23461==    by 0x13A471A: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==23461==    by 0x13829E0: zend_execute (zend_vm_execute.h:63776)
==23461==    by 0x139E2AB: phpdbg_do_run (phpdbg_prompt.c:942)
==23461==    by 0x13C7D30: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==23461==    by 0x13C7F01: phpdbg_stack_execute (phpdbg_cmd.c:733)
==23461==    by 0x13A26D2: phpdbg_interactive (phpdbg_prompt.c:1631)
==23461==    by 0x138E4BA: main (phpdbg.c:2001)
==23461== 
==23461== Conditional jump or move depends on uninitialised value(s)
==23461==    at 0x13D31D8: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==23461==    by 0x13D3D73: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==23461==    by 0x13A471A: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==23461==    by 0x13829E0: zend_execute (zend_vm_execute.h:63776)
==23461==    by 0x139E2AB: phpdbg_do_run (phpdbg_prompt.c:942)
==23461==    by 0x13C7D30: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==23461==    by 0x13C7F01: phpdbg_stack_execute (phpdbg_cmd.c:733)
==23461==    by 0x13A26D2: phpdbg_interactive (phpdbg_prompt.c:1631)
==23461==    by 0x138E4BA: main (phpdbg.c:2001)
==23461== 
==23461== Conditional jump or move depends on uninitialised value(s)
==23461==    at 0x13D32AC: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==23461==    by 0x13D3D73: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==23461==    by 0x13A471A: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==23461==    by 0x13829E0: zend_execute (zend_vm_execute.h:63776)
==23461==    by 0x139E2AB: phpdbg_do_run (phpdbg_prompt.c:942)
==23461==    by 0x13C7D30: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==23461==    by 0x13C7F01: phpdbg_stack_execute (phpdbg_cmd.c:733)
==23461==    by 0x13A26D2: phpdbg_interactive (phpdbg_prompt.c:1631)
==23461==    by 0x138E4BA: main (phpdbg.c:2001)
==23461== 
==23461== Conditional jump or move depends on uninitialised value(s)
==23461==    at 0x13D32CE: phpdbg_check_watchpoint (phpdbg_watch.c:1015)
==23461==    by 0x13D3D73: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==23461==    by 0x13A471A: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==23461==    by 0x13829E0: zend_execute (zend_vm_execute.h:63776)
==23461==    by 0x139E2AB: phpdbg_do_run (phpdbg_prompt.c:942)
==23461==    by 0x13C7D30: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==23461==    by 0x13C7F01: phpdbg_stack_execute (phpdbg_cmd.c:733)
==23461==    by 0x13A26D2: phpdbg_interactive (phpdbg_prompt.c:1631)
==23461==    by 0x138E4BA: main (phpdbg.c:2001)
==23461== 
==23461== Invalid read of size 4
==23461==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xAFB312: zm_shutdown_pdo_oci (pdo_oci.c:140)
==23461==    by 0x1119D41: module_destructor (zend_API.c:2564)
==23461==    by 0x1103E05: module_destructor_zval (zend.c:690)
==23461==    by 0x113CEA9: _zend_hash_del_el_ex (zend_hash.c:998)
==23461==    by 0x113CEA9: _zend_hash_del_el (zend_hash.c:1021)
==23461==    by 0x113CEA9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==23461==    by 0x11152C1: zend_destroy_modules (zend_API.c:2008)
==23461==    by 0x1104603: zend_shutdown (zend.c:905)
==23461==    by 0xFF6D17: php_module_shutdown (main.c:2453)
==23461==    by 0x138F1B1: main (phpdbg.c:2162)
==23461==  Address 0x15ac94a0 is 0 bytes inside a block of size 43,632 free'd
==23461==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==23461==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xAFB312: zm_shutdown_pdo_oci (pdo_oci.c:140)
==23461==    by 0x1119D41: module_destructor (zend_API.c:2564)
==23461==    by 0x1103E05: module_destructor_zval (zend.c:690)
==23461==    by 0x113CEA9: _zend_hash_del_el_ex (zend_hash.c:998)
==23461==    by 0x113CEA9: _zend_hash_del_el (zend_hash.c:1021)
==23461==    by 0x113CEA9: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==23461==    by 0x11152C1: zend_destroy_modules (zend_API.c:2008)
==23461==  Block was alloc'd at
==23461==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==23461==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==23461==    by 0xAFB280: zm_activate_pdo_oci (pdo_oci.c:118)
==23461==    by 0x1119F02: zend_activate_modules (zend_API.c:2600)
==23461==    by 0xFF4557: php_request_startup (main.c:1694)
==23461==    by 0x138D674: main (phpdbg.c:1806)
==23461== 

 

Generated at Sun, 10 Feb 2019 05:24:25 +0000 (10 days ago)

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