Boost C++ Libraries: Ticket #1390: Interpocess: managed shared memory failing completely under OS X https://svn.boost.org/trac10/ticket/1390 <p> I haven't got the details with me now but simply trying to build and run the managed shared memory test under os x fails upon run atm. </p> <p> Seems like there might be an initialised internal mutex. </p> <p> Take a look or get back to me if you need more info. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1390 Trac 1.4.3 samalone@… Tue, 17 Jun 2008 20:23:06 GMT attachment set https://svn.boost.org/trac10/ticket/1390 https://svn.boost.org/trac10/ticket/1390 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.cpp</span> </li> </ul> <p> Code to reproduce this bug </p> Ticket samalone@… Tue, 17 Jun 2008 20:25:22 GMT <link>https://svn.boost.org/trac10/ticket/1390#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1390#comment:1</guid> <description> <p> 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. </p> <p> If you compile the test program with -DEXTRA_MUTEX, the code wraps the managed_shared_memory calls with an extra scoped_lock&lt;named_mutex&gt;. This works around the bug, so it certainly seems that the internal mutex in the managed_shared_memory class is being ineffective. </p> <p> My computer is a <a class="missing wiki">PowerBook</a> 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. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 25 Mar 2009 18:05:49 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1390#comment:2 https://svn.boost.org/trac10/ticket/1390#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.39.0</span> </li> </ul> <p> Modified inteprocess mutex emulation in UNIX systems. Revision 51971. </p> Ticket