Boost C++ Libraries: Ticket #6745: message_queue deadlock on Windows https://svn.boost.org/trac10/ticket/6745 <p> I have a problem with the use of message_queue on Windows (7). I know the mq file resides in <a class="missing wiki">ProgramData</a>/boost_interprocess, now I have an App that executes this simple calls: </p> <p> interprocess::message_queue* mq; mq = new interprocess::message_queue(interprocess::open_only, BCQT_MQ_NAME); </p> <p> The call to the mq constructor causes a deadlock, further code is never reached. This happens if I place a file into <a class="missing wiki">ProgramData</a>/boost_interprocess that has the name of the mq file, but very different NTFS security descriptors compared to the file the boost code would create via create_only. </p> <p> I searched the web all over and found this one BOOST_INTERPROCESS_ENABLE_TIMEOUT_WHEN_LOCKING, which I defined by #define BOOST_INTERPROCESS_ENABLE_TIMEOUT_WHEN_LOCKING, but it's not working no exception, still simply a deadlock :-/. </p> <p> Any idea how I can handle this? I'm using boost 1.49 with this enabled: </p> <p> #if defined(BOOST_INTERPROCESS_WINDOWS) #define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTTIME #define BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME #include &lt;boost/interprocess/detail/win32_api.hpp&gt; </p> <p> Any help would be super great :)! </p> <p> Dia </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6745 Trac 1.4.3 Ion Gaztañaga Sun, 10 Feb 2013 21:28:32 GMT <link>https://svn.boost.org/trac10/ticket/6745#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6745#comment:1</guid> <description> <p> I tried to reproduce your bug with current trunk code without success. An exception is thrown when the message queue can't be created. Can you try with trunk code? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Tue, 15 Oct 2013 20:16:58 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6745#comment:2 https://svn.boost.org/trac10/ticket/6745#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">wontfix</span> </li> </ul> <p> No news from the reporter so I'm closing this issue. </p> Ticket