Edit report at https://bugs.php.net/bug.php?id=70886&edit=1
ID: 70886 Updated by: mbecc...@php.net Reported by: mbecc...@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] mbecc...@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 -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php