From:             ivan dot barrios at gmail dot com
Operating system: MacOS v10.5.7
PHP version:      5.2.10
PHP Bug Type:     Semaphore related
Bug description:  IPC msg_get_queue fails to retrieve common resource id across 
scripts

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.

-- 
Edit bug report at http://bugs.php.net/?id=49260&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49260&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49260&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49260&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49260&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49260&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49260&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49260&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49260&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49260&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49260&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49260&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49260&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49260&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49260&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49260&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49260&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49260&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49260&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49260&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49260&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49260&r=mysqlcfg

Reply via email to