PHP  
 PHP_HEAD
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:
15:

Report

==27147== Invalid read of size 4
==27147==    at 0xA2F2562: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA2F8952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA1C25C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xB27878: zm_shutdown_pdo_oci (pdo_oci.c:140)
==27147==    by 0x111E094: module_destructor (zend_API.c:2497)
==27147==    by 0x1108292: module_destructor_zval (zend.c:714)
==27147==    by 0x1141D35: _zend_hash_del_el_ex (zend_hash.c:1075)
==27147==    by 0x1141D35: _zend_hash_del_el (zend_hash.c:1098)
==27147==    by 0x1141D35: zend_hash_graceful_reverse_destroy (zend_hash.c:1552)
==27147==    by 0x111989E: zend_destroy_modules (zend_API.c:1942)
==27147==    by 0x1108A21: zend_shutdown (zend.c:943)
==27147==    by 0xFF3623: php_module_shutdown (main.c:2326)
==27147==    by 0x135CE81: main (phpdbg.c:2165)
==27147==  Address 0x14e7cba0 is 0 bytes inside a block of size 43,632 free'd
==27147==    at 0x4C28BD4: free (vg_replace_malloc.c:529)
==27147==    by 0xA5E8CDE: ssMemFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA6AEED9: sktsfFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xB03EF6B: kpummefree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA2F86E6: kpufhndl0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA2F8952: kpufhndl (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA1C25C4: OCIHandleFree (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xB27878: zm_shutdown_pdo_oci (pdo_oci.c:140)
==27147==    by 0x111E094: module_destructor (zend_API.c:2497)
==27147==    by 0x1108292: module_destructor_zval (zend.c:714)
==27147==    by 0x1141D35: _zend_hash_del_el_ex (zend_hash.c:1075)
==27147==    by 0x1141D35: _zend_hash_del_el (zend_hash.c:1098)
==27147==    by 0x1141D35: zend_hash_graceful_reverse_destroy (zend_hash.c:1552)
==27147==    by 0x111989E: zend_destroy_modules (zend_API.c:1942)
==27147==  Block was alloc'd at
==27147==    at 0x4C291FA: malloc (vg_replace_malloc.c:298)
==27147==    by 0xA5E8CEC: ssMemMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA6AEEEB: sktsfMalloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xB03EEFD: kpummealloc (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA302030: kpuinit0 (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA3002FC: kpuenvcr (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xA1C24E9: OCIEnvCreate (in /u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1)
==27147==    by 0xB277EC: zm_activate_pdo_oci (pdo_oci.c:118)
==27147==    by 0x111E272: zend_activate_modules (zend_API.c:2533)
==27147==    by 0xFF146E: php_request_startup (main.c:1664)
==27147==    by 0x135B472: main (phpdbg.c:1808)
==27147== 

 

Generated at Fri, 16 Feb 2018 06:57:12 +0000 (5 days ago)

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