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_003.phpt ('Test simple watchpoint with replace')

Script

1: <?php
2:
3: $a 
= [];
4:
5:
$a[0] = 1;
6:
$a[0] = 2;
7:
8:
$a = [=> 3=> 4];
9:

Report

==32451== Conditional jump or move depends on uninitialised value(s)
==32451==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==32451==    by 0x13B87DA: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==32451==    by 0x13BE3C8: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==32451==    by 0x13BEF66: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==32451==    by 0x138F90D: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==32451==    by 0x136DBD3: zend_execute (zend_vm_execute.h:63760)
==32451==    by 0x138949E: phpdbg_do_run (phpdbg_prompt.c:942)
==32451==    by 0x13B2F23: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==32451==    by 0x13B30F4: phpdbg_stack_execute (phpdbg_cmd.c:733)
==32451==    by 0x138D8C5: phpdbg_interactive (phpdbg_prompt.c:1631)
==32451==    by 0x13796AD: main (phpdbg.c:2001)
==32451== 
==32451== Invalid read of size 4
==32451==    at 0xA304562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xAE6A11: zm_shutdown_pdo_oci (pdo_oci.c:140)
==32451==    by 0x11059A5: module_destructor (zend_API.c:2564)
==32451==    by 0x10EFA8E: module_destructor_zval (zend.c:690)
==32451==    by 0x1128A58: _zend_hash_del_el_ex (zend_hash.c:996)
==32451==    by 0x1128A58: _zend_hash_del_el (zend_hash.c:1019)
==32451==    by 0x1128A58: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==32451==    by 0x1100F25: zend_destroy_modules (zend_API.c:2008)
==32451==    by 0x10F028C: zend_shutdown (zend.c:905)
==32451==    by 0xFE2F7E: php_module_shutdown (main.c:2453)
==32451==    by 0x137A3A4: main (phpdbg.c:2162)
==32451==  Address 0x14ee2f50 is 0 bytes inside a block of size 43,632 free'd
==32451==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==32451==    by 0xA5FACDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA6C0ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xB050F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA30A6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xAE6A11: zm_shutdown_pdo_oci (pdo_oci.c:140)
==32451==    by 0x11059A5: module_destructor (zend_API.c:2564)
==32451==    by 0x10EFA8E: module_destructor_zval (zend.c:690)
==32451==    by 0x1128A58: _zend_hash_del_el_ex (zend_hash.c:996)
==32451==    by 0x1128A58: _zend_hash_del_el (zend_hash.c:1019)
==32451==    by 0x1128A58: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==32451==    by 0x1100F25: zend_destroy_modules (zend_API.c:2008)
==32451==  Block was alloc'd at
==32451==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==32451==    by 0xA5FACEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA6C0EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xB050EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA314030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA3122FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xA1D44E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==32451==    by 0xAE697F: zm_activate_pdo_oci (pdo_oci.c:118)
==32451==    by 0x1105B66: zend_activate_modules (zend_API.c:2600)
==32451==    by 0xFE07BE: php_request_startup (main.c:1694)
==32451==    by 0x1378867: main (phpdbg.c:1806)
==32451== 

 

Generated at Thu, 21 Jun 2018 04:44:28 +0000 (45 hours ago)

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