Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launch process test fails on OSX #2176

Closed
biddisco opened this issue May 23, 2016 · 4 comments
Closed

launch process test fails on OSX #2176

biddisco opened this issue May 23, 2016 · 4 comments

Comments

@biddisco
Copy link
Contributor

biddisco commented May 23, 2016

There appear to be multiple issues with the test. When compiling with Xcode, binaries are placed in
bin/Debug or bin/Release so the launched_process_test executable is not correctly picked up.
Once running, the termination of the launched_process is incorrect and this causes the process to stay resident, which then causes subsequent tests to fail with an address already bound error

@biddisco
Copy link
Contributor Author

Due to the problems I had with the executable location, I have modified the test (see fixing_2176 branch) to accept the executable to launch as a parameter.

When I run the 'fixed' test, I get the following errors when I use the address sanitizer.

/Users/biddisco/build/hvtkm$ /Users/biddisco/build/hvtkm/bin/Debug/launch_process_test --hpx:threads=1 --hpx:localities=1 '--launch=/Users/biddisco/build/hvtkm/bin/Debug/launched_process_test' --hpx:node=0
using launched: /Users/biddisco/build/hvtkm/bin/Debug/launched_process_test
=================================================================
==37433==ERROR: AddressSanitizer: attempting double-free on 0x602000006f50 in thread T1:
    #0 0x10ad189cb in wrap__ZdlPv (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/lib/darwin/libclang_rt.asan_osx_dynamic.dylib+0x449cb)
    #1 0x10572f460 in boost::thread_specific_ptr<unsigned long>::delete_data::operator()(void*) tss.hpp:42
    #2 0x10ac23cdf in boost::detail::(anonymous namespace)::tls_destructor(void*) thread.cpp:105
    #3 0x10ac2184d in boost::(anonymous namespace)::thread_proxy(void*) thread.cpp:185
    #4 0x7fff8c6e699c in _pthread_body (/usr/lib/system/libsystem_pthread.dylib+0x399c)
    #5 0x7fff8c6e6919 in _pthread_start (/usr/lib/system/libsystem_pthread.dylib+0x3919)
    #6 0x7fff8c6e4350 in thread_start (/usr/lib/system/libsystem_pthread.dylib+0x1350)

0x602000006f50 is located 0 bytes inside of 8-byte region [0x602000006f50,0x602000006f58)
freed by thread T1 here:
    #0 0x10ad189cb in wrap__ZdlPv (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/lib/darwin/libclang_rt.asan_osx_dynamic.dylib+0x449cb)
    #1 0x105b3ab2f in hpx::threads::reset_continuation_recursion_count() thread_helpers.cpp:211
    #2 0x1047a6eaa in hpx::runtime::deinit_tss() runtime.cpp:556
    #3 0x105c74d11 in hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::deinit_tss() runtime_impl.cpp:692
    #4 0x105d5d55f in std::__1::enable_if<std::is_base_of<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >, std::__1::decay<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >&>::type>::value, hpx::util::result_of<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*&& (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >&&&))()>::type>::type hpx::util::detail::invoke_impl<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)()>::operator()<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(), hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >&>(void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(), hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >&&&) invoke.hpp:82
    #5 0x105d5d245 in std::__1::enable_if<!(std::is_base_of<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >, std::__1::decay<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&>::type>::value), hpx::util::result_of<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*&& (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&&))()>::type>::type hpx::util::detail::invoke_impl<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)()>::operator()<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(), hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&>(void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(), hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&&) invoke.hpp:93
    #6 0x105d5cdba in hpx::util::result_of<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*&&& (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&&))()>::type hpx::util::invoke<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*&)(), hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&>(void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*&&&)(), hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&&) invoke.hpp:120
    #7 0x105d5ca73 in std::__1::enable_if<detail::is_simple_bind<hpx::util::tuple<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*> >::value, hpx::util::detail::bound_result_of<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(), hpx::util::tuple<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*>, hpx::util::tuple<> >::type>::type hpx::util::detail::bound_impl<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(), hpx::util::tuple<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*>, hpx::util::tuple<>, 0ul>(void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*&)(), hpx::util::tuple<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*>&, hpx::util::tuple<>&&, hpx::util::detail::pack_c<unsigned long, 0ul>) bind.hpp:241
    #8 0x105d5c9c1 in hpx::util::detail::bound_result_of<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(), hpx::util::tuple<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*>, hpx::util::tuple<> >::type hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>::operator()<>() bind.hpp:293
    #9 0x105d5c890 in hpx::util::result_of<hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>&&& ()>::type hpx::util::detail::invoke_impl<hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()> >::operator()<hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>&>(hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>&&&) invoke.hpp:30
    #10 0x105d5c805 in void hpx::util::detail::invoke_guard<void>::operator()<hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>&>(hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>&&&) invoke.hpp:144
    #11 0x105d5c6a5 in void hpx::util::invoke<void, hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>&>(hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()>&&&) invoke.hpp:153
    #12 0x105d5c4dc in void hpx::util::detail::callable_vtable<void ()>::invoke<hpx::util::detail::bound<void (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::* (hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*&&))()> >(void**) callable_vtable.hpp:40
    #13 0x105fb2595 in hpx::util::io_service_pool::thread_run(unsigned long) basic_function.hpp:254
    #14 0x105fc12d8 in std::__1::enable_if<std::is_base_of<hpx::util::io_service_pool, std::__1::decay<hpx::util::io_service_pool&>::type>::value, hpx::util::result_of<void (hpx::util::io_service_pool::*&& (hpx::util::io_service_pool&&&, unsigned long&&&))(unsigned long)>::type>::type hpx::util::detail::invoke_impl<void (hpx::util::io_service_pool::*)(unsigned long)>::operator()<void (hpx::util::io_service_pool::*)(unsigned long), hpx::util::io_service_pool&, unsigned long&>(void (hpx::util::io_service_pool::*)(unsigned long), hpx::util::io_service_pool&&&, unsigned long&&&) invoke.hpp:82
    #15 0x105fc0f5c in std::__1::enable_if<!(std::is_base_of<hpx::util::io_service_pool, std::__1::decay<hpx::util::io_service_pool*&>::type>::value), hpx::util::result_of<void (hpx::util::io_service_pool::*&& (hpx::util::io_service_pool*&&&, unsigned long&&&))(unsigned long)>::type>::type hpx::util::detail::invoke_impl<void (hpx::util::io_service_pool::*)(unsigned long)>::operator()<void (hpx::util::io_service_pool::*)(unsigned long), hpx::util::io_service_pool*&, unsigned long&>(void (hpx::util::io_service_pool::*)(unsigned long), hpx::util::io_service_pool*&&&, unsigned long&&&) invoke.hpp:93
    #16 0x105fc0a98 in hpx::util::result_of<void (hpx::util::io_service_pool::*&&& (hpx::util::io_service_pool*&&&, unsigned long&&&))(unsigned long)>::type hpx::util::invoke<void (hpx::util::io_service_pool::*&)(unsigned long), hpx::util::io_service_pool*&, unsigned long&>(void (hpx::util::io_service_pool::*&&&)(unsigned long), hpx::util::io_service_pool*&&&, unsigned long&&&) invoke.hpp:120
    #17 0x105fc0714 in std::__1::enable_if<detail::is_simple_bind<hpx::util::tuple<hpx::util::io_service_pool*, unsigned long> >::value, hpx::util::detail::bound_result_of<void (hpx::util::io_service_pool::*)(unsigned long), hpx::util::tuple<hpx::util::io_service_pool*, unsigned long>, hpx::util::tuple<> >::type>::type hpx::util::detail::bound_impl<void (hpx::util::io_service_pool::*)(unsigned long), hpx::util::tuple<hpx::util::io_service_pool*, unsigned long>, hpx::util::tuple<>, 0ul, 1ul>(void (hpx::util::io_service_pool::*&)(unsigned long), hpx::util::tuple<hpx::util::io_service_pool*, unsigned long>&, hpx::util::tuple<>&&, hpx::util::detail::pack_c<unsigned long, 0ul, 1ul>) bind.hpp:241
    #18 0x105fc0641 in hpx::util::detail::bound_result_of<void (hpx::util::io_service_pool::*)(unsigned long), hpx::util::tuple<hpx::util::io_service_pool*, unsigned long>, hpx::util::tuple<> >::type hpx::util::detail::bound<void (hpx::util::io_service_pool::* (hpx::util::io_service_pool*&&, unsigned long&))(unsigned long)>::operator()<>() bind.hpp:293
    #19 0x105fc04eb in boost::detail::thread_data<hpx::util::detail::bound<void (hpx::util::io_service_pool::* (hpx::util::io_service_pool*&&, unsigned long&))(unsigned long)> >::run() thread.hpp:116
    #20 0x10ac217ef in boost::(anonymous namespace)::thread_proxy(void*) thread.cpp:168
    #21 0x7fff8c6e699c in _pthread_body (/usr/lib/system/libsystem_pthread.dylib+0x399c)
    #22 0x7fff8c6e6919 in _pthread_start (/usr/lib/system/libsystem_pthread.dylib+0x3919)
    #23 0x7fff8c6e4350 in thread_start (/usr/lib/system/libsystem_pthread.dylib+0x1350)

previously allocated by thread T1 here:
    #0 0x10ad1840b in wrap__Znwm (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/lib/darwin/libclang_rt.asan_osx_dynamic.dylib+0x4440b)
    #1 0x105b3aa95 in hpx::threads::get_continuation_recursion_count() thread_helpers.cpp:204
    #2 0x103d6a068 in hpx::lcos::detail::handle_continuation_recursion_count::handle_continuation_recursion_count() future_data.hpp:224
    #3 0x103d68cb4 in hpx::lcos::detail::handle_continuation_recursion_count::handle_continuation_recursion_count() future_data.hpp:225
    #4 0x103d6848f in hpx::lcos::detail::future_data<void>::handle_on_completed(hpx::util::unique_function<void (), false>&&) future_data.hpp:373
    #5 0x103d7acf5 in void hpx::lcos::detail::future_data<void>::set_value<hpx::util::unused_type const&>(hpx::util::unused_type const&&&, hpx::error_code&) future_data.hpp:443
    #6 0x103d7a110 in void hpx::lcos::local::detail::promise_base<void>::set_value<hpx::util::unused_type const&>(hpx::util::unused_type const&&&, hpx::error_code&) promise.hpp:135
    #7 0x103d79949 in hpx::lcos::local::promise<void>::set_value(hpx::error_code&) promise.hpp:445
    #8 0x10501782e in void hpx::lcos::local::packaged_task<void (boost::system::error_code const&, hpx::parcelset::parcel const&)>::invoke_impl<boost::system::error_code const&, hpx::parcelset::parcel const&>(std::__1::integral_constant<bool, true>, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) packaged_task.hpp:135
    #9 0x105017562 in hpx::lcos::local::packaged_task<void (boost::system::error_code const&, hpx::parcelset::parcel const&)>::operator()(boost::system::error_code const&, hpx::parcelset::parcel const&) packaged_task.hpp:83
    #10 0x105028f5d in void hpx::components::server::indirect_packaged_task::operator()<boost::system::error_code const&, hpx::parcelset::parcel const&>(boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) runtime_support_server.cpp:1375
    #11 0x105028ee0 in hpx::util::result_of<hpx::components::server::indirect_packaged_task&&& (boost::system::error_code const&&&, hpx::parcelset::parcel const&&&)>::type hpx::util::detail::invoke_impl<hpx::components::server::indirect_packaged_task>::operator()<hpx::components::server::indirect_packaged_task&, boost::system::error_code const&, hpx::parcelset::parcel const&>(hpx::components::server::indirect_packaged_task&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:30
    #12 0x105028e2c in void hpx::util::detail::invoke_guard<void>::operator()<hpx::components::server::indirect_packaged_task&, boost::system::error_code const&, hpx::parcelset::parcel const&>(hpx::components::server::indirect_packaged_task&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:144
    #13 0x105028c90 in void hpx::util::invoke<void, hpx::components::server::indirect_packaged_task&, boost::system::error_code const&, hpx::parcelset::parcel const&>(hpx::components::server::indirect_packaged_task&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:153
    #14 0x105028a87 in void hpx::util::detail::callable_vtable<void (boost::system::error_code const&, hpx::parcelset::parcel const&)>::invoke<hpx::components::server::indirect_packaged_task>(void**, boost::system::error_code const&, hpx::parcelset::parcel const&) callable_vtable.hpp:40
    #15 0x1056b2517 in hpx::parcelset::detail::parcel_sent_handler(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&) basic_function.hpp:254
    #16 0x1056e9dae in hpx::util::result_of<void (*&&& (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>::type hpx::util::detail::invoke_impl<void (*)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>::operator()<void (*&)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&>(void (*&&&)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:30
    #17 0x1056e9cc1 in hpx::util::result_of<void (*&&& (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>::type hpx::util::invoke<void (*&)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&>(void (*&&&)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:120
    #18 0x1056e9b65 in std::__1::enable_if<!(detail::is_simple_bind<hpx::util::tuple<hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>, hpx::util::detail::placeholder<1ul>, hpx::util::detail::placeholder<2ul> > >::value), hpx::util::detail::bound_result_of<void (*)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::tuple<hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>, hpx::util::detail::placeholder<1ul>, hpx::util::detail::placeholder<2ul> >, hpx::util::tuple<boost::system::error_code const&, hpx::parcelset::parcel const&> >::type>::type hpx::util::detail::bound_impl<void (*)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::tuple<hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>, hpx::util::detail::placeholder<1ul>, hpx::util::detail::placeholder<2ul> >, hpx::util::tuple<boost::system::error_code const&, hpx::parcelset::parcel const&>, 0ul, 1ul, 2ul>(void (*&)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::tuple<hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>, hpx::util::detail::placeholder<1ul>, hpx::util::detail::placeholder<2ul> >&, hpx::util::tuple<boost::system::error_code const&, hpx::parcelset::parcel const&>&&, hpx::util::detail::pack_c<unsigned long, 0ul, 1ul, 2ul>) bind.hpp:229
    #19 0x1056e98d9 in hpx::util::detail::bound_result_of<void (*)(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&), hpx::util::tuple<hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>, hpx::util::detail::placeholder<1ul>, hpx::util::detail::placeholder<2ul> >, hpx::util::tuple<boost::system::error_code const&&&, hpx::parcelset::parcel const&&&> >::type hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>::operator()<boost::system::error_code const&, hpx::parcelset::parcel const&>(boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) bind.hpp:293
    #20 0x1056e94b0 in hpx::util::result_of<hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>&&& (boost::system::error_code const&&&, hpx::parcelset::parcel const&&&)>::type hpx::util::detail::invoke_impl<hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)> >::operator()<hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>&, boost::system::error_code const&, hpx::parcelset::parcel const&>(hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:30
    #21 0x1056e93fc in void hpx::util::detail::invoke_guard<void>::operator()<hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>&, boost::system::error_code const&, hpx::parcelset::parcel const&>(hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:144
    #22 0x1056e9260 in void hpx::util::invoke<void, hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>&, boost::system::error_code const&, hpx::parcelset::parcel const&>(hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)>&&&, boost::system::error_code const&&&, hpx::parcelset::parcel const&&&) invoke.hpp:153
    #23 0x1056e8efd in void hpx::util::detail::callable_vtable<void (boost::system::error_code const&, hpx::parcelset::parcel const&)>::invoke<hpx::util::detail::bound<void (* (hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::detail::placeholder<2ul> const&))(hpx::util::function<void (boost::system::error_code const&, hpx::parcelset::parcel const&), false>&, boost::system::error_code const&, hpx::parcelset::parcel const&)> >(void**, boost::system::error_code const&, hpx::parcelset::parcel const&) callable_vtable.hpp:40
    #24 0x103dee55f in hpx::parcelset::detail::call_for_each::operator()(boost::system::error_code const&) const basic_function.hpp:254
    #25 0x103dee0e0 in hpx::util::result_of<hpx::parcelset::detail::call_for_each&&& (boost::system::error_code const&&&)>::type hpx::util::detail::invoke_impl<hpx::parcelset::detail::call_for_each>::operator()<hpx::parcelset::detail::call_for_each&, boost::system::error_code const&>(hpx::parcelset::detail::call_for_each&&&, boost::system::error_code const&&&) invoke.hpp:30
    #26 0x103dee044 in void hpx::util::detail::invoke_guard<void>::operator()<hpx::parcelset::detail::call_for_each&, boost::system::error_code const&>(hpx::parcelset::detail::call_for_each&&&, boost::system::error_code const&&&) invoke.hpp:144
    #27 0x103dedec4 in void hpx::util::invoke<void, hpx::parcelset::detail::call_for_each&, boost::system::error_code const&>(hpx::parcelset::detail::call_for_each&&&, boost::system::error_code const&&&) invoke.hpp:153
    #28 0x103dedc5d in void hpx::util::detail::callable_vtable<void (boost::system::error_code const&)>::invoke<hpx::parcelset::detail::call_for_each>(void**, boost::system::error_code const&) callable_vtable.hpp:40
    #29 0x103deca5b in hpx::parcelset::policies::tcp::sender::handle_write(boost::system::error_code const&, unsigned long) basic_function.hpp:254

Thread T1 created by T0 here:
    #0 0x10ad0bc89 in wrap_pthread_create (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/lib/darwin/libclang_rt.asan_osx_dynamic.dylib+0x37c89)
    #1 0x10ac21741 in boost::thread::start_thread_noexcept() thread.cpp:250
    #2 0x105813053 in boost::thread::start_thread() thread.hpp:179
    #3 0x105fc01ce in boost::thread::thread<hpx::util::detail::bound<void (hpx::util::io_service_pool::* (hpx::util::io_service_pool*&&, unsigned long&))(unsigned long)> >(hpx::util::detail::bound<void (hpx::util::io_service_pool::* (hpx::util::io_service_pool*&&, unsigned long&))(unsigned long)>&&) thread.hpp:266
    #4 0x105fb6e7c in boost::thread::thread<hpx::util::detail::bound<void (hpx::util::io_service_pool::* (hpx::util::io_service_pool*&&, unsigned long&))(unsigned long)> >(hpx::util::detail::bound<void (hpx::util::io_service_pool::* (hpx::util::io_service_pool*&&, unsigned long&))(unsigned long)>&&) thread.hpp:265
    #5 0x105fb48d7 in hpx::util::io_service_pool::run(bool) io_service_pool.cpp:122
    #6 0x103c69f6f in hpx::parcelset::parcelport_impl<hpx::parcelset::policies::tcp::connection_handler>::run(bool) parcelport_impl.hpp:166
    #7 0x1048123c2 in hpx::agas::addressing_service::initialize(hpx::parcelset::parcelhandler&, unsigned long long, unsigned long long) addressing_service.cpp:163
    #8 0x105c71e38 in hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::runtime_impl(hpx::util::runtime_configuration&, hpx::runtime_mode, unsigned long, hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>::init_parameter const&, hpx::threads::policies::init_affinity_data const&) runtime_impl.cpp:171
    #9 0x105c756fa in hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::runtime_impl(hpx::util::runtime_configuration&, hpx::runtime_mode, unsigned long, hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo>::init_parameter const&, hpx::threads::policies::init_affinity_data const&) runtime_impl.cpp:158
    #10 0x103fb0239 in hpx::detail::run_priority_local(hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::util::command_line_handling&, bool) hpx_init.cpp:924
    #11 0x103fb78aa in hpx::detail::run_or_start(hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::options_description const&, int, char**, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&&, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::runtime_mode, bool) hpx_init.cpp:1106
    #12 0x103740096 in hpx::init(hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::options_description const&, int, char**, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::runtime_mode) hpx_init_impl.hpp:67
    #13 0x10373f2e8 in hpx::init(boost::program_options::options_description const&, int, char**, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::runtime_mode) hpx_init_impl.hpp:119
    #14 0x103738369 in hpx::init(boost::program_options::options_description const&, int, char**, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, hpx::runtime_mode) hpx_init_impl.hpp:175
    #15 0x103732a62 in main launched_process.cpp:49
    #16 0x7fff8862f5ac in start (/usr/lib/system/libdyld.dylib+0x35ac)
    #17 0x2  (<unknown module>)

SUMMARY: AddressSanitizer: double-free ??:0 wrap__ZdlPv
==37433==ABORTING
==37432==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x700000393000; bottom 0x0001177ec000; size: 0x6ffee8ba7000 (123140616908800)
False positive error reports may follow
For details see http://code.google.com/p/address-sanitizer/issues/detail?id=189
=================================================================
==37432==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x0001177ede18 at pc 0x0001136f0a24 bp 0x0001177ed860 sp 0x0001177ed018
READ of size 168 at 0x0001177ede18 thread T7
    #0 0x1136f0a23 in wrap_memmove (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/lib/darwin/libclang_rt.asan_osx_dynamic.dylib+0x39a23)

AddressSanitizer can not describe address in more detail (wild memory access suspected).
SUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 wrap_memmove
Shadow bytes around the buggy address:
  0x100022efdb70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100022efdb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100022efdb90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100022efdba0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100022efdbb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x100022efdbc0: 00 00 00[f2]f2 f2 f2 f2 00 00 00 f2 f2 f2 f2 f2
  0x100022efdbd0: 00 00 00 f2 f2 f2 f2 f2 00 00 00 00 f3 f3 f3 f3
  0x100022efdbe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100022efdbf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100022efdc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x100022efdc10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
Thread T7 created by T0 here:
    #0 0x1136eec89 in wrap_pthread_create (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/lib/darwin/libclang_rt.asan_osx_dynamic.dylib+0x37c89)
    #1 0x10c328741 in boost::thread::start_thread_noexcept() thread.cpp:250
    #2 0x10e70b053 in boost::thread::start_thread() thread.hpp:179
    #3 0x10e7bb7bd in boost::thread::thread<void (hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(unsigned long, hpx::threads::topology const&, boost::barrier&), hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*, unsigned long, boost::reference_wrapper<hpx::threads::topology const>, boost::reference_wrapper<boost::barrier> >(void (hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(unsigned long, hpx::threads::topology const&, boost::barrier&), hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*, unsigned long, boost::reference_wrapper<hpx::threads::topology const>, boost::reference_wrapper<boost::barrier>) thread.hpp:412
    #4 0x10e695289 in boost::thread::thread<void (hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(unsigned long, hpx::threads::topology const&, boost::barrier&), hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*, unsigned long, boost::reference_wrapper<hpx::threads::topology const>, boost::reference_wrapper<boost::barrier> >(void (hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::*)(unsigned long, hpx::threads::topology const&, boost::barrier&), hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >*, unsigned long, boost::reference_wrapper<hpx::threads::topology const>, boost::reference_wrapper<boost::barrier>) thread.hpp:411
    #5 0x10e69008c in hpx::threads::detail::thread_pool<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::run(std::__1::unique_lock<boost::mutex>&, unsigned long) thread_pool.cpp:394
    #6 0x10ea74bbd in hpx::threads::threadmanager_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::run(unsigned long) threadmanager.cpp:1100
    #7 0x10eb6ed94 in hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::start(hpx::util::function<int (), false> const&, bool) runtime_impl.cpp:321
    #8 0x10eb72f62 in hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler<boost::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::run(hpx::util::function<int (), false> const&) runtime_impl.cpp:566
    #9 0x10cea32d6 in hpx::detail::run(hpx::runtime&, hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::variables_map&, hpx::runtime_mode, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&) hpx_init.cpp:683
    #10 0x10cea39b1 in hpx::detail::run_or_start(bool, std::__1::unique_ptr<hpx::runtime, std::__1::default_delete<hpx::runtime> >, hpx::util::command_line_handling&, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&) hpx_init.cpp:713
    #11 0x10cea8836 in hpx::detail::run_priority_local(hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::util::command_line_handling&, bool) hpx_init.cpp:927
    #12 0x10ceaf8aa in hpx::detail::run_or_start(hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::options_description const&, int, char**, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&&, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::runtime_mode, bool) hpx_init.cpp:1106
    #13 0x10b7d8cb6 in hpx::init(hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::options_description const&, int, char**, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::runtime_mode) hpx_init_impl.hpp:67
    #14 0x10b6d72d8 in hpx::init(boost::program_options::options_description const&, int, char**, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, hpx::util::function<void (), false> const&, hpx::util::function<void (), false> const&, hpx::runtime_mode) hpx_init_impl.hpp:119
    #15 0x10b6cd2cb in main launch_process.cpp:141
    #16 0x7fff8862f5ac in start (/usr/lib/system/libdyld.dylib+0x35ac)
    #17 0x4  (<unknown module>)

==37432==ABORTING
Abort trap: 6

@biddisco
Copy link
Contributor Author

Note that in the above sanitizer report, there are two processes - both reporting errors. The launch and launched process binaries both have issues, so be warned that the logs above might be intermixed - but they look ok.

@biddisco biddisco mentioned this issue May 23, 2016
@biddisco biddisco added this to the 0.9.12 milestone May 23, 2016
@sithhell
Copy link
Member

Looking at buildbot, this issue has been fixed.

@hkaiser
Copy link
Member

hkaiser commented Jun 22, 2016

I thought #2177 was supposed to fix this issue? @biddisco ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants