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

==17069== Conditional jump or move depends on uninitialised value(s)
==17069==    at 0x4C2D026: __memcmp_sse4_1 (vg_replace_strmem.c:1100)
==17069==    by 0x13B8C93: phpdbg_check_watch_diff (phpdbg_watch.c:135)
==17069==    by 0x13BE881: phpdbg_check_watchpoint (phpdbg_watch.c:1007)
==17069==    by 0x13BF41F: phpdbg_print_changed_zvals (phpdbg_watch.c:1107)
==17069==    by 0x138FDC6: phpdbg_execute_ex (phpdbg_prompt.c:1864)
==17069==    by 0x136E08C: zend_execute (zend_vm_execute.h:63776)
==17069==    by 0x1389957: phpdbg_do_run (phpdbg_prompt.c:942)
==17069==    by 0x13B33DC: phpdbg_internal_stack_execute (phpdbg_cmd.c:703)
==17069==    by 0x13B35AD: phpdbg_stack_execute (phpdbg_cmd.c:733)
==17069==    by 0x138DD7E: phpdbg_interactive (phpdbg_prompt.c:1631)
==17069==    by 0x1379B66: main (phpdbg.c:2001)
==17069== 
==17069== Invalid read of size 4
==17069==    at 0xA304562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xAE6AF1: zm_shutdown_pdo_oci (pdo_oci.c:140)
==17069==    by 0x11059B0: module_destructor (zend_API.c:2564)
==17069==    by 0x10EFA99: module_destructor_zval (zend.c:690)
==17069==    by 0x1128A63: _zend_hash_del_el_ex (zend_hash.c:996)
==17069==    by 0x1128A63: _zend_hash_del_el (zend_hash.c:1019)
==17069==    by 0x1128A63: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==17069==    by 0x1100F30: zend_destroy_modules (zend_API.c:2008)
==17069==    by 0x10F0297: zend_shutdown (zend.c:905)
==17069==    by 0xFE2F7B: php_module_shutdown (main.c:2453)
==17069==    by 0x137A85D: main (phpdbg.c:2162)
==17069==  Address 0x14ef1e70 is 0 bytes inside a block of size 43,632 free'd
==17069==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==17069==    by 0xA5FACDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA6C0ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xB050F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA30A6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA30A952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA1D45C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xAE6AF1: zm_shutdown_pdo_oci (pdo_oci.c:140)
==17069==    by 0x11059B0: module_destructor (zend_API.c:2564)
==17069==    by 0x10EFA99: module_destructor_zval (zend.c:690)
==17069==    by 0x1128A63: _zend_hash_del_el_ex (zend_hash.c:996)
==17069==    by 0x1128A63: _zend_hash_del_el (zend_hash.c:1019)
==17069==    by 0x1128A63: zend_hash_graceful_reverse_destroy (zend_hash.c:1475)
==17069==    by 0x1100F30: zend_destroy_modules (zend_API.c:2008)
==17069==  Block was alloc'd at
==17069==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==17069==    by 0xA5FACEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA6C0EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xB050EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA314030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA3122FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xA1D44E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==17069==    by 0xAE6A5F: zm_activate_pdo_oci (pdo_oci.c:118)
==17069==    by 0x1105B71: zend_activate_modules (zend_API.c:2600)
==17069==    by 0xFE07BB: php_request_startup (main.c:1694)
==17069==    by 0x1378D20: main (phpdbg.c:1806)
==17069== 

 

Generated at Fri, 03 Aug 2018 22:39:28 +0000 (16 days ago)

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