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

==28268== Conditional jump or move depends on uninitialised value(s)
==28268==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==28268==    by 0x13CB51D: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==28268==    by 0x13D110B: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==28268==    by 0x13D1CA9: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==28268==    by 0x13A2650: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==28268==    by 0x1380916: zend_execute (zend_vm_execute.h:63776)
==28268==    by 0x139C1E1: phpdbg_do_run (phpdbg_prompt.c:942)
==28268==    by 0x13C5C66: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==28268==    by 0x13C5E37: phpdbg_stack_execute (phpdbg_cmd.c:733)
==28268==    by 0x13A0608: phpdbg_interactive (phpdbg_prompt.c:1631)
==28268==    by 0x138C3F0: main (phpdbg.c:2001)
==28268== 
==28268== Invalid read of size 4
==28268==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xAF9636: zm_shutdown_pdo_oci (pdo_oci.c:140)
==28268==    by 0x1117CF2: module_destructor (zend_API.c:2564)
==28268==    by 0x1101DB6: module_destructor_zval (zend.c:690)
==28268==    by 0x113ADDF: _zend_hash_del_el_ex (zend_hash.c:998)
==28268==    by 0x113ADDF: _zend_hash_del_el (zend_hash.c:1021)
==28268==    by 0x113ADDF: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==28268==    by 0x1113272: zend_destroy_modules (zend_API.c:2008)
==28268==    by 0x11025B4: zend_shutdown (zend.c:905)
==28268==    by 0xFF4F12: php_module_shutdown (main.c:2453)
==28268==    by 0x138D0E7: main (phpdbg.c:2162)
==28268==  Address 0x15ac8ee0 is 0 bytes inside a block of size 43,632 free'd
==28268==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==28268==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xAF9636: zm_shutdown_pdo_oci (pdo_oci.c:140)
==28268==    by 0x1117CF2: module_destructor (zend_API.c:2564)
==28268==    by 0x1101DB6: module_destructor_zval (zend.c:690)
==28268==    by 0x113ADDF: _zend_hash_del_el_ex (zend_hash.c:998)
==28268==    by 0x113ADDF: _zend_hash_del_el (zend_hash.c:1021)
==28268==    by 0x113ADDF: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==28268==    by 0x1113272: zend_destroy_modules (zend_API.c:2008)
==28268==  Block was alloc'd at
==28268==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==28268==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==28268==    by 0xAF95A4: zm_activate_pdo_oci (pdo_oci.c:118)
==28268==    by 0x1117EB3: zend_activate_modules (zend_API.c:2600)
==28268==    by 0xFF2752: php_request_startup (main.c:1694)
==28268==    by 0x138B5AA: main (phpdbg.c:1806)
==28268== 

 

Generated at Wed, 09 Jan 2019 04:17:14 +0000 (9 days ago)

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