Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3950: boost::interprocess::mapped_region destructor deletes shm where it shouldn't.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-21 20:07:33
#3950: boost::interprocess::mapped_region destructor deletes shm where it
shouldn't.
-------------------------------------------+--------------------------------
Reporter: Lénaïc Huard <lhuard@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: interprocess
Version: Boost 1.42.0 | Severity: Problem
Keywords: |
-------------------------------------------+--------------------------------
Comment(by Lénaïc Huard <lhuard@â¦>):
I found the problem.
The problem was indeed caused by the strict aliasing rule violation by the
class rv (in detail/move.hpp)
The case described here above and in #3951 can be solved by flagging the
class rv with the gcc specific {{{__attribute__((__may_alias__))}}}.
The full patch that fixes the issue is attached in
[https://svn.boost.org/trac/boost/raw-
attachment/ticket/3950/boost_interprocess.patch boost_interprocess.patch].
Could you please have a look at it?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3950#comment:2> 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