php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49260 IPC msg_get_queue fails to retrieve common resource id across scripts
Submitted: 2009-08-14 19:51 UTC Modified: 2013-02-18 00:33 UTC
From: ivan dot barrios at gmail dot com Assigned:
Status: No Feedback Package: Semaphore related
PHP Version: 5.2.10 OS: MacOS v10.5.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ivan dot barrios at gmail dot com
New email:
PHP Version: OS:

 

 [2009-08-14 19:51 UTC] ivan dot barrios at gmail dot com
Description:
------------
Identical PHP scripts function on Ubuntu 9.04 Desktop perfectly. 

Mac OSX configuration:

PHP version: 5.2.10
sysvmsg version: $Revision: 1.20.2.3.2.8 $
sysvmsg package installed as an extension (.so file)

Ubuntu configuration:

PHP version: 5.2.10
sysvmsg version: $Revision: 1.20.2.3.2.7 $
sysvmsg package installed as an extension (.so file)



Reproduce code:
---------------
See http://www.phpfreaks.com/forums/index.php/topic,264945.0.html

for source code: 2 files (msg_client.php, msg_server.php)

Expected result:
----------------
Code should print following text to PHP error log:

<queue_id> says hello.\n
COREPHP\n



Actual result:
--------------
Nothing gets printed because the $serverQueue in the Client script 
(msg_client.php) never gets loaded with the correct queue id for the 
Server.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-15 11:52 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2011-11-15 11:52 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2013-02-18 00:33 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Jan 23 22:03:36 2022 UTC