Boost C++ Libraries: Ticket #3083: [asio] regression test failures on VC10 beta 1 https://svn.boost.org/trac10/ticket/3083 <p> The 'buffer' and 'buffer_select' tests are failing on VC10 beta 1 (e.g. <a class="ext-link" href="http://tinyurl.com/rdgjaf"><span class="icon">​</span>http://tinyurl.com/rdgjaf</a>), due to a crash that occurs on line 439 of asio/buffer.hpp. </p> <p> The crash actually seems to be a VC10 bug (see <a class="ext-link" href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=458027"><span class="icon">​</span>https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=458027</a>), but while testing i found that changing the workaround on line 435 to </p> <pre class="wiki">#if BOOST_WORKAROUND(BOOST_MSVC, &gt;= 1400) &amp;&amp; BOOST_WORKAROUND(BOOST_MSVC, &lt; 1600) </pre><p> (i.e. not applying the workaround to VC10) fixes the problem and doesn't introduce any other failures, so it might be ok to just not use the workaround in VC10. </p> <hr /> <p> For reference, the read_until test is also failing, but that seems to be purely down to the VC10 bug described @ </p> <p> <a class="ext-link" href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=456631"><span class="icon">​</span>https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=456631</a> </p> <p> which causes the basic_streambuf constructor at line 126 of basic_streambuf.hpp to attempt to allocate std::numeric_limits&lt;std::size_t&gt;::max bytes of memory. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3083 Trac 1.4.3 Richard Webb <richard.webb@…> Tue, 02 Jun 2009 21:01:01 GMT <link>https://svn.boost.org/trac10/ticket/3083#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3083#comment:1</guid> <description> <p> f.y.i, MS have updated the first issue described above saying that it is by design, so it seems that a Boost change is in order. </p> </description> <category>Ticket</category> </item> <item> <author>Richard Webb <richard.webb@…></author> <pubDate>Fri, 06 Nov 2009 12:53:02 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/3083#comment:2 https://svn.boost.org/trac10/ticket/3083#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">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> <p> Seems that this failure has been fixed by change <a class="changeset" href="https://svn.boost.org/trac10/changeset/57393" title="Asio: disabled VC workaround for VC2010 beta2 compiler">[57393]</a>. </p> Ticket