[Boost-bugs] [Boost C++ Libraries] #4247: boost::asio access violation on mingw32

Subject: [Boost-bugs] [Boost C++ Libraries] #4247: boost::asio access violation on mingw32
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-22 15:32:10


#4247: boost::asio access violation on mingw32
-------------------------------+--------------------------------------------
 Reporter: boost@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: asio
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
-------------------------------+--------------------------------------------
 On a mingw32 build of libs/asio/example/http/async_client.cpp using gcc
 4.5, an access violation is created when the HTTP client is pointed to an
 address which refuses the connection. When adding a
 `LoadLibrary("exchndl.dll");` (stack dump tool from mingw-utils), I get
 the following stack trace:

 Z:\tmp\a.exe caused an Access Violation at location 004277d1 in module
 Z:\tmp\a.exe Reading from location 00000200.

 Registers:
 eax=00000051 ebx=00123df0 ecx=00a4faa0 edx=00000200 esi=00a4f9e4
 edi=00a4faac
 eip=004277d1 esp=00a4f960 ebp=00a4f9f8 iopl=0 nv up ei pl nz na pe
 nc
 cs=0073 ss=007b ds=007b es=007b fs=0033 gs=003b
 efl=00010202

 Call stack:
 004277D1 Z:\tmp\a.exe:004277D1 boost::system::error_code::message /opt
 /boost-mingw32/include/boost/system/error_code.hpp:350
 004233EF Z:\tmp\a.exe:004233EF boost::_mfi::mf1<void, client,
 boost::system::error_code const&>::operator() /opt/boost-
 mingw32/include/boost/bind/mem_fn_template.hpp:165
 004205A2 Z:\tmp\a.exe:004205A2 error_code /opt/boost-
 mingw32/include/boost/system/error_code.hpp:315
 0041FBA9 Z:\tmp\a.exe:0041FBA9
 00401978 Z:\tmp\a.exe:00401978 boost::system::error_code::operator void
 (*)() /opt/boost-mingw32/include/boost/system/error_code.hpp:357
 004010A5 Z:\tmp\a.exe:004010A5

 When compiling with -DBOOST_ASIO_DISABLE_THREADS, I get the following
 error message instead:

 Exception: thread: Unknown error

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