Re: [Boost-bugs] [Boost C++ Libraries] #9308: future::async fails with terminate called throwing an exception when called with a lambda - clang-darwin-asan11

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9308: future::async fails with terminate called throwing an exception when called with a lambda - clang-darwin-asan11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-26 11:20:39


#9308: future::async fails with terminate called throwing an exception when called
with a lambda - clang-darwin-asan11
-------------------------------+----------------------
  Reporter: viboes | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Changes (by viboes):

 * owner: anthonyw => viboes
 * status: new => assigned


Old description:

> {{{
>
> 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]
> <MAIN
> 0x7fff78e0a180 - ../libs/thread/test/../example/lambda_future.cpp[32] f1
> 123
> libc++abi.dylib: terminate called throwing an exception
>
> EXIT STATUS: 134
>

>
> }}}

New description:

 rev 86424

 {{{

 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]
 <MAIN
 0x7fff78e0a180 - ../libs/thread/test/../example/lambda_future.cpp[32] f1
 123
 libc++abi.dylib: terminate called throwing an exception

 EXIT STATUS: 134



 }}}

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9308#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-02-16 18:50:14 UTC