Bug #70886 [Opn->Csd]: shmop/tests/002.phpt doesn't release shared memory
| From: | mbeccati@php.net | Date: | Tue, 10 Nov 2015 08:10:56 +0000 |
| Subject: | Bug #70886 [Opn->Csd]: shmop/tests/002.phpt doesn't release shared memory | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-197149@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70886&edit=1
ID: 70886
Updated by: mbeccati@php.net
Reported by: mbeccati@php.net
Summary: shmop/tests/002.phpt doesn't release shared memory
-Status: Open
+Status: Closed
Type: Bug
Package: Testing related
Operating System: *
PHP Version: 7.0Git-2015-11-10 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of mbeccati
Revision: http://git.php.net/?p=php-src.git;a=commit;h=6fa9b76342a924b2438621deba732c270a0d2859
Log: Fix bug #70886 in shmop/tests/002.phpt
Previous Comments:
------------------------------------------------------------------------
[2015-11-10 07:36:01] mbeccati@php.net
Description:
------------
In my CI, I've noticed the test failing more and more often. When I've checked, the user
that runs the builds had 700+ shared memory segments allocated. It appears that the test above
doesn't release the segments it allocates, so at each run, "ipcs -m" reports 2-3 more
segments.
Test script:
---------------
php run-tests.php ext/shmop/tests/002.phpt > /dev/null; ipcs -m | grep 0x | wc -l
php run-tests.php ext/shmop/tests/002.phpt > /dev/null; ipcs -m | grep 0x | wc -l
Expected result:
----------------
0
0
Actual result:
--------------
3
5
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70886&edit=1