[Boost-bugs] [Boost C++ Libraries] #2936: ASIO crashes when reads data from Windows Pipe

Subject: [Boost-bugs] [Boost C++ Libraries] #2936: ASIO crashes when reads data from Windows Pipe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-11 09:40:03


#2936: ASIO crashes when reads data from Windows Pipe
--------------------------------+-------------------------------------------
 Reporter: KHaiFeng_at_[hidden] | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: asio
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 I found another problem in boost asio library.

     I created a pipe server and keep it reading from a windows pipe(read
 128 bytes for each operation). Then I created a pipe client to write 257
 bytes data to the pipe and the programs crashes at the
 "operation::do_completion" routine. I have attached the program with full
 source code, so you can reproduce it (written in VC2008).

     A possible solution to this problem is located at
 http://wrongpc.blogspot.com/2009/03/boost-asio-for-windows-pipe-bug.html
     It can fix the problem, but the method needs to change boost asio
 source code, so it's not very convenient.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2936>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC