Boost C++ Libraries: Ticket #9308: future::async fails with terminate called throwing an exception when called with a lambda - clang-darwin-asan11 https://svn.boost.org/trac10/ticket/9308 <p> rev 86424 </p> <pre class="wiki"> Test output: marshall-mac - thread - ex_lambda_future / clang-darwin-asan11 Rev 86424 / Fri, 25 Oct 2013 05:14:04 +0000 Compile [2013-10-25 12:23:46 UTC]: succeed "/Volumes/TwoTB/LLVM/build/llvm-cmake-nodebug/bin/clang++" -x c++ -std=c++11 -stdlib=libc++ -I /Users/mclow/Projects/LLVM/libcxx/include -fsanitize=address -O0 -g -Wextra -Wno-long-long -Wunused-function -pedantic -O0 -fno-inline -Wall -pedantic -g -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -I".." -c -o "/Volumes/TwoTB/boost/regression/trunk/results/boost/bin.v2/libs/thread/test/ex_lambda_future.test/clang-darwin-asan11/debug/threading-multi/lambda_future.o" "../libs/thread/test/../example/lambda_future.cpp" Link [2013-10-25 12:23:46 UTC]: succeed "/Volumes/TwoTB/LLVM/build/llvm-cmake-nodebug/bin/clang++" -o "/Volumes/TwoTB/boost/regression/trunk/results/boost/bin.v2/libs/thread/test/ex_lambda_future.test/clang-darwin-asan11/debug/threading-multi/ex_lambda_future" "/Volumes/TwoTB/boost/regression/trunk/results/boost/bin.v2/libs/thread/test/ex_lambda_future.test/clang-darwin-asan11/debug/threading-multi/lambda_future.o" "/Volumes/TwoTB/boost/regression/trunk/results/boost/bin.v2/libs/chrono/build/clang-darwin-asan11/debug/threading-multi/libboost_chrono.dylib" "/Volumes/TwoTB/boost/regression/trunk/results/boost/bin.v2/libs/thread/build/clang-darwin-asan11/debug/threading-multi/libboost_thread.dylib" "/Volumes/TwoTB/boost/regression/trunk/results/boost/bin.v2/libs/system/build/clang-darwin-asan11/debug/threading-multi/libboost_system.dylib" -g -stdlib=libc++ -fsanitize=address Run [2013-10-25 12:23:46 UTC]: fail 0x7fff78e0a180 - ../libs/thread/test/../example/lambda_future.cpp[25] &lt;MAIN 0x7fff78e0a180 - ../libs/thread/test/../example/lambda_future.cpp[32] f1 123 libc++abi.dylib: terminate called throwing an exception EXIT STATUS: 134 </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9308 Trac 1.4.3 viboes Sat, 26 Oct 2013 11:20:39 GMT owner, status, description changed https://svn.boost.org/trac10/ticket/9308#comment:1 https://svn.boost.org/trac10/ticket/9308#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/9308?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket Marshall Clow Sat, 26 Oct 2013 14:51:15 GMT <link>https://svn.boost.org/trac10/ticket/9308#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9308#comment:2</guid> <description> <p> If you need any help from me reproducing this or testing a fix, don't hesitate to ask. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 16 Nov 2013 20:49:57 GMT</pubDate> <title>version changed https://svn.boost.org/trac10/ticket/9308#comment:3 https://svn.boost.org/trac10/ticket/9308#comment:3 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.54.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> </ul> Ticket viboes Sat, 18 Jan 2014 16:09:54 GMT milestone changed https://svn.boost.org/trac10/ticket/9308#comment:4 https://svn.boost.org/trac10/ticket/9308#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> </ul> <p> Thanks Marshall. I have reached to install the sanitaizer. </p> <p> This change-set <a class="ext-link" href="https://github.com/boostorg/thread/commit/cb845f19e4a975fc95e8b10c096280085d24eb03"><span class="icon">​</span>https://github.com/boostorg/thread/commit/cb845f19e4a975fc95e8b10c096280085d24eb03</a> improves the situation for but restrict the use of the variadic versions. It works for all the compiler for which BOOST_NO_CXX11_DECLTYPE_N3276 is defined. </p> Ticket viboes Sun, 09 Feb 2014 03:31:47 GMT milestone changed https://svn.boost.org/trac10/ticket/9308#comment:5 https://svn.boost.org/trac10/ticket/9308#comment:5 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.56.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket viboes Wed, 10 Sep 2014 05:45:42 GMT <link>https://svn.boost.org/trac10/ticket/9308#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9308#comment:6</guid> <description> <p> data race condition identified in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/10478" title="#10478: Bugs: Data race in boost/thread/future.hpp (closed: fixed)">#10478</a> Data race in boost/thread/future.hpp </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 10 Sep 2014 11:52:06 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/9308#comment:7 https://svn.boost.org/trac10/ticket/9308#comment:7 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.57.0</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/thread/commit/11e4c950acc8f86b7cf404c4df4e3d3d50d4e55e"><span class="icon">​</span>https://github.com/boostorg/thread/commit/11e4c950acc8f86b7cf404c4df4e3d3d50d4e55e</a> </p> Ticket viboes Tue, 16 Sep 2014 06:17:46 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9308#comment:8 https://svn.boost.org/trac10/ticket/9308#comment:8 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket