|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80050 msg_receive is awakened by error code 43
Submitted: 2020-09-03 16:04 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: milan dot matejcek at gmail dot com Assigned:
Status: Open Package: Semaphore related
PHP Version: Irrelevant OS: raspbian / ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: milan dot matejcek at gmail dot com
New email:
PHP Version: OS:


 [2020-09-03 16:04 UTC] milan dot matejcek at gmail dot com
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:

Expected result:
Passive waiting without awakened


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2023-08-06 13:35 UTC] milan dot matejcek at gmail dot com
Hello, you can close this issue, because i found bug. I forgot to use ftok() for first parameter for method msg_get_queue($key).

I'm sorry.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 05:01:29 2023 UTC