Bug #80050 [NEW]: msg_receive is awakened by error code 43
| From: | milan dot matejcek at gmail dot com | Date: | Thu, 03 Sep 2020 16:04:50 +0000 |
| Subject: | Bug #80050 [NEW]: msg_receive is awakened by error code 43 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-228865@lists.php.net to get a copy of this message | ||
From: milan dot matejcek at gmail dot com
Operating system: raspbian / ubuntu
PHP version: Irrelevant
Package: Semaphore related
Bug Type: Bug
Bug description:msg_receive is awakened by error code 43
Description:
------------
sysvmsg extension
I tested on arm raspbian buster 10, 32 bit (php 7.3.19) and ubuntu
20.04, 64 bit (php 7.4.9), both are same.
I have long running process, which is executed by supervisor, where is
passive waiting for message from queue, but this waiting is sometimes
awakened by error code 43.
I checked that the supervisor runs only one php process and the PID is
still the same.
Is there anything what clean resources or queues?
If i have two processes and different queue key, than both return error
43 in same time.
Test script:
---------------
I create repository on Github: https://github.com/h4kuna/msg
Expected result:
----------------
Passive waiting without awakened
--
Edit bug report at https://bugs.php.net/bug.php?id=80050&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80050&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80050&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80050&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80050&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80050&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80050&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80050&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80050&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80050&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80050&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80050&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80050&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80050&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80050&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80050&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80050&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80050&r=mysqlcfg