Re: [Boost-bugs] [Boost C++ Libraries] #1390: Interpocess: managed shared memory failing completely under OS X

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1390: Interpocess: managed shared memory failing completely under OS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-17 20:25:22


#1390: Interpocess: managed shared memory failing completely under OS X
---------------------------------------+------------------------------------
  Reporter: jkp_at_[hidden] | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords: interprocess shared memory osx
---------------------------------------+------------------------------------
Comment (by samalone_at_[hidden]):

 I believe that I have encountered the same problem, and have a test case
 that consistently demonstrates the bug. I have attached the code as
 "Test.cpp". If you compile and run this program as-is, it will
 consistently fail with a bus-error, assertion failure, or infinite loop.

 If you compile the test program with -DEXTRA_MUTEX, the code wraps the
 managed_shared_memory calls with an extra scoped_lock<named_mutex>. This
 works around the bug, so it certainly seems that the internal mutex in the
 managed_shared_memory class is being ineffective.

 My computer is a PowerBook G4 running Mac OS X Leopard 10.5.3. The
 compiler is powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build
 5465). I have not tried my test case on other platforms.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1390#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:49:58 UTC