Bug #73889 [NEW]: memory leaks / valgrind report

From: Date: Sun, 08 Jan 2017 03:50:26 +0000
Subject: Bug #73889 [NEW]: memory leaks / valgrind report
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206372@lists.php.net to get a copy of this message
From:             spam2 at rhsoft dot net
Operating system: 
PHP version:      7.1.0
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:memory leaks / valgrind report

Description:
------------
hopefully this helps somehow

after tuning my rpm-build for profile-guided-optimization and optional
debug builds i recently added options to run "valgrind" on the
application profiling

you can find the full log at
http://access.thelounge.net/harry/php-valgrind.txt

/usr/bin/valgrind --tool=memcheck --leak-check=yes --leak-check=full
--show-leak-kinds=all --log-file=$PROFILE_ROOT/logs/valgrind.log
$HTTPD_BINARY -f "$PROFILE_ROOT/httpd.conf"

example:

==4295== 168 bytes in 1 blocks are definitely lost in loss record 95 of
128
==4295==    at 0x4C2DA60: calloc (vg_replace_malloc.c:711)
==4295==    by 0xC0A291C: ???
==4295==    by 0xC08F285: ???
==4295==    by 0xC099CED: ???
==4295==    by 0xA7FF364: ???
==4295==    by 0xA7D02E4: ???
==4295==    by 0x4193BBE: ???
==4295==    by 0x6C6A66D: zend_startup_module_ex (zend_API.c:1843)
==4295==    by 0x6C6A6CF: zend_startup_module_zval (zend_API.c:1858)
==4295==    by 0x6C7837A: zend_hash_apply (zend_hash.c:1508)
==4295==    by 0x6C6AC9B: zend_startup_modules (zend_API.c:1969)
==4295==    by 0x6BD1A10: php_module_startup (main.c:2256)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=73889&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=73889&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=73889&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=73889&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=73889&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=73889&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=73889&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=73889&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=73889&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=73889&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=73889&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=73889&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=73889&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=73889&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73889&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=73889&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=73889&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=73889&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73889&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=73889&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=73889&r=mysqlcfg



Thread (11 messages)

« previous php.bugs (#206372) next »