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

==18448== Conditional jump or move depends on uninitialised value(s)
==18448==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==18448==    by 0x13BD9DC: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==18448==    by 0x13C35CA: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==18448==    by 0x13C4168: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==18448==    by 0x1394B0F: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==18448==    by 0x1372DD5: zend_execute (zend_vm_execute.h:63776)
==18448==    by 0x138E6A0: phpdbg_do_run (phpdbg_prompt.c:942)
==18448==    by 0x13B8125: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==18448==    by 0x13B82F6: phpdbg_stack_execute (phpdbg_cmd.c:733)
==18448==    by 0x1392AC7: phpdbg_interactive (phpdbg_prompt.c:1631)
==18448==    by 0x137E8AF: main (phpdbg.c:2001)
==18448== 
==18448== Invalid read of size 4
==18448==    at 0xA473562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xAEC9B0: zm_shutdown_pdo_oci (pdo_oci.c:140)
==18448==    by 0x110A1B1: module_destructor (zend_API.c:2564)
==18448==    by 0x10F425E: module_destructor_zval (zend.c:690)
==18448==    by 0x112D29E: _zend_hash_del_el_ex (zend_hash.c:998)
==18448==    by 0x112D29E: _zend_hash_del_el (zend_hash.c:1021)
==18448==    by 0x112D29E: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==18448==    by 0x1105731: zend_destroy_modules (zend_API.c:2008)
==18448==    by 0x10F4A5C: zend_shutdown (zend.c:905)
==18448==    by 0xFE7713: php_module_shutdown (main.c:2453)
==18448==    by 0x137F5A6: main (phpdbg.c:2162)
==18448==  Address 0x15ac8ac0 is 0 bytes inside a block of size 43,632 free'd
==18448==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==18448==    by 0xA769CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA82FED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xB1BFF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA4796E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA479952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA3435C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xAEC9B0: zm_shutdown_pdo_oci (pdo_oci.c:140)
==18448==    by 0x110A1B1: module_destructor (zend_API.c:2564)
==18448==    by 0x10F425E: module_destructor_zval (zend.c:690)
==18448==    by 0x112D29E: _zend_hash_del_el_ex (zend_hash.c:998)
==18448==    by 0x112D29E: _zend_hash_del_el (zend_hash.c:1021)
==18448==    by 0x112D29E: zend_hash_graceful_reverse_destroy (zend_hash.c:1477)
==18448==    by 0x1105731: zend_destroy_modules (zend_API.c:2008)
==18448==  Block was alloc'd at
==18448==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==18448==    by 0xA769CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA82FEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xB1BFEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA483030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA4812FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xA3434E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==18448==    by 0xAEC91E: zm_activate_pdo_oci (pdo_oci.c:118)
==18448==    by 0x110A372: zend_activate_modules (zend_API.c:2600)
==18448==    by 0xFE4F53: php_request_startup (main.c:1694)
==18448==    by 0x137DA69: main (phpdbg.c:1806)
==18448== 

 

Generated at Mon, 08 Oct 2018 02:05:35 +0000 (11 days ago)

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