PHP  
 PHP_7_1
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for sapi/phpdbg/tests/breakpoints_008.phpt ('Test namespaced and non-lowercase breakpoint names')

Script

1: <?php
2:
3:
namespace Foo {
4:     class 
Bar {
5:         function 
Foo($bar) {
6:             
var_dump($bar);
7:         }
8:     }
9: }
10:
11: namespace {
12:     (new \
Foo\Bar)->Foo("test");
13: }
14:

Report

==29616== Invalid read of size 4
==29616==    at 0xA6C6562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA6CC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA5965C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA85ED2: zm_shutdown_pdo_oci (pdo_oci.c:140)
==29616==    by 0x10096D4: module_destructor (zend_API.c:2501)
==29616==    by 0xFF3AB9: module_destructor_zval (zend.c:633)
==29616==    by 0x102C8A5: _zend_hash_del_el_ex (zend_hash.c:997)
==29616==    by 0x102C8A5: _zend_hash_del_el (zend_hash.c:1020)
==29616==    by 0x102C8A5: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==29616==    by 0x100500C: zend_destroy_modules (zend_API.c:1978)
==29616==    by 0xFF451E: zend_shutdown (zend.c:876)
==29616==    by 0xEE9C39: php_module_shutdown (main.c:2445)
==29616==    by 0x1245500: main (phpdbg.c:2166)
==29616==  Address 0x15c26140 is 0 bytes inside a block of size 43,632 free'd
==29616==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==29616==    by 0xA9BCCDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xAA82ED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xB412F6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA6CC6E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA6CC952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA5965C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA85ED2: zm_shutdown_pdo_oci (pdo_oci.c:140)
==29616==    by 0x10096D4: module_destructor (zend_API.c:2501)
==29616==    by 0xFF3AB9: module_destructor_zval (zend.c:633)
==29616==    by 0x102C8A5: _zend_hash_del_el_ex (zend_hash.c:997)
==29616==    by 0x102C8A5: _zend_hash_del_el (zend_hash.c:1020)
==29616==    by 0x102C8A5: zend_hash_graceful_reverse_destroy (zend_hash.c:1476)
==29616==    by 0x100500C: zend_destroy_modules (zend_API.c:1978)
==29616==  Block was alloc'd at
==29616==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==29616==    by 0xA9BCCEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xAA82EEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xB412EFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA6D6030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA6D42FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA5964E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==29616==    by 0xA85E40: zm_activate_pdo_oci (pdo_oci.c:118)
==29616==    by 0x1009895: zend_activate_modules (zend_API.c:2539)
==29616==    by 0xEE75EE: php_request_startup (main.c:1698)
==29616==    by 0x12439BE: main (phpdbg.c:1810)
==29616== 

 

Generated at Fri, 15 Mar 2019 21:51:14 +0000 (2 days ago)

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