[Boost-bugs] [Boost C++ Libraries] #5380: Windows has triggered a breakpoint in my code

Subject: [Boost-bugs] [Boost C++ Libraries] #5380: Windows has triggered a breakpoint in my code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-28 03:52:20


#5380: Windows has triggered a breakpoint in my code
-----------------------------------+----------------------------------------
 Reporter: greatstar00@… | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost Release Branch | Severity: Problem
 Keywords: |
-----------------------------------+----------------------------------------
 this is the code i used to test (from your website's examples)
 '''http://www.boost.org/doc/libs/1_46_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp'''


 When i used "step into" to debug, i got the following error message:
 '''HEAP[test.exe]: HEAP: Free Heap block c46ce8 modified at c46de0 after
 it was freed
 Windows has triggered a breakpoint in test.exe.

 This may be due to a corruption of the heap, which indicates a bug in
 test.exe or any of the DLLs it has loaded.

 This may also be due to the user pressing F12 while test.exe has focus.

 The output window may have more diagnostic information.
 '''


 ''This is the file it stopped:''
 '''\boost\asio\detail\impl\win_iocp_socket_service_base.ipp'''
 ''line stopped: 334''



 ''line 334 is in function: ''
 '''void win_iocp_socket_service_base::start_receive_op(
     win_iocp_socket_service_base::base_implementation_type& impl,
     WSABUF* buffers, std::size_t buffer_count,
     socket_base::message_flags flags, bool noop, operation* op)'''


 ''This is line 334:''
 '''int result = ::WSARecv(impl.socket_, buffers,
         static_cast<DWORD>(buffer_count),
         &bytes_transferred, &recv_flags, op, 0);'''



 This problem occurs while i send a simple message to the test server, 128
 bytes in each request.


 Version of Boost: 1.46.1

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5380>
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:06 UTC