[Boost-bugs] [Boost C++ Libraries] #4251: Interprocess failed to communicate in OS X 10.5.8 Leopard under 64 bit mode

Subject: [Boost-bugs] [Boost C++ Libraries] #4251: Interprocess failed to communicate in OS X 10.5.8 Leopard under 64 bit mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-24 18:17:23


#4251: Interprocess failed to communicate in OS X 10.5.8 Leopard under 64 bit mode
---------------------------------------------------+------------------------
 Reporter: Chih-Yao Hsieh <josephsieh@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: interprocess
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
---------------------------------------------------+------------------------
 This issue only exists explicitly for OSX leopard 64 bits application
 trying to use IPC.

 Windows 32/64 bits, XP, Vista, Win 7 has no issue and
 OSX 10.4: 32 bits, 10.5: 32 bits, 10.6: 32/64 bits all works fine.

 The issue is due to "inline void get_bootstamp(std::string &s, bool add =
 false)" function.

 When a 64 bits host application create the shared_memory_object, there
 will be a folder somewhat like "33FABFC2B8FACA0133FABFC2B8FACA01" being
 created in the boost_interprocess directory. When the 64 bits client
 application trying to open the created shared_memory_object, the
 "get_bootstamp(std::string &s, bool add = false)" function will return
 "33FABFC2B8FACA010000000000000000", therefore, the client will always
 failed to find the shared memory object.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4251>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC