Opened 11 years ago

Closed 11 years ago

#5597 closed Bugs (duplicate)

shared memory file is created in a subfolder of "boost_interprocess" folder - remove function doesn't find it

Reported by: therealremi@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.46.1 Severity: Showstopper
Keywords: shared memory Cc:

Description

I have a C++/CLI dll which has

  1. method A - responsible for the creation of shared memory objects and filling them with data.
  2. method B - respobsible for the deletion of shared memory objects.

Method A is first called by another module, and later method B is called by another thread in that module.

Problem? Method A created the files in a subfolder of boost_interprocess folder (called something like "20110606204418.125000". The removal code called from method B appends to the names of the shared memory objects only the root boost_interprocess folder, which results in failure to delete them.

Change History (2)

comment:1 by wsx22@…, 11 years ago

It looks like issue described here: https://svn.boost.org/trac/boost/ticket/5392

comment:2 by Ion Gaztañaga, 11 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.