[Boost-bugs] [Boost C++ Libraries] #5759: Enabling -std=c++0x causes random crashes in ASIO since Boost 1.47.0

Subject: [Boost-bugs] [Boost C++ Libraries] #5759: Enabling -std=c++0x causes random crashes in ASIO since Boost 1.47.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-06 16:10:08


#5759: Enabling -std=c++0x causes random crashes in ASIO since Boost 1.47.0
--------------------------------+-------------------------------------------
 Reporter: lubos@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.47.0 | Severity: Regression
 Keywords: |
--------------------------------+-------------------------------------------
 Hello,

 to start off, I know that this bug report sucks. But I haven't been able
 to make a simple test case that would exhibit the bug and wouldn't require
 you to have other libs installed, so this will have to suffice.

 I'm working on a project that uses both Rasterbar libtorrent and Pion
 Network libraries. They both use Boost ASIO. The problem is that if the
 following conditions are met, the resulting binary starts crashing
 randomly inside of the ASIO code:

 1. Boost 1.47.0 is used (previous versions work fine!)
 2. `-std=c++0x` is used
 3. Pion Network header files are included in any of the compiled source
 files (just including suffices!)

 Please, install Rasterbar libtorrent and Pion Network and try compiling
 the attached file. First without `-std=c++0x` and then with `-std=c++0x`.
 The latter will make the binary crash.

 I suppose this is caused by the newly introduced move constructors. But
 I'm not sure whether this is an ASIO or a GCC bug.

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