Re: [Boost-bugs] [Boost C++ Libraries] #13147: Crash in boost::asio::basic_streambuf

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13147: Crash in boost::asio::basic_streambuf
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-08-04 06:50:47


#13147: Crash in boost::asio::basic_streambuf
-------------------------------+----------------------------
  Reporter: luliu@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by luliu@…):

 The crash happened when boost::asio::streambuf were reserving more space
 after streambuf exceeded 512 bytes.

 Here is the crash stack.

 {{{
 0:011> k
  # Child-SP RetAddr Call Site
 00 00000000`02c0b098 00007ffc`b48a13ed ntdll!NtWaitForMultipleObjects+0xa
 01 00000000`02c0b0a0 00007ffc`b7637d51
 KERNELBASE!WaitForMultipleObjectsEx+0xe1
 02 00000000`02c0b380 00007ffc`b7637773
 kernel32!WerpReportFaultInternal+0x581
 03 00000000`02c0b8f0 00007ffc`b4981fff kernel32!WerpReportFault+0x83
 04 00000000`02c0b920 00007ffc`b774f133
 KERNELBASE!UnhandledExceptionFilter+0x23f
 05 00000000`02c0ba10 00007ffc`b7731d86
 ntdll!RtlUserThreadStart$filt$0+0x3e
 06 00000000`02c0ba50 00007ffc`b77433fd ntdll!_C_specific_handler+0x96
 07 00000000`02c0bac0 00007ffc`b7704847
 ntdll!RtlpExecuteHandlerForException+0xd
 08 00000000`02c0baf0 00007ffc`b774258a ntdll!RtlDispatchException+0x197
 09 00000000`02c0c1c0 00000000`5080e4ff ntdll!KiUserExceptionDispatch+0x3a
 0a 00000000`02c0c8f8 00007ff7`135eb415 msvcr90!memcpy+0x2cf
 0b 00000000`02c0c900 00007ff7`135eaf1a
 SecurityGateway!boost::asio::basic_streambuf<std::allocator<char>
>::reserve+0x105
 0c 00000000`02c0cac0 00000000`508ab8bf
 SecurityGateway!boost::asio::basic_streambuf<std::allocator<char>
>::overflow+0x5a
 0d 00000000`02c0caf0 00007ff7`135b3d31
 msvcp90!std::basic_streambuf<char,std::char_traits<char> >::xsputn+0x87
 0e 00000000`02c0cb20 00007ff7`1364a78f
 SecurityGateway!std::operator<<<std::char_traits<char> >+0x111
 0f 00000000`02c0cb90 00007ff7`13648161 SecurityGateway!send_message
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13147#comment:1>
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-08-04 06:56:45 UTC