Bug #74990 [Opn->Nab]: pcntl_fork do not exit
| From: | laruence@php.net | Date: | Wed, 26 Jul 2017 10:23:58 +0000 |
| Subject: | Bug #74990 [Opn->Nab]: pcntl_fork do not exit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210347@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74990&edit=1
ID: 74990
Updated by: laruence@php.net
Reported by: xltxlm at qq dot com
Summary: pcntl_fork do not exit
-Status: Open
+Status: Not a bug
Type: Bug
Package: PCNTL related
Operating System: Debian GNU/Linux 8 on docker
PHP Version: 7.1.7
Block user comment: N
Private report: N
New Comment:
close as comment
Previous Comments:
------------------------------------------------------------------------
[2017-07-26 05:12:55] xltxlm at qq dot com
i'm sorry. it is not php 7.1.7's error.
it error because grpc.so .
------------------------------------------------------------------------
[2017-07-26 03:34:45] xltxlm at qq dot com
Description:
------------
the test code run ok less than php 7.1.6 .
error on php 7.1.7
Test script:
---------------
$i = 0;
while ($i++ < 3) {
$pid = pcntl_fork(); //å建åè¿ç¨
if ($pid == 0) {
echo "$i.";
sleep(1);
exit;
}
pcntl_wait($status);
}
Expected result:
----------------
1.2.3.
Actual result:
--------------
1.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74990&edit=1