Opened 13 years ago
Closed 13 years ago
#3083 closed Bugs (fixed)
[asio] regression test failures on VC10 beta 1
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | Boost 1.42.0 | Component: | asio |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
The 'buffer' and 'buffer_select' tests are failing on VC10 beta 1 (e.g. http://tinyurl.com/rdgjaf), due to a crash that occurs on line 439 of asio/buffer.hpp.
The crash actually seems to be a VC10 bug (see https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=458027), but while testing i found that changing the workaround on line 435 to
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) && BOOST_WORKAROUND(BOOST_MSVC, < 1600)
(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.
For reference, the read_until test is also failing, but that seems to be purely down to the VC10 bug described @
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=456631
which causes the basic_streambuf constructor at line 126 of basic_streambuf.hpp to attempt to allocate std::numeric_limits<std::size_t>::max bytes of memory.
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Milestone: | Boost 1.40.0 → Boost 1.42.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Seems that this failure has been fixed by change [57393].
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.