Bug #78538 [NEW]: shmop memory leak
| From: | ptk2003 at gmail dot com | Date: | Sat, 14 Sep 2019 19:19:37 +0000 |
| Subject: | Bug #78538 [NEW]: shmop memory leak | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222744@lists.php.net to get a copy of this message | ||
From: ptk2003 at gmail dot com
Operating system: windows server 2016 x64
PHP version: 7.3.9
Package: *Extensibility Functions
Bug Type: Bug
Bug description:shmop memory leak
Description:
------------
shmop_open() with any parametrs add about 4KB apache.
"a", "c" irrelevant
for example this code add 4MegaByte working memory apache:
for($i=0; $i<1000; $i++){
$shmophsw=shmop_open(0x4051, "c", 0777, 65536);
shmop_close($shmophsw);
}//for
apache 2.4.41 x64
php-7.3.9-Win32-VC15-x64
windows 2016 server
--
Edit bug report at https://bugs.php.net/bug.php?id=78538&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78538&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78538&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78538&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78538&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78538&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78538&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78538&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78538&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78538&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78538&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78538&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78538&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78538&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78538&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78538&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78538&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78538&r=mysqlcfg