Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5392: Message queue temporary dir named "Select LastBootUpTime from Win32_OperatingSystem" (on win XP)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-20 14:21:56
#5392: Message queue temporary dir named "Select LastBootUpTime from
Win32_OperatingSystem" (on win XP)
-------------------------------+--------------------------------------------
Reporter: wsx22@⦠| Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.46.1 | Severity: Problem
Resolution: fixed | Keywords: interprocess, message queue, temporary directory, temp
-------------------------------+--------------------------------------------
Comment (by Kai K.):
After updating to 1.47.0 this bug still exists! Please reopen this ticket
or create a new one for managed_shared_memory.
I use
{{{
bipc::managed_shared_memory(bipc::create_only, SHARED_MEM_NAME,
nSegmentSize);
}}}
to create shared memory and
{{{
bipc::managed_shared_memory segment(bipc::open_only, SHARED_MEM_NAME);
}}}
to acquire it in another thread. My paths:
{{{
...\boost_interprocess\Select LastBootUpTime from
Win32_OperatingSystem\SHARED_MEM_NAME
...\boost_interprocess\20110720031715.524718
}}}
First directory is created while creating the shared memory. The second
one is created by open it in the other process! The object file is missing
in the second directory, therefore the shared memory can not be accessed!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5392#comment:13> 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:07 UTC