[Boost-bugs] [Boost C++ Libraries] #9464: Interprocess shared memory support on string between 32bit and 64bit

Subject: [Boost-bugs] [Boost C++ Libraries] #9464: Interprocess shared memory support on string between 32bit and 64bit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-03 09:22:38


#9464: Interprocess shared memory support on string between 32bit and 64bit
--------------------------------------+--------------------------
 Reporter: aikhong@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: Interprocess 32bit 64bit |
--------------------------------------+--------------------------
 I intend to share strings between 32bit and 64bit application. I'm using a
 vector to store object of structures which contains multiple strings.

 It seem to work fine between 32bit and 64bit application if the number of
 objects stored in the vector is small < 5 objects and the string is short.
 But it will have problem if the vector is large and the string is long.
 The memory seem corrupted.

 I'm using VC++ 2010 and boost 1.55.

 Attached is the sample code.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9464>
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:14 UTC