Opened 5 years ago
Last modified 5 years ago
#13147 new Bugs
Crash in boost::asio::basic_streambuf
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.63.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hi All,
Our program crashed in boost::asio::streambuf while streambuf was reserving more spaces.
The related codes using boost::asio::streambuf is like this:
boost::asio::streambuf send_buffer; std::ostream send_stream(&send_buffer); send_stream << "MESSAGE..."; send_stream << flush(); ... boost::asio::async_write(ssl_stream, send_buffer, ...);
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Hi Boost experts,
Please share your comment on this issue. Any help will be appreciated. Thanks.
Note:
See TracTickets
for help on using tickets.
The crash happened when boost::asio::streambuf were reserving more space after streambuf exceeded 512 bytes.
Here is the crash stack.