Boost C++ Libraries: Ticket #4907: message queue temp dir inconsistent if WMI calls fail. https://svn.boost.org/trac10/ticket/4907 <p> If the WMI call to get the latest boot time fails then a temporary dir under boost_interprocess is not created. This is problematic since subsequent calls to the WMI can succeed and you end up with message queues that can't connect to each other. </p> <p> I have seen this happen consistently on XP when the app creating the message queue is a service. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4907 Trac 1.4.3 anonymous Tue, 30 Nov 2010 00:35:18 GMT <link>https://svn.boost.org/trac10/ticket/4907#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4907#comment:1</guid> <description> <p> You can see this happen by trying to create two message queues in two simultaneous threads on XP. The call to <a class="missing wiki">CoInitializeSecurity</a>() is not multithread safe under XP and will cause the retrieval of the boot time to fail. See win32_api.hpp:1457 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 23 Dec 2010 19:51:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4907#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4907#comment:2</guid> <description> <p> This seems like the same problem as <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4895" title="#4895: Bugs: Wrong temporary path determined by ... (closed: fixed)">ticket:4895</a>. </p> <p> I hope it is fixed soon, because I'm unable to use boost::interprocess. If a patch is submitted here, I can test it on Windows XP and Windows 7. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Sun, 26 Dec 2010 10:15:19 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4907#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4907#comment:3</guid> <description> <p> Please try SVN for recent changes. I'm not an expert in COM issues, so I would need some help with this issue. Thanks for the report. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Fri, 01 Apr 2011 18:09:47 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4907#comment:4 https://svn.boost.org/trac10/ticket/4907#comment:4 <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> </ul> <p> WMI is provoking a lot of problems for Boost Interprocess users. I've decided to remove bootstamp use in windows to obtain kernel persistence in Windows. This means that windows shared memory/queues will survive to reboots, but this behaviour is allowed by POSIX. Using bootstamps to detect reboots is doing more harm than good. </p> <p> WMI is removed in Boost 1.47 </p> Ticket Kai K. Thu, 21 Jul 2011 11:37:24 GMT <link>https://svn.boost.org/trac10/ticket/4907#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4907#comment:5</guid> <description> <p> Since WMI usage was not removed for 1.47.0 please have a look at my additions to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5392" title="#5392: Bugs: Message queue temporary dir named &#34;Select LastBootUpTime from ... (closed: fixed)">#5392</a>! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 24 Dec 2011 10:24:54 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4907#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4907#comment:6</guid> <description> <p> It was removed in Boost 1.48. </p> </description> <category>Ticket</category> </item> </channel> </rss>