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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 - 32 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 19:01:29 2024 UTC