Re: [Boost-bugs] [Boost C++ Libraries] #5593: boost::interprocess::basic_string::c_str() result not null-terminated when used with shared memory allocator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5593: boost::interprocess::basic_string::c_str() result not null-terminated when used with shared memory allocator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-05 05:46:24


#5593: boost::interprocess::basic_string::c_str() result not null-terminated when
used with shared memory allocator
--------------------------------------------------+-------------------------
  Reporter: Anil Gangolli <anil@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------+-------------------------

Comment (by Anil Gangolli <anil@…>):

 It now appears the problem is platform-specific.

 I retested on Linux (specifically Ubuntu 10.04.2) with gcc 4.4.3. I do not
 see the reported problem there.

 I am seeing the issue on Mac OS 10.6.7. The gcc is 4.5.3 from Mac Ports.
 Dynamic dependencies are:

 /opt/local/lib/gcc45/libstdc++.6.dylib (compatibility version 7.0.0,
 current version 7.14.0)
 /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
 103.0.0)
 /opt/local/lib/gcc45/libgcc_s.1.dylib (compatibility version 1.0.0,
 current version 1.0.0)
 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
 125.2.10)

 I haven't yet tested on Linux with gcc 4.5.x

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5593#comment:1>
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:06 UTC